<?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: Compilation problem after Green Hill project is migrated to S32 in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Compilation-problem-after-Green-Hill-project-is-migrated-to-S32/m-p/730624#M2220</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;I've also created a new empty project for S32, added my source files, and compiled it, but I got an error when I ran Green Hills Probe emulation. After I click "Run" for a few seconds, an error message box appears.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30252i92BDFDE1662B39E1/image-size/large?v=v2&amp;amp;px=999" title="捕获.PNG" alt="捕获.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Wenhui Wang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Dec 2017 01:19:58 GMT</pubDate>
    <dc:creator>文辉王</dc:creator>
    <dc:date>2017-12-20T01:19:58Z</dc:date>
    <item>
      <title>Compilation problem after Green Hill project is migrated to S32</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Compilation-problem-after-Green-Hill-project-is-migrated-to-S32/m-p/730622#M2218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;After I transplanted the Green Hill project to S32, I encountered some problems with the compilation. Please help us to answer this question.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30196i18F7D7024F814B8F/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30241i250346B1352130F0/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Wenhui Wang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 09:17:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Compilation-problem-after-Green-Hill-project-is-migrated-to-S32/m-p/730622#M2218</guid>
      <dc:creator>文辉王</dc:creator>
      <dc:date>2017-12-19T09:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation problem after Green Hill project is migrated to S32</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Compilation-problem-after-Green-Hill-project-is-migrated-to-S32/m-p/730623#M2219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of nop instruction, use e_nop. S32DS does not support register alias. So, you must use mtspr and mfspr with appropriate spr register number instead of DEAR, IVPR and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another issues I am not able to describe without the project. So, please share the project if it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 13:40:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Compilation-problem-after-Green-Hill-project-is-migrated-to-S32/m-p/730623#M2219</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-12-19T13:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation problem after Green Hill project is migrated to S32</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Compilation-problem-after-Green-Hill-project-is-migrated-to-S32/m-p/730624#M2220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;I've also created a new empty project for S32, added my source files, and compiled it, but I got an error when I ran Green Hills Probe emulation. After I click "Run" for a few seconds, an error message box appears.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30252i92BDFDE1662B39E1/image-size/large?v=v2&amp;amp;px=999" title="捕获.PNG" alt="捕获.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Wenhui Wang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 01:19:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Compilation-problem-after-Green-Hill-project-is-migrated-to-S32/m-p/730624#M2220</guid>
      <dc:creator>文辉王</dc:creator>
      <dc:date>2017-12-20T01:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation problem after Green Hill project is migrated to S32</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Compilation-problem-after-Green-Hill-project-is-migrated-to-S32/m-p/730625#M2221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run button is not implemented, so, please use Debug button instead of Run button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But from my point of view, Green Hiils Probe debugger is not directly supported by S32 Design Studio. In release notes, there are following debuggers listed &lt;EM&gt;&lt;STRONG&gt;P&amp;amp;E Multilink/Cyclone/OpenSDA&amp;nbsp; (with P&amp;amp;E&lt;/STRONG&gt; &lt;STRONG&gt;GDB Server),&lt;/STRONG&gt;&lt;/EM&gt; &lt;EM&gt;&lt;STRONG&gt;Lauterbach, iSystem, and PLS debuggers support by new project wizard. &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 08:09:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Compilation-problem-after-Green-Hill-project-is-migrated-to-S32/m-p/730625#M2221</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-12-20T08:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation problem after Green Hill project is migrated to S32</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Compilation-problem-after-Green-Hill-project-is-migrated-to-S32/m-p/730626#M2222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;Thank you for your help, I use the Green Hills Probe simulation is wrong. I am now using PE simulation is possible, but I encountered a problem, I hope you can help me to answer it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31089i7CB15136E780D3AD/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31470i84795BC896398089/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31508iABABEF0FD27C5788/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31279i79B90F5D965AA7DE/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards，&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Vern&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 03:05:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Compilation-problem-after-Green-Hill-project-is-migrated-to-S32/m-p/730626#M2222</guid>
      <dc:creator>文辉王</dc:creator>
      <dc:date>2017-12-21T03:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation problem after Green Hill project is migrated to S32</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Compilation-problem-after-Green-Hill-project-is-migrated-to-S32/m-p/730627#M2223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vern,&lt;/P&gt;&lt;P&gt;There is an issue with preprocessing the code.&lt;/P&gt;&lt;P&gt;I don't think token concatenation is what is is expected here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you try to replace you macro(s):&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;#define WR_BIT(reg,bit,val) do {ptr-&amp;gt;##reg##.##bit##=(val); _NOP();}while(0)
‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;with&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;#define WR_BIT(reg,bit,val) do {ptr-&amp;gt;reg.bit=(val); _NOP();}while(0)‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE:&lt;/P&gt;&lt;P&gt;I'd recommend you to use "Preprocess Selected File(s)" feature for debugging preprocessor related issues:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;IMG alt="pastedImage_1.png" src="https://community.nxp.com/t5/image/serverpage/image-id/4441i370F84BD37E3504D/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;IMG alt="pastedImage_1.png" src="https://community.nxp.com/t5/image/serverpage/image-id/4467iA92428BA6B45B7F3/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:03:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Compilation-problem-after-Green-Hill-project-is-migrated-to-S32/m-p/730627#M2223</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2020-11-02T14:03:22Z</dc:date>
    </item>
  </channel>
</rss>

