<?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: Changing linker file for bootloader in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-linker-file-for-bootloader/m-p/156721#M825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it now makes more sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I a m new to Freescale and looking at the project in CW how do I tell which files can be edited? I see files that are linked and some of them can be edited and some can not!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I know which is which&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2011 19:19:03 GMT</pubDate>
    <dc:creator>barbercolman</dc:creator>
    <dc:date>2011-08-08T19:19:03Z</dc:date>
    <item>
      <title>Changing linker file for bootloader</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-linker-file-for-bootloader/m-p/156719#M823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a MQX 3.7 and CW 10.1 I want to be able to bootloader. I edit the .lcf file and compile the project. If I exit and restart the project the linker file has reverted! How do I make a change to the linker perminate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 21:32:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-linker-file-for-bootloader/m-p/156719#M823</guid>
      <dc:creator>barbercolman</dc:creator>
      <dc:date>2011-08-05T21:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Changing linker file for bootloader</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-linker-file-for-bootloader/m-p/156720#M824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The original linker command file for Codewarrior is located in "\bsp\{board_name}﻿\cw\" directory ﻿&lt;/P&gt;&lt;P&gt;After compilation of bsp library the linker file is copied by postbuild batch file&amp;nbsp;"\build\bat\bsp_{board_name}.bat " to&amp;nbsp;&lt;/P&gt;&lt;P&gt;"\lib\{board_name}﻿.cw10\bsp&amp;nbsp;﻿lib directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if you have 2 options&lt;/P&gt;&lt;P&gt;1. Modify the original linker file&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;2. Change the Linker Command File path in your application project so it refers to your custom linker file.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Menu-&amp;gt;Project -&amp;gt;Properties-&amp;gt;C/C++ Build-&amp;gt;Settings-&amp;gt;Tool Settings Tab-&amp;gt;ARM Linker-&amp;gt;Input-&amp;gt;Linker Command File-&amp;gt; Browse...&lt;/P&gt;&lt;P&gt;You have to change it for all Build configurations or select [All configurations] in Build configuration settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 15:10:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-linker-file-for-bootloader/m-p/156720#M824</guid>
      <dc:creator>petr_uhlir</dc:creator>
      <dc:date>2011-08-08T15:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Changing linker file for bootloader</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-linker-file-for-bootloader/m-p/156721#M825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it now makes more sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I a m new to Freescale and looking at the project in CW how do I tell which files can be edited? I see files that are linked and some of them can be edited and some can not!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I know which is which&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 19:19:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-linker-file-for-bootloader/m-p/156721#M825</guid>
      <dc:creator>barbercolman</dc:creator>
      <dc:date>2011-08-08T19:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing linker file for bootloader</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-linker-file-for-bootloader/m-p/156722#M826</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 change the linker command file path for all confiurations. I also added my linker file to the linker files folder in the project. When I compiled I received a no rault toe make target for my linker config file. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Aug 2011 01:37:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-linker-file-for-bootloader/m-p/156722#M826</guid>
      <dc:creator>barbercolman</dc:creator>
      <dc:date>2011-08-13T01:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Changing linker file for bootloader</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-linker-file-for-bootloader/m-p/156723#M827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barber,&lt;/P&gt;&lt;P&gt;MQX is setup so that the RTOS gets built up with libraries that are placed in the mqx/libpath.&lt;/P&gt;&lt;P&gt;The application you build will link against those libraries.&lt;/P&gt;&lt;P&gt;When debugging an application the header files and linker files that get opened are in the mqx/lib path.&amp;nbsp; When the RTOS is built, the library and header files are copied from their source path to the mqx/lib path.&amp;nbsp; So any edits you make to a header file in the mqx/lib path will get over written the next time the RTOS is re-built (this has happened to me many times...).&lt;/P&gt;&lt;P&gt;So when editing a linker or header file, always check the path (mouse over the file name in the editor window).&lt;/P&gt;&lt;P&gt;Your method of placing the linker script into your project is OK too.&lt;/P&gt;&lt;P&gt;From your reply I do not understand the error you are getting.&amp;nbsp; Can you elaborate?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 22:57:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-linker-file-for-bootloader/m-p/156723#M827</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2011-08-16T22:57:33Z</dc:date>
    </item>
  </channel>
</rss>

