<?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: RAM Region in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-Region/m-p/546709#M9804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Mon Dec 19 04:37:36 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;#1 If you create a new LPCXpresso C project the managed linker script is reserving MCU SRAM sections for you &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#2 Section macros are included if you select 'Enable CRP in target image'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#3 Now you can switch your data section as described in : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/EnhancedManagedLinkScripts&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
 __BSS(RAM2)&amp;nbsp; unsigned char array[128];&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //128 byte array
 __DATA(RAM2) unsigned char text1[5] ={'T','e','s','t','1'};&amp;nbsp; //string
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;#4 Your map file will show you where this data are placed now :rolleyes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#5 Note: If you don't find this data in your map file, your linker didn't include them because they aren't used (and therefore optimised out)&amp;nbsp; :eek:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:36:14 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:36:14Z</dc:date>
    <item>
      <title>RAM Region</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-Region/m-p/546708#M9803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nkarakotas on Mon Dec 19 01:00:11 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my application im not using the USB and I would like to use the 16K available in the RamAHB32 region. How do I define this in code red? Do I need to make my own linker scripts? I have read the enhance manged link scripts page but not sure yet how to define a new region. Any examples will be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:36:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-Region/m-p/546708#M9803</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: RAM Region</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-Region/m-p/546709#M9804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Mon Dec 19 04:37:36 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;#1 If you create a new LPCXpresso C project the managed linker script is reserving MCU SRAM sections for you &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#2 Section macros are included if you select 'Enable CRP in target image'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#3 Now you can switch your data section as described in : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/EnhancedManagedLinkScripts&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
 __BSS(RAM2)&amp;nbsp; unsigned char array[128];&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //128 byte array
 __DATA(RAM2) unsigned char text1[5] ={'T','e','s','t','1'};&amp;nbsp; //string
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;#4 Your map file will show you where this data are placed now :rolleyes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#5 Note: If you don't find this data in your map file, your linker didn't include them because they aren't used (and therefore optimised out)&amp;nbsp; :eek:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:36:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-Region/m-p/546709#M9804</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: RAM Region</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-Region/m-p/546710#M9805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nkarakotas on Mon Dec 19 07:05:49 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried that but I was receiving an error when starting debug and I thought I was doing something wrong. It turned out that something else was at fault and not the defines I used.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:36:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-Region/m-p/546710#M9805</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:36:15Z</dc:date>
    </item>
  </channel>
</rss>

