PN7150 Demo Code for KINETIS (SW3735.ZIP)

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

PN7150 Demo Code for KINETIS (SW3735.ZIP)

5,904 Views
peter_furtner
NXP Employee
NXP Employee

Hi all,

I downloaded the Demo Code SW3735 (dated Aug.30th.2016) and tried to run this on a KINETIS FRDM-K64F board.

I did follow the instructions as of AN11845 but the KINETIS 2.0 Compiler did not compile the sources wit 1bout 135 Error Messages. Screenshot attached)

How can I get this working.

Regards,

Peter

0 Kudos
Reply
7 Replies

5,580 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Peter Furtner,

Did you set the "PROJECT_KSDK_PATH" variable using slash ( / ) and not backslash ( \ ) as instructed in the user guide?

See below picture, in my case my path is [ C:/nxp/KSDK_2.0_FRDM-K64F ].

pastedImage_3.png

I hope this helps.

Let me know if you still have issues with the project.

Regards!

Jorge Gonzalez

0 Kudos
Reply

5,580 Views
peter_furtner
NXP Employee
NXP Employee

Hi Jorge,

Yes I did change the variable. Please have a look.

Please note: The folder “./KINETIS Demo” includes a space.

Regards,

Peter

0 Kudos
Reply

5,580 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Peter,

Actually you found the issue. I think the builder is not happy with spaces in the include paths. To solve this make sure that all the include paths start and finish with double quotes ( " ). See below:

pastedImage_1.png

This should solve the compile errors.

Regards!

Jorge Gonzalez

0 Kudos
Reply

5,580 Views
peter_furtner
NXP Employee
NXP Employee

Hallo Jorge,

Thanks for your support. This now gets me to this problem. The other error messages are gone.

What do I need to change??

Regards,

Peter

0 Kudos
Reply

5,580 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hi Peter,

That is strange, I did not get such error.

- Confirm that the linker file (MK64FN1M0xxx12_flash.ld) is actually present in that path.

- Give a check to the linker file path in the project settings:

pastedImage_1.png

- Also, looking at your console the error makes me think that the space in "KINETIS Demo" is still causing trouble. I would highly recommend you to place KSDK in the C:\nxp.

Regards!

Jorge Gonzalez

0 Kudos
Reply

5,580 Views
peter_furtner
NXP Employee
NXP Employee

Hi Jorge,

Many thanks for your support, the issue is now solved.

Under Cross-ARM C Linker –> General I had to Remove the “ at the begin and end of line and change the Path separator from ‘\’ to ‘/’. See below.

Regards,

Peter

0 Kudos
Reply

5,580 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Good to know Peter!

And thank you for sharing the solution :smileyhappy:.

Regards!

Jorge Gonzalez

0 Kudos
Reply