Including source files in the KSDK project

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

Including source files in the KSDK project

722 Views
cleciojung
Contributor II

Hi everyone!

 

I came here with a doubt that I think you can help me. I am using these:

FRDM-K64F;

KDS 3.2;

KSDK 1.3;

MQX provided by KSDK;

At begin I created a project using KSDK-Project-Generator, and now I need to include in the project a shell in the debugging UART, a USB HOST MSD and TCP/IP protocol in the Ethernet port. My doubt is how include those files in the project?

 

Thanks for the help!

Labels (1)
0 Kudos
2 Replies

564 Views
ivadorazinova
NXP Employee
NXP Employee

Hi Clecio Jung,

I apologize for the late response.

I recommend you these steps:

For work with USB HOST MSD:

The easiest way, how to start with USB HOST MSD is clone existing example with Project Generator Tool 2.2 KSDK Project Generator Tool

The project is created with all RTOS configurations.

frdm-k64f.png

Or you can do it by yourself according to the guide USB Host Project with KSDK 1.3 and Processor Expert

For adding RTCS to your project:

is needed to have built RTCS library (lib_rtcs.a) and link it to your existing project.

Please, go to Project -> Properties -> C/C++ Build -> Settings -> Cross ARM C++ Linker -> Libraries

and set  "${KSDK_PATH}/middleware/tcpip/rtcs/lib/frdmk64f.kds/debug/rtcs" in Library search path (-L)

and _rtcs in Libraries (-l)

linker.png

And set the same path "${KSDK_PATH}/middleware/tcpip/rtcs/lib/frdmk64f.kds/debug/rtcs" also for Cross ARM C Compiler -> Includes

linker.png

I hope this helps you.

Best Regards,

Iva

0 Kudos

564 Views
cleciojung
Contributor II

Thank you,

you help me a lot!

Regards

0 Kudos