Basic MQX with SDK example project

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

Basic MQX with SDK example project

Jump to solution
492 Views
davidtietz
Contributor III

Hello,

 

I have had some trouble just getting a basic example project to compile with KDS/MQX/SDK.

 

Here is what I did in a workspace:

 

1. Imported project of projects: C:\Freescale\KSDK_1.2.0\rtos\mqx\build\kds\workspace_twrk64f120m\build_libs.wsd

2. Build all - works successfully.

3. Imported: C:\Freescale\KSDK_1.2.0\rtos\mqx\mqx\examples\hello\build\kds\hello_twrk64f120m

4. Build the project and I get missing library errors. Specifically cannot find -lksdk_platform_mqx.

 

I know this has to be something simple since there really is not much too it.

 

Thanks,

 

David

Labels (1)
Tags (3)
0 Kudos
1 Solution
328 Views
davidtietz
Contributor III

I think I found the answer. Here is what I did:

1. Imported project located here and compiled: C:\Freescale\KSDK_1.2.0\lib\ksdk_mqx_lib\kds\K60D10

2. Imported project located here and compiled: C:\Freescale\KSDK_1.2.0\lib\ksdk_platform_lib\kds\K60D10

3. Recompiled the example hello project and everything seems to be fine now.

View solution in original post

0 Kudos
1 Reply
329 Views
davidtietz
Contributor III

I think I found the answer. Here is what I did:

1. Imported project located here and compiled: C:\Freescale\KSDK_1.2.0\lib\ksdk_mqx_lib\kds\K60D10

2. Imported project located here and compiled: C:\Freescale\KSDK_1.2.0\lib\ksdk_platform_lib\kds\K60D10

3. Recompiled the example hello project and everything seems to be fine now.

0 Kudos