[Top][All Lists]

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

[avr-gcc-list] specific SRAM locations.

From: Dave Lamont
Subject: [avr-gcc-list] specific SRAM locations.
Date: Sun, 9 Apr 2006 08:56:57 +1200

Hi all,

I am a newbie to avr-gcc.

I need to allocate specific SRAM locations to some global variables. The quantities in these reserved SRAM locations are passed from the microprocessor back to a

My previous compiler allowed me to specify as follows

int sat_bearing @0x180;


struct x {int a;
            char c;
            } alfa @0x185;

Can somebody please advise the avr_gcc method of achieving this

Thank you

David H Lamont

reply via email to

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