<?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 Re: TWR-K60F 120M: Toolchain? Compiler Flags? ... in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/TWR-K60F-120M-Toolchain-Compiler-Flags/m-p/644754#M13762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie Zhang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure what the compiler and assambler flags are, but i found something in the internet:&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/15080i399F5AF930736592/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;I have that from&amp;nbsp;&lt;A href="https://www.mikrocontroller.net/articles/ARM_GCC"&gt;https://www.mikrocontroller.net/articles/ARM_GCC&lt;/A&gt;&amp;nbsp;But it's in german.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see i need the Information about -mcpu, -mfloat-abi, -mfpu and -mthumb (for Cortex M4).&lt;/P&gt;&lt;P&gt;Where can i look for that information in codewarrior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps the following always applies:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;-mcpu = cortex-m4&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;-mfpu = fpv4-sp-d16&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But what about -mfloat-abi? It can be soft, softfp or hard.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Armend&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Mar 2017 21:00:31 GMT</pubDate>
    <dc:creator>armendgecaj</dc:creator>
    <dc:date>2017-03-14T21:00:31Z</dc:date>
    <item>
      <title>TWR-K60F 120M: Toolchain? Compiler Flags? ...</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/TWR-K60F-120M-Toolchain-Compiler-Flags/m-p/644752#M13760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using the TWR-K60F 120M Board. The processor is an ARM Cortex M4. I am trying to use Simulink to work with my Board. To develop a target in Simulink for my board, i need some informations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Which toolchain can i use for my board (i think ARM GCC, is this right?).&lt;/P&gt;&lt;P&gt;2) I need the compiler and assambler flags, which will be used during the compilation and linking phase&lt;/P&gt;&lt;P&gt;3) I need a linker command file, which gives me information about the memory regions of the controller and which code will sit in which part of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have someone any idea how i can get that informations?&lt;/P&gt;&lt;P&gt;Until today i only used CodeWarrior. There i did not need to know about the toolchain, compiler and assambler flags and the linker command file. But for Simulink i need that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Armend&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 08:13:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/TWR-K60F-120M-Toolchain-Compiler-Flags/m-p/644752#M13760</guid>
      <dc:creator>armendgecaj</dc:creator>
      <dc:date>2017-03-13T08:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60F 120M: Toolchain? Compiler Flags? ...</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/TWR-K60F-120M-Toolchain-Compiler-Flags/m-p/644753#M13761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 You can choose either ARM GCC or Freescale ARM compiler. But I recommend you use ARM GCC. You can select it with project wizard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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/16700iF488988454D2DC33/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;&lt;/P&gt;&lt;P&gt;2 Could you please specify what is “the compiler and assambler flags”?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3&amp;nbsp; Once you create a new project with wizard, you will see *.ld(ARM GCC) or *.lcf (Freescacle ARM) file under the project folder. This is the linker command line file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 07:30:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/TWR-K60F-120M-Toolchain-Compiler-Flags/m-p/644753#M13761</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-03-14T07:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60F 120M: Toolchain? Compiler Flags? ...</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/TWR-K60F-120M-Toolchain-Compiler-Flags/m-p/644754#M13762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie Zhang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure what the compiler and assambler flags are, but i found something in the internet:&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/15080i399F5AF930736592/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;I have that from&amp;nbsp;&lt;A href="https://www.mikrocontroller.net/articles/ARM_GCC"&gt;https://www.mikrocontroller.net/articles/ARM_GCC&lt;/A&gt;&amp;nbsp;But it's in german.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see i need the Information about -mcpu, -mfloat-abi, -mfpu and -mthumb (for Cortex M4).&lt;/P&gt;&lt;P&gt;Where can i look for that information in codewarrior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps the following always applies:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;-mcpu = cortex-m4&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;-mfpu = fpv4-sp-d16&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But what about -mfloat-abi? It can be soft, softfp or hard.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Armend&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 21:00:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/TWR-K60F-120M-Toolchain-Compiler-Flags/m-p/644754#M13762</guid>
      <dc:creator>armendgecaj</dc:creator>
      <dc:date>2017-03-14T21:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60F 120M: Toolchain? Compiler Flags? ...</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/TWR-K60F-120M-Toolchain-Compiler-Flags/m-p/644755#M13763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amend.&lt;/P&gt;&lt;P&gt;if we create a new project with wizard, we can see &lt;SPAN&gt;-mfloat-abi&lt;/SPAN&gt; can be:&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/15328iEEADD68CA156274A/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;&lt;/P&gt;&lt;P&gt;each of above selection is for different library. for example, -mfloat-abi=hard is for this library:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15409i97E090139A9E4810/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can check the project target processor here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15461iC3FDB1177E3AE6DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 09:15:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/TWR-K60F-120M-Toolchain-Compiler-Flags/m-p/644755#M13763</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-03-15T09:15:45Z</dc:date>
    </item>
  </channel>
</rss>

