<?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: Build profile that changes base address in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/Build-profile-that-changes-base-address/m-p/1320423#M4281</link>
    <description>&lt;P&gt;Because the memory map is not linked to the CDT configuration, you cannot directly do this.&lt;/P&gt;&lt;P&gt;What you could do is create two build configuration with hooks to the FreeMarker script: I'm using this to change the application base address for bootloaders, and documented it in &lt;A href="https://mcuoneclipse.com/2019/10/06/linking-bootloader-applications-with-eclipse-and-freemarker-scripts/" target="_blank"&gt;https://mcuoneclipse.com/2019/10/06/linking-bootloader-applications-with-eclipse-and-freemarker-scripts/&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;You should be able to the same approach, but you will need to dig into FreeMarker scrips to some extend.&lt;/P&gt;&lt;P&gt;Another solution would be to have two projects which share all the source code.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
    <pubDate>Mon, 09 Aug 2021 15:20:41 GMT</pubDate>
    <dc:creator>ErichStyger</dc:creator>
    <dc:date>2021-08-09T15:20:41Z</dc:date>
    <item>
      <title>Build profile that changes base address</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Build-profile-that-changes-base-address/m-p/1320397#M4280</link>
      <description>&lt;P&gt;How can I setup a build profile that changes the base address as seen below? As I need two profiles. One for the default 0x60000000 and another for a custom base address.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 605px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152297i9780BC7B04CCA858/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 14:57:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Build-profile-that-changes-base-address/m-p/1320397#M4280</guid>
      <dc:creator>mspenard603</dc:creator>
      <dc:date>2021-08-09T14:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Build profile that changes base address</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Build-profile-that-changes-base-address/m-p/1320423#M4281</link>
      <description>&lt;P&gt;Because the memory map is not linked to the CDT configuration, you cannot directly do this.&lt;/P&gt;&lt;P&gt;What you could do is create two build configuration with hooks to the FreeMarker script: I'm using this to change the application base address for bootloaders, and documented it in &lt;A href="https://mcuoneclipse.com/2019/10/06/linking-bootloader-applications-with-eclipse-and-freemarker-scripts/" target="_blank"&gt;https://mcuoneclipse.com/2019/10/06/linking-bootloader-applications-with-eclipse-and-freemarker-scripts/&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;You should be able to the same approach, but you will need to dig into FreeMarker scrips to some extend.&lt;/P&gt;&lt;P&gt;Another solution would be to have two projects which share all the source code.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 15:20:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Build-profile-that-changes-base-address/m-p/1320423#M4281</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-08-09T15:20:41Z</dc:date>
    </item>
  </channel>
</rss>

