Does anyone succefule KL25Z with USB HID example project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does anyone succefule KL25Z with USB HID example project

1,151 Views
changfuzhao
Contributor III

Does anyone succefule KL25Z with USB HID example project

0 Kudos
9 Replies

674 Views
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

674 Views
changfuzhao
Contributor III

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

0 Kudos

674 Views
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 Kudos

674 Views
changfuzhao
Contributor III

Can I change it to unit32 all of them?

0 Kudos

674 Views
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 Kudos

674 Views
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 Kudos

674 Views
changfuzhao
Contributor III

I try to use “USB_CDC_DEVICE_MQX_Lite_MKL25Z128_PEx”

I also got error in attach file

0 Kudos

674 Views
changfuzhao
Contributor III

KL25Z128

0 Kudos

674 Views
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 Kudos