<?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>CodeWarrior Development ToolsのトピックRe: How to build a CodeWarrior project using codes  generated by toolbox</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-build-a-CodeWarrior-project-using-codes-160-generated-by/m-p/689980#M6151</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;when you look at the linker file, there are some symbols defined by default:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_stack_addr = ADDR(stack)+SIZEOF(stack);&lt;BR /&gt;_stack_end&amp;nbsp; = ADDR(stack);&lt;BR /&gt;_heap_addr&amp;nbsp; = ADDR(heap);&lt;BR /&gt;_heap_end&amp;nbsp;&amp;nbsp; = ADDR(heap)+SIZEOF(heap);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for example, if you use symbol called __SP_INIT in your project, you must define it in linker. It should look like:&lt;/P&gt;&lt;P&gt;__SP_INIT = _stack_addr;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it is up to you to create all necessary symbols and assign correct addresses to them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information about linker and all it's features and settings, please read the document in post attachment.&lt;/P&gt;&lt;P&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>Thu, 22 Jun 2017 13:27:50 GMT</pubDate>
    <dc:creator>martin_kovar</dc:creator>
    <dc:date>2017-06-22T13:27:50Z</dc:date>
    <item>
      <title>How to build a CodeWarrior project using codes  generated by toolbox</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-build-a-CodeWarrior-project-using-codes-160-generated-by/m-p/689976#M6147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to &amp;nbsp;build a MPC5643L CodeWarrior project using codes&amp;nbsp; generated by toolbox,&amp;nbsp;&amp;nbsp; but there're some errors I never met .&lt;SPAN&gt;Can&amp;nbsp;anybody give me some suggestion to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;configured the CodeWarrior project?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Hj&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337850"&gt;can_simple_block_rappid_rtw.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Jun 2017 23:25:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-build-a-CodeWarrior-project-using-codes-160-generated-by/m-p/689976#M6147</guid>
      <dc:creator>hjhjhj</dc:creator>
      <dc:date>2017-06-18T23:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a CodeWarrior project using codes  generated by toolbox</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-build-a-CodeWarrior-project-using-codes-160-generated-by/m-p/689977#M6148</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;I would like to ask you to NOT create duplicated threads at NXP community, because of our resources.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About your issue, there is a problem with mixing code generated by Rappid and code generated by CodeWarrior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first, if you use conditional translation in assembly file, you must create specific file for symbols. Please see figures below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created defines.inc file and I added this file to your project. In this file I created symbol VLE_IS_ON 1 which you use in crt0.s&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/25275iC5C8D56B59FE43C6/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;Second step is to tell to EPPC Assembler there is defines.inc file. Click project settings, select EPPC assembler, check Generate Listing File and choose the file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25322i573DC4829F45C4EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this steps are done, there are another compile (linker) errors, because in crt0.s file you use linker symbols which does not exist in linker file. You have two possible solutions. First one is to define this symbols in linker file, second one is not use symbols only symbols defined in linker file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, it is not good to mix these two project together, because there another dependencies like exception and interrupts settings and some other and this could cause some other issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any other questions, please feel free to write me back.&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, 20 Jun 2017 07:52:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-build-a-CodeWarrior-project-using-codes-160-generated-by/m-p/689977#M6148</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-06-20T07:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a CodeWarrior project using codes  generated by toolbox</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-build-a-CodeWarrior-project-using-codes-160-generated-by/m-p/689978#M6149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;Martin,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;First of all,I'm sorry for&amp;nbsp;&lt;SPAN&gt; creating duplicated threads at NXP community because I was &amp;nbsp;hurried to&amp;nbsp;ask for help .For some reasons,we try to add all the codes generated by toolbox to a CodeWarrior project ,hoping that it's&amp;nbsp;possible for us to write&amp;nbsp; codes&amp;nbsp;&amp;nbsp;in both simulink model and&amp;nbsp;&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;CodeWarrior project.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; Besides,I want to&amp;nbsp;use linker symbols&amp;nbsp;in crt0.s file to eliminate the&amp;nbsp;compile (linker) errors .Can you help me&amp;nbsp; to define these symbols in linker file?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="170620.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23555i41F1AF4A2BF96993/image-size/large?v=v2&amp;amp;px=999" role="button" title="170620.PNG" alt="170620.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-size: 15px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 15px;"&gt;Thank you !&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-size: 15px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 15px;"&gt;Hj&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class="" data-click="{&amp;quot;p1&amp;quot;:&amp;quot;1&amp;quot;,&amp;quot;rsv_bdr&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;fm&amp;quot;:&amp;quot;alop&amp;quot;,&amp;quot;rsv_stl&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;p5&amp;quot;:1}" data-op="{'y':'7FEFFEF9'}"&gt;&lt;DIV class=""&gt;&lt;DIV class="" lang="EN-US"&gt;&lt;DIV class=""&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 13:34:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-build-a-CodeWarrior-project-using-codes-160-generated-by/m-p/689978#M6149</guid>
      <dc:creator>hjhjhj</dc:creator>
      <dc:date>2017-06-20T13:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a CodeWarrior project using codes  generated by toolbox</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-build-a-CodeWarrior-project-using-codes-160-generated-by/m-p/689979#M6150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; border: 0px currentColor; text-align: left; color: #51626f; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; vertical-align: baseline; white-space: normal; widows: 1; background-color: #ffffff; -webkit-text-stroke-width: 0px;"&gt;Martin,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; padding: 0px; border: 0px currentColor; text-align: left; color: #51626f; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; vertical-align: baseline; white-space: normal; widows: 1; background-color: #ffffff; -webkit-text-stroke-width: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I try to &lt;SPAN&gt;define&amp;nbsp;the &amp;nbsp;&lt;SPAN style="color: #51626f; font-size: medium;"&gt;&amp;nbsp;crt0.s file&amp;nbsp; &lt;/SPAN&gt;symbols&amp;nbsp; in&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;linker file&lt;/SPAN&gt;&amp;nbsp; once more ,but don't succeed.Can you give me some suggestions to complete&amp;nbsp; it?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="170621.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23920i44FC67C51BF9EE05/image-size/large?v=v2&amp;amp;px=999" role="button" title="170621.PNG" alt="170621.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; padding: 0px; border: 0px currentColor; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;Thank you !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; padding: 0px; border: 0px currentColor; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;Hj&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 14:29:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-build-a-CodeWarrior-project-using-codes-160-generated-by/m-p/689979#M6150</guid>
      <dc:creator>hjhjhj</dc:creator>
      <dc:date>2017-06-21T14:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a CodeWarrior project using codes  generated by toolbox</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-build-a-CodeWarrior-project-using-codes-160-generated-by/m-p/689980#M6151</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;when you look at the linker file, there are some symbols defined by default:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_stack_addr = ADDR(stack)+SIZEOF(stack);&lt;BR /&gt;_stack_end&amp;nbsp; = ADDR(stack);&lt;BR /&gt;_heap_addr&amp;nbsp; = ADDR(heap);&lt;BR /&gt;_heap_end&amp;nbsp;&amp;nbsp; = ADDR(heap)+SIZEOF(heap);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for example, if you use symbol called __SP_INIT in your project, you must define it in linker. It should look like:&lt;/P&gt;&lt;P&gt;__SP_INIT = _stack_addr;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it is up to you to create all necessary symbols and assign correct addresses to them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information about linker and all it's features and settings, please read the document in post attachment.&lt;/P&gt;&lt;P&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>Thu, 22 Jun 2017 13:27:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-build-a-CodeWarrior-project-using-codes-160-generated-by/m-p/689980#M6151</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-06-22T13:27:50Z</dc:date>
    </item>
  </channel>
</rss>

