[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] placing a variable in flash
From: |
Bernard Fouché |
Subject: |
RE: [avr-gcc-list] placing a variable in flash |
Date: |
Mon, 22 Nov 2004 19:14:56 +0100 |
uint8_t *p=(uint8_t *)0x1FFF; ?
-----Message d'origine-----
De : address@hidden
[mailto:address@hidden la part de Royce & Sharal
Pereira
Envoyé : lundi 22 novembre 2004 06:46
À : AVR-GCC
Objet : [avr-gcc-list] placing a variable in flash
Hi,
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?
Thanks,
--Royce.
_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list
- [avr-gcc-list] placing a variable in flash, Royce & Sharal Pereira, 2004/11/22
- Fw: [avr-gcc-list] placing a variable in flash, Royce & Sharal Pereira, 2004/11/22
- Re: Fw: [avr-gcc-list] placing a variable in flash, E. Weddington, 2004/11/22
- Re: Fw: [avr-gcc-list] placing a variable in flash, Sean Casey, 2004/11/22
- Re: Fw: [avr-gcc-list] placing a variable in flash, E. Weddington, 2004/11/22
- Message not available
- Re: Fw: [avr-gcc-list] placing a variable in flash, E. Weddington, 2004/11/22
- Re: Fw: [avr-gcc-list] placing a variable in flash, Ramkumar Rengaswamy, 2004/11/22
- Re: Fw: [avr-gcc-list] placing a variable in flash, E. Weddington, 2004/11/22
- Re: Fw: [avr-gcc-list] placing a variable in flash, Geoffrey Wossum, 2004/11/22
- Re: Fw: [avr-gcc-list] placing a variable in flash, E. Weddington, 2004/11/22