<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic KSDK 1.3.0 compile libraries for K02 as it were -mcpu=cortex-m0plus in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/KSDK-1-3-0-compile-libraries-for-K02-as-it-were-mcpu-cortex/m-p/411071#M1868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Freescale support,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I compiled a project for K02F12810 with arm gcc and KSDK 1.3.0. Linking ksdk_platform_lib gave strange warnings:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/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&lt;/P&gt;&lt;P&gt;/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)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Searching for a reason revealed that at least&lt;/P&gt;&lt;P&gt;lib/ksdk_platform_lib/armgcc/K02F12810/CMakeLists.txt&lt;/P&gt;&lt;P&gt;lib/ksdk_hal_lib/armgcc/K02F12810/CMakeLists.txt&lt;/P&gt;&lt;P&gt;lib/ksdk_startup_lib/armgcc/K02F12810/CMakeLists.txt&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;use gcc option -mcpu=cortex-m0plus which is obviously wrong for a K02F12810 with Cortex-M4 core.&lt;/P&gt;&lt;P&gt;KSDK 1.1.0 did not have this problem.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please route the report to KSDK team.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Nov 2015 09:43:52 GMT</pubDate>
    <dc:creator>tomasvanek</dc:creator>
    <dc:date>2015-11-14T09:43:52Z</dc:date>
    <item>
      <title>KSDK 1.3.0 compile libraries for K02 as it were -mcpu=cortex-m0plus</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/KSDK-1-3-0-compile-libraries-for-K02-as-it-were-mcpu-cortex/m-p/411071#M1868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Freescale support,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I compiled a project for K02F12810 with arm gcc and KSDK 1.3.0. Linking ksdk_platform_lib gave strange warnings:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/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&lt;/P&gt;&lt;P&gt;/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)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Searching for a reason revealed that at least&lt;/P&gt;&lt;P&gt;lib/ksdk_platform_lib/armgcc/K02F12810/CMakeLists.txt&lt;/P&gt;&lt;P&gt;lib/ksdk_hal_lib/armgcc/K02F12810/CMakeLists.txt&lt;/P&gt;&lt;P&gt;lib/ksdk_startup_lib/armgcc/K02F12810/CMakeLists.txt&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;use gcc option -mcpu=cortex-m0plus which is obviously wrong for a K02F12810 with Cortex-M4 core.&lt;/P&gt;&lt;P&gt;KSDK 1.1.0 did not have this problem.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please route the report to KSDK team.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2015 09:43:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/KSDK-1-3-0-compile-libraries-for-K02-as-it-were-mcpu-cortex/m-p/411071#M1868</guid>
      <dc:creator>tomasvanek</dc:creator>
      <dc:date>2015-11-14T09:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: KSDK 1.3.0 compile libraries for K02 as it were -mcpu=cortex-m0plus</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/KSDK-1-3-0-compile-libraries-for-K02-as-it-were-mcpu-cortex/m-p/411072#M1869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you are absolutely right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your valuable contribution.&lt;/P&gt;&lt;P&gt;We are very appreciated for your feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I passed it to SW Development Team.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will keep you informed.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 12:29:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/KSDK-1-3-0-compile-libraries-for-K02-as-it-were-mcpu-cortex/m-p/411072#M1869</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-11-25T12:29:25Z</dc:date>
    </item>
  </channel>
</rss>

