This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

defining memory addresses


       Hello all,

       I wonder how I can tell the compiler how many memory he has on
the target board.
e.g:
512kb ROM
3MB RAM

ROM starts at 0x0000, containing the program code (boot-loader/monitor
program). The codesize is (much) smaller than 512kb. How does the
compiler know he cannot store variables in that area??

Related to this: how can I effectively use the internal RAM?
The target is (will be) an Atmel AT40800 arm7tdmi processor, the
compiler arm-elf-gcc .

Regards,

     Jan
begin:vcard 
n:Van Belle;Jan
tel;work:+32 3 4503297
x-mozilla-html:FALSE
org:Alcatel Telecom;Broadband Networking Division
version:2.1
email;internet:Jan.Van_Belle@alcatel.be
adr;quoted-printable:;;de Villermontstraat 38B=0D=0AB2550 Kontich;;;;Belgium
x-mozilla-cpt:;2
fn:Jan Van Belle
end:vcard

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]