[Top][All Lists]

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

[avr-gcc-list] Allocating variables to a fixed address

From: Robert von Knobloch
Subject: [avr-gcc-list] Allocating variables to a fixed address
Date: Mon, 11 May 2009 11:39:02 +0200
User-agent: Thunderbird (X11/20060911)

Is there any way of 'fixing' a few, specific global variables at a known
In flash, I can use a '.section' to do this. Is there an equivalent for ram?
I notice that the compiler puts static variables before globals, which
make it impossible to predict where the globals will be.
I am writing modular software and to be version independant, I must
define a simple API.
I have flash under control, but now ram is the problem.

Best regards,

Robert von Knobloch

reply via email to

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