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

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

[avr-gcc-list] Data pointer, pointing to the flash ROM???


From: Desi
Subject: [avr-gcc-list] Data pointer, pointing to the flash ROM???
Date: Fri, 04 Jul 2003 15:10:25 -0400

Hi, every budy...
I'm stuck, by now I know that the 
__flash it is not a variable but 
a data pointer pointing to some address
in the flash ROM, and this pointer must
be defined to suport varius types of 
functions and variables, this data pointer,
it is a super pointer, and I still can not
define it... 

by example this data pointer, handle this
kind of code...

__flash extern unsigned int LCD_character_table[];
__flash unsigned char DF_pagebits[]  ={  9,  9,  9,  9,  9,  10,  10,  
11};
__flash typedef struct 
{
.....
} MAX_TYPES;
__flash char MT_AVRBF[] = "AVR Butterfly";

and the list goes and goes....

Please if you have some hint, I will 
apreciate that...

Regards!!!

Desi.
P.S. At last I have something else in the LCD
and a signal generator in the PB1...


reply via email to

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