<?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 MK64F FPU support in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/MK64F-FPU-support/m-p/666180#M408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using MCUXpresso for a new project based on the MK64FX512xxx12 (not the FRDM board), and I'd like to use&amp;nbsp;the hardware FPv4-SP unit on this part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When&amp;nbsp;creating a project, the &lt;STRONG&gt;SystemInit&lt;/STRONG&gt; function contains code to unlock access to the FPU (via the CPACR), but the necessary definition of __VFP_FP__&amp;nbsp;is not present and the code is not executed. Am I missing a setting, or do I need to define this myself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project settings all have 'Architecture=Cortex-M4' and 'Floating point=FPv4SP (Hard ABI)' on the 'MCU C Compiler/Architecture', 'MCU Assembler/Architecture' and 'MCU Linker/Architecture' pages, and&amp;nbsp;__FPU_PRESENT is correctly defined in 'MK64F12.h'. I'm happy to add the definition to the project, I just want to be sure I haven't missed something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 May 2017 03:19:29 GMT</pubDate>
    <dc:creator>simonhaines</dc:creator>
    <dc:date>2017-05-29T03:19:29Z</dc:date>
    <item>
      <title>MK64F FPU support</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MK64F-FPU-support/m-p/666180#M408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using MCUXpresso for a new project based on the MK64FX512xxx12 (not the FRDM board), and I'd like to use&amp;nbsp;the hardware FPv4-SP unit on this part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When&amp;nbsp;creating a project, the &lt;STRONG&gt;SystemInit&lt;/STRONG&gt; function contains code to unlock access to the FPU (via the CPACR), but the necessary definition of __VFP_FP__&amp;nbsp;is not present and the code is not executed. Am I missing a setting, or do I need to define this myself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project settings all have 'Architecture=Cortex-M4' and 'Floating point=FPv4SP (Hard ABI)' on the 'MCU C Compiler/Architecture', 'MCU Assembler/Architecture' and 'MCU Linker/Architecture' pages, and&amp;nbsp;__FPU_PRESENT is correctly defined in 'MK64F12.h'. I'm happy to add the definition to the project, I just want to be sure I haven't missed something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2017 03:19:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MK64F-FPU-support/m-p/666180#M408</guid>
      <dc:creator>simonhaines</dc:creator>
      <dc:date>2017-05-29T03:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: MK64F FPU support</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MK64F-FPU-support/m-p/666181#M409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK this definition is output by the compiler, the IDE has no knowledge of it. To see all compiler definitions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -E -dm - &amp;lt; /dev/null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 23:44:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MK64F-FPU-support/m-p/666181#M409</guid>
      <dc:creator>simonhaines</dc:creator>
      <dc:date>2017-05-30T23:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: MK64F FPU support</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MK64F-FPU-support/m-p/666182#M410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you determining that the code is not executed - by looking at the file in the Editor view, or by debugging and single stepping through the code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note in particular that the Eclipse code indexer sometimes does not have visibility&amp;nbsp;automatically generated compiler symbols like the VFP one into account, which can make it look in the Editor view that a #ifdef section of code is being conditionally compiled out, when in fact it will be compiled in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 07:51:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MK64F-FPU-support/m-p/666182#M410</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2017-05-31T07:51:31Z</dc:date>
    </item>
  </channel>
</rss>

