avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] Fixing function locations


From: Brian Cuthie
Subject: RE: [avr-gcc-list] Fixing function locations
Date: Wed, 7 Jan 2004 11:58:49 -0500

You can put the function in its own code section, then modify to loader
script to place that section wherever you like.

-brian 

> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden On Behalf Of Tom Maughan
> Sent: Wednesday, January 07, 2004 11:36 AM
> To: address@hidden
> Subject: [avr-gcc-list] Fixing function locations
> 
> Is it possible to fix the location of a function to a 
> specific flash address?
> 
> I'm writing some bootloader code which no doubt will get 
> changed in the future but I'd like to fix certain externally 
> accessable functions to specific address locations such that 
> if I run maincode designed for a newer version of the 
> bootloader it won't die horribly.
> Many thanks,
> 
> 
> --
>  _______
> |_     _|-----.--------.   tom[at]tmaughan[.]co[.]uk
>   |   |    _  |        |   tpm195[at]zepler[.]org
>   |___|  _____|__|__|__|   http://www.tmaughan.co.uk
> 
> 
> 
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]