<?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 for MCUのトピックRe: CODEWARRIOR V10.7 Relocating</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CODEWARRIOR-V10-7-Relocating/m-p/793217#M14723</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Yes, the "__attribute__ " command can't relocate a file ,&lt;/P&gt;&lt;P&gt;as your code , if you delete &amp;nbsp;&amp;nbsp; &lt;EM&gt;main.c (.my_text) , &lt;/EM&gt;then will put .my_text section to m_text2.&lt;/P&gt;&lt;P&gt;About relocating on CW, please take a look at the below guide :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-101433"&gt;Relocating Code and Data Using the CW GCC Linker File for Kinetis&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you want to relocate all the APP code into other memory ? If yes, you can also re-configure the MEMORY part&lt;/P&gt;&lt;P&gt;of Linker file .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Mon, 30 Jul 2018 03:54:16 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2018-07-30T03:54:16Z</dc:date>
    <item>
      <title>CODEWARRIOR V10.7 Relocating</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CODEWARRIOR-V10-7-Relocating/m-p/793216#M14722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;KEAZ128, GCC.&lt;/P&gt;&lt;P&gt;.text2 :&lt;BR /&gt;{&lt;BR /&gt;__my_text_start = .;&lt;BR /&gt;. = ALIGN(4);&lt;BR /&gt; *(.my_text)&lt;BR /&gt; main.c (.my_text)&lt;BR /&gt; . = ALIGN(4);&lt;BR /&gt;}&amp;gt; m_text2&lt;/P&gt;&lt;P&gt;Report error "cannot find main.c".&amp;nbsp;I try to relocate startup code to the section whitch bootloader do not erase and i will do the global var initialization by my code. The "__attribute__ ((section" command only relocate one function.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 08:30:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CODEWARRIOR-V10-7-Relocating/m-p/793216#M14722</guid>
      <dc:creator>abcdchan15</dc:creator>
      <dc:date>2018-07-27T08:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: CODEWARRIOR V10.7 Relocating</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CODEWARRIOR-V10-7-Relocating/m-p/793217#M14723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Yes, the "__attribute__ " command can't relocate a file ,&lt;/P&gt;&lt;P&gt;as your code , if you delete &amp;nbsp;&amp;nbsp; &lt;EM&gt;main.c (.my_text) , &lt;/EM&gt;then will put .my_text section to m_text2.&lt;/P&gt;&lt;P&gt;About relocating on CW, please take a look at the below guide :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-101433"&gt;Relocating Code and Data Using the CW GCC Linker File for Kinetis&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you want to relocate all the APP code into other memory ? If yes, you can also re-configure the MEMORY part&lt;/P&gt;&lt;P&gt;of Linker file .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Mon, 30 Jul 2018 03:54:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CODEWARRIOR-V10-7-Relocating/m-p/793217#M14723</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2018-07-30T03:54:16Z</dc:date>
    </item>
  </channel>
</rss>

