Hello Freescale support,
I compiled a project for K02F12810 with arm gcc and KSDK 1.3.0. Linking ksdk_platform_lib gave strange warnings:
/usr/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: error: debug/test.elf uses VFP register arguments, ~/KSDK/lib/ksdk_platform_lib/armgcc/K02F12810/debug/libksdk_platform.a(fsl_clock_manager.c.obj) does not
/usr/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file ~/KSDK/lib/ksdk_platform_lib/armgcc/K02F12810/debug/libksdk_platform.a(fsl_clock_manager.c.obj)
Searching for a reason revealed that at least
use gcc option -mcpu=cortex-m0plus which is obviously wrong for a K02F12810 with Cortex-M4 core.
KSDK 1.1.0 did not have this problem.
Please route the report to KSDK team.
Yes, you are absolutely right.
thank you for your valuable contribution.
We are very appreciated for your feedback.
I passed it to SW Development Team.
I will keep you informed.