[Top][All Lists]

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

[avr-gcc-list] placing a variable in flash

From: Royce & Sharal Pereira
Subject: [avr-gcc-list] placing a variable in flash
Date: Mon, 22 Nov 2004 11:15:37 +0530

How can one assign a predetermined address to a variable in code?

Say I place the Oscillator Calib. byte at 0x1fff. How can retreive it in my
program? I have to 'tell' GCC to look for it at (byte)location 0x1fff; which
means I need to have a variable(or const) located at 0x1fff.

How does one do this?


reply via email to

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