Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] fixed address variable

2005-11-09 by Tom Walsh

szemzoandras wrote:

>Hello,
>
>
>Is it possible to place a variable to a fixed memory location in gcc,
>like in keil, i mean:
>
>unsigned int dd _at_ 0x81000000;
>
>  
>
unsigned int * dd = ((unsigned int *)0x81000000);

    *dd = <value>



-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.