<?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 How do I tell my project which processor is used? in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-I-tell-my-project-which-processor-is-used/m-p/450800#M4504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using KDS3.0/KSDK1.2.0 with Processor Expert, the processor we use is MK66FX1M0VMD18. I added the correct Processor Expert CPU component for my K66F processor and so far it looks like the project settings' include paths point to the correct KSDK directories for the K66F processor. However, when I include the file "arm_math.h", I get a warning "Compiler generates FPU instructions for a device without FPU [...]".&lt;BR /&gt;I can get rid of the warning by including "MK66F18.h" before "arm_math.h", but in my opinion, the project should already know which processor I am using. Is there an additional setting in the project that I missed, or do I really have to include "MK66F18.h" in addition to defining the processor type in the Processor Expert component?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2015 13:11:48 GMT</pubDate>
    <dc:creator>matthias</dc:creator>
    <dc:date>2015-07-02T13:11:48Z</dc:date>
    <item>
      <title>How do I tell my project which processor is used?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-I-tell-my-project-which-processor-is-used/m-p/450800#M4504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using KDS3.0/KSDK1.2.0 with Processor Expert, the processor we use is MK66FX1M0VMD18. I added the correct Processor Expert CPU component for my K66F processor and so far it looks like the project settings' include paths point to the correct KSDK directories for the K66F processor. However, when I include the file "arm_math.h", I get a warning "Compiler generates FPU instructions for a device without FPU [...]".&lt;BR /&gt;I can get rid of the warning by including "MK66F18.h" before "arm_math.h", but in my opinion, the project should already know which processor I am using. Is there an additional setting in the project that I missed, or do I really have to include "MK66F18.h" in addition to defining the processor type in the Processor Expert component?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 13:11:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-I-tell-my-project-which-processor-is-used/m-p/450800#M4504</guid>
      <dc:creator>matthias</dc:creator>
      <dc:date>2015-07-02T13:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I tell my project which processor is used?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-I-tell-my-project-which-processor-is-used/m-p/450801#M4505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthias,&lt;/P&gt;&lt;P&gt;do you have proper floating point options set in your project settings?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61172iA1E64668793AA899/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the console log shows that they are used like this:&lt;/P&gt;&lt;P&gt;arm-none-eabi-g++ &lt;STRONG&gt;-mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16&lt;/STRONG&gt; -O0 -fmessage-length=0 -fsigned-char&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 13:30:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-I-tell-my-project-which-processor-is-used/m-p/450801#M4505</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-07-02T13:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I tell my project which processor is used?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-I-tell-my-project-which-processor-is-used/m-p/450802#M4506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your quick reply. Yes, the settings you mentioned are the same in my project:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61175i7506E150E3A08201/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem is not that the compiler does not generate hard floating point instructions (I guess it does), but as the warning says, it doesn't know that my processor supports them unless I include "MK66F18.h" which contains the needed "#define __FPU_PRESENT 1".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 13:48:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-I-tell-my-project-which-processor-is-used/m-p/450802#M4506</guid>
      <dc:creator>matthias</dc:creator>
      <dc:date>2015-07-02T13:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I tell my project which processor is used?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-I-tell-my-project-which-processor-is-used/m-p/450803#M4507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthias,&lt;/P&gt;&lt;P&gt;So it seems that the library assumes __FPU_PRESENT defined somewhere.&lt;/P&gt;&lt;P&gt;Then I recommend you add this define to the compiler preprocessor settings: that way it is always defined:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61178i380F21A15A47612C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 15:15:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-I-tell-my-project-which-processor-is-used/m-p/450803#M4507</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-07-02T15:15:17Z</dc:date>
    </item>
  </channel>
</rss>

