<?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>LPCXpresso IDE中的主题 Re: declaring variable at absolute ram location in lpcxpresso</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/declaring-variable-at-absolute-ram-location-in-lpcxpresso/m-p/556900#M14327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by fjrg76 on Thu Sep 06 17:17:25 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a way for doing that in Flash, so it might be the same procedure in RAM:&lt;/SPAN&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;GPIO_T * myVar= (GPIO_T *)(0xE0028000);&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where GPIO_T is a struct that holds the registers used by GPIO in the LPC2129 uC, but you can use whatever makes sense for your project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This other snippet is used with LPCXpresso, and works great, although more obscure, 'cause a lot of #define(s) involved:&lt;/SPAN&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;LPC_TIMER_T * tmr32b1 = (LPC_TMR_TypeDef *)(LPC_CT32B1_BASE);&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:15:09 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:15:09Z</dc:date>
    <item>
      <title>declaring variable at absolute ram location in lpcxpresso</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/declaring-variable-at-absolute-ram-location-in-lpcxpresso/m-p/556899#M14326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by badri89 on Wed Sep 05 22:15:56 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to define a variable at absolute ram location. I tried the way discussed in this following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/OwnLinkScripts&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I am getting errors, stating the linkerscript is not found. Though I given the location properly, still it shows the error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly post the steps involved in&amp;nbsp; defining variable at absolute ram address. Is there any way without using linkerscripts, like __at attribute in keil?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:15:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/declaring-variable-at-absolute-ram-location-in-lpcxpresso/m-p/556899#M14326</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: declaring variable at absolute ram location in lpcxpresso</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/declaring-variable-at-absolute-ram-location-in-lpcxpresso/m-p/556900#M14327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by fjrg76 on Thu Sep 06 17:17:25 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a way for doing that in Flash, so it might be the same procedure in RAM:&lt;/SPAN&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;GPIO_T * myVar= (GPIO_T *)(0xE0028000);&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where GPIO_T is a struct that holds the registers used by GPIO in the LPC2129 uC, but you can use whatever makes sense for your project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This other snippet is used with LPCXpresso, and works great, although more obscure, 'cause a lot of #define(s) involved:&lt;/SPAN&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;LPC_TIMER_T * tmr32b1 = (LPC_TMR_TypeDef *)(LPC_CT32B1_BASE);&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:15:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/declaring-variable-at-absolute-ram-location-in-lpcxpresso/m-p/556900#M14327</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:15:09Z</dc:date>
    </item>
  </channel>
</rss>

