On 25 Sep 2005 at 4:11, lehighuboy wrote: > The following question involves an LPC2129 and Keil ARM IDE, AA and > CARM compiler. > > Are global variables defined in the startup.s file? And, if that's > correct, then where should the code be placed? Finally, how would you > define a global float, unsigned int, char, and const char variables? > (please respond with examples) > > Thank you for your help! > Why would you want to define global variables in the startup.s file ? Define them as you would when writing normal C code. The only thing the startup.s file does, is to setup a suitable environment for the C application to run in, as defined in Standard C. Regards Anton Erasmus -- A J Erasmus
Message
Re: [lpc2000] Global Variables
2005-09-25 by Anton Erasmus
Attachments
- No local attachments were found for this message.