Does anyone succefule KL25Z with USB HID example project

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Does anyone succefule KL25Z with USB HID example project

1,493件の閲覧回数
changfuzhao
Contributor III

Does anyone succefule KL25Z with USB HID example project

0 件の賞賛
9 返答(返信)

1,016件の閲覧回数
Paul_Tian
NXP Employee
NXP Employee

Hi, Changfu

Which KL25Z board you use? Freedom board? Which example project you use? USB stack V4.0.3? If you use USB stack V4.0.3 and freedom board, please change attached file to path ...\Freescale\Freescale USB Stack v4.0. \Source\Device\app\common.

Hope my reply can help you.

Best Regards

Paul

1,016件の閲覧回数
changfuzhao
Contributor III

I got error like as attach picture after I change bool to Boolean

0 件の賞賛

1,016件の閲覧回数
changfuzhao
Contributor III

For KL25Z128 HID example project, do I need setup somewhere, and compile it, or I don’t change anything, just import, and compile, and run?

Can you try to import it one time.

Thanks

0 件の賞賛

1,016件の閲覧回数
changfuzhao
Contributor III

Can I change it to unit32 all of them?

0 件の賞賛

1,016件の閲覧回数
changfuzhao
Contributor III

I copy your attach file to “...\Freescale\Freescale USB Stack v4.0.3 \Source\Device\app\common”, and compile again, I got error:

C:/CW_10_4_workplace/USB_HID_MOUSE_DEVICE_MQX_Lite_MKL25Z128_PEx/Generated_Code/types.h:61:25: error: conflicting types for 'boolean'

Same as “bool” and “boolean” two define

And “boolean” has two define:

Unit8

Uint32

0 件の賞賛

1,016件の閲覧回数
changfuzhao
Contributor III

And, what mean is “change attached file to path ...\Freescale\Freescale USB Stack v4.0. \Source\Device\app\common”?

How to change?

Thanks a lot

0 件の賞賛

1,016件の閲覧回数
changfuzhao
Contributor III

I try to use “USB_CDC_DEVICE_MQX_Lite_MKL25Z128_PEx”

I also got error in attach file

0 件の賞賛

1,016件の閲覧回数
changfuzhao
Contributor III

KL25Z128

0 件の賞賛

1,016件の閲覧回数
changfuzhao
Contributor III

Hi, Zhe Tian,

First appreciate your respond.

I am using KL25Z freedom board, CW10.4, and USB stack V4.03 and V4.11, and more I wand use MQX_Lite

My question is:

Can I use USB Stack with MQX_Lite?

I import example project “USB_HID_MOUSE_DEVICE_MKL25Z128_PEx”, after I try to compile it, I got many error,

I am a new for USB, so I don’t know how can I to do if the example was wrong

I am working on a new production with KL25Z, so please help me solve this problem.

Our project is a HID device connect to cell phone, I only didn’t complete USB part.

Thank you very much

Regards,

Henry ( Changfu ) Zhao

0 件の賞賛