<?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>Kinetis Design Studio中的主题 Re: migrate kds2 to kds3 got compiler error</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/migrate-kds2-to-kds3-got-compiler-error/m-p/422468#M3429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did follow the steps in the link&lt;/P&gt;&lt;P&gt;the compiler error can be eliminated by adding the -mcpu flag &lt;/P&gt;&lt;P&gt;but the issue that the KDS upgrade assistant can't detect my project is still not fixed.&lt;/P&gt;&lt;P&gt;Have you tried the project i sent to you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jul 2015 00:22:52 GMT</pubDate>
    <dc:creator>danielzhang_11</dc:creator>
    <dc:date>2015-07-01T00:22:52Z</dc:date>
    <item>
      <title>migrate kds2 to kds3 got compiler error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/migrate-kds2-to-kds3-got-compiler-error/m-p/422462#M3423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I have a project build on cortex-m0plus, currently using kds2.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;after i had opened it in kds3.0, I change the link flag from -nanolibc to &lt;SPAN style="color: #51626f;"&gt;-specs=nano.specs -specs=nosys.specs&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, sans-serif;"&gt;there is a compiler error saying :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, sans-serif;"&gt;selected processor does not support Thumb mode 'mrs R0, MSP'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="41187_41187.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120414iB22B315031281388/image-size/large?v=v2&amp;amp;px=999" role="button" title="41187_41187.png" alt="41187_41187.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55681i3217FE0D3463065F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, sans-serif;"&gt;I checked the build settings:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="41186_41186.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120415i13FA0FD6570D6BA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="41186_41186.png" alt="41186_41186.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55682iBB766C6532C8A438/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, sans-serif;"&gt;I found that the compiler option is missing -mcpu= cortex-m0plus,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, sans-serif;"&gt;if I add &lt;SPAN style="color: #51626f; font-family: arial, helvetica, sans-serif;"&gt;-mcpu= cortex-m0plus in the Other target flags, then it builds without the error, So why this option is not included in the compiler option list automatically? because I already select the ARM family to cortex-m0plus like in the above image.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, sans-serif;"&gt;I checked this project in KDS2.0, that also does not include this option, but in kds2.0, it is default to build for &lt;SPAN style="color: #51626f; font-family: arial, helvetica, sans-serif;"&gt;cortex-m0plus, so there is no compiler error.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 06:24:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/migrate-kds2-to-kds3-got-compiler-error/m-p/422462#M3423</guid>
      <dc:creator>danielzhang_11</dc:creator>
      <dc:date>2015-06-23T06:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: migrate kds2 to kds3 got compiler error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/migrate-kds2-to-kds3-got-compiler-error/m-p/422463#M3424</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;can you please upload your KDS2.0 project here? I will test it on my side.&lt;/P&gt;&lt;P&gt;thanks!&lt;BR /&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&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>Fri, 26 Jun 2015 03:31:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/migrate-kds2-to-kds3-got-compiler-error/m-p/422463#M3424</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-06-26T03:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: migrate kds2 to kds3 got compiler error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/migrate-kds2-to-kds3-got-compiler-error/m-p/422464#M3425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you give me your email address?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 03:41:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/migrate-kds2-to-kds3-got-compiler-error/m-p/422464#M3425</guid>
      <dc:creator>danielzhang_11</dc:creator>
      <dc:date>2015-06-26T03:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: migrate kds2 to kds3 got compiler error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/migrate-kds2-to-kds3-got-compiler-error/m-p/422465#M3426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just sent you email. you can send me email.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 03:58:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/migrate-kds2-to-kds3-got-compiler-error/m-p/422465#M3426</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-06-26T03:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: migrate kds2 to kds3 got compiler error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/migrate-kds2-to-kds3-got-compiler-error/m-p/422466#M3427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just saw Erich posted a very useful document:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-103698"&gt;Kinetis Design Studio: Migrating KDS V2.0.0 Projects to GNU Tools for ARM Embedded (Launchpad, KDS V3.0.0)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this may help you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&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>Fri, 26 Jun 2015 10:38:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/migrate-kds2-to-kds3-got-compiler-error/m-p/422466#M3427</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-06-26T10:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: migrate kds2 to kds3 got compiler error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/migrate-kds2-to-kds3-got-compiler-error/m-p/422467#M3428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;It looks like some projects somehow have a problem (still puzzled about that). And yes, I confirm that in these cases you have to add that to the compiler settings. The root cause seems to me that the launchpad tools are using ARM (not thumb) by default, and despite you have selected Cortex-M0+ in the settings, that option somehow is not passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added a section &lt;/P&gt;&lt;H3&gt;Wrong or missing Thumb mode&lt;/H3&gt;&lt;P&gt;to &lt;A href="https://community.nxp.com/docs/DOC-103698"&gt;Kinetis Design Studio: Migrating KDS V2.0.0 Projects to GNU Tools for ARM Embedded (Launchpad, KDS V3.0.0)&lt;/A&gt; to have this documented, so thanks for reporting this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 10:42:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/migrate-kds2-to-kds3-got-compiler-error/m-p/422467#M3428</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-06-26T10:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: migrate kds2 to kds3 got compiler error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/migrate-kds2-to-kds3-got-compiler-error/m-p/422468#M3429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did follow the steps in the link&lt;/P&gt;&lt;P&gt;the compiler error can be eliminated by adding the -mcpu flag &lt;/P&gt;&lt;P&gt;but the issue that the KDS upgrade assistant can't detect my project is still not fixed.&lt;/P&gt;&lt;P&gt;Have you tried the project i sent to you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 00:22:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/migrate-kds2-to-kds3-got-compiler-error/m-p/422468#M3429</guid>
      <dc:creator>danielzhang_11</dc:creator>
      <dc:date>2015-07-01T00:22:52Z</dc:date>
    </item>
  </channel>
</rss>

