ebarker123 wrote: >Thanks for you excellent reply. Is this for the GNU compiler ? >I failed to mention that I'm using the Keil compiler. >I've determined that the following directives do the trick. > >#pragma NOINIT >char states[100]; /* Uninitialized Variable */ > >#pragma INIT >char array[100]; /* Initialized Variable */ > > > Yes, it is for the GNU gcc, I've tried this under the gcc-4.0.2 + binutils-2.16.1. TomW -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------------------------------------------
Message
Re: [lpc2000] Re: ram initialization at reset
2006-03-07 by Tom Walsh