Re: [avr-gcc-list] Choose where the code is placed in flash memory
From:
JLDSystems
Subject:
Re: [avr-gcc-list] Choose where the code is placed in flash memory
Date:
Wed, 4 Dec 2002 22:14:05 EST
>Hello,
>
>I want to place myself a portion of my code (like a function), in
>particular address. I use an Atmega16 target with the latest version of
>gcc.
>
> If somedy can write me the method for have this behavior, thank you in
>advance,
>
>
>Frantz
>
My question is: For what reason is it justified to lock something to a specific address instead of allowing the compiler/linker do it's job?
What makes this any different then using "Magic number" and global variables that are difficult to maintain and support?