USB + FreeRTOS with KL25Z

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

USB + FreeRTOS with KL25Z

1,036 Views
zoromoth
Contributor II

I have been trying to implement a USB example with FreeRTOS with frdm-KL25Z development board. I downloaded the SDK and realized I can only import the USB example (without FreeRTOS) or only a FreeRTOS project. Trying to import the other folder into existing project leads to numerous errors. I have added all the right include files in the compiler settings and I am getting a redefinition error. Attached below is the project file along with the error image and compiler settings

Any help is much appreciated.

Regards,

Bharat

Labels (1)
0 Kudos
2 Replies

952 Views
zoromoth
Contributor II

Dear soledad,

Thanks for your prompt reply, I thought I would have to wait for many weeks for a reply!

Your suggestion was very useful. Especially adding the correct include files removed most of the errors. However, I got a redefinition error in port.c file with the new build. Could you kindly point out my mistake. Attached above is the project archive and the compiler settings with errors.

I am a complete noob in Mcuxpresso :-)

Regards,

Bharat

0 Kudos

952 Views
soledad
NXP Employee
NXP Employee

Hi,

Please check the following thread:

https://community.nxp.com/thread/443399 

I hope this helps, have a nice day!

Regards

Soledad