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

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

Re: [avr-gcc-list] Allocation of large globals in external RAM


From: Jason Kyle
Subject: Re: [avr-gcc-list] Allocation of large globals in external RAM
Date: Wed, 2 May 2001 03:28:16 -0700

You need to add a modified linker script to your project directory, see the
card test program in my eAVR project for an example. The linker scripts are
in /usr/local/avr/ unless you used the --prefix= option when installing etc. 
http://avr.jpk.co.nz/eavr.eavr.html

The linker knows nothing of MCUCR, your code is correct to initialise it
before doing anything else.

Cheers,

Jason Kyle

At 00:23 2/05/01 -0700, you wrote:
>Hi all,
>
>I'm still having problems in allocating large global variables in external RAM.
>
>How can I tell the linker that I have 32K external RAM?
>How can I tell the linker where to put the stack (--defsym __stack=0x08000
returns 'No such file or directory').
>
>Does anybody have working makefiles for early MCUCR, stack initialization?
>
>Here I enclose a test program and my makefile (I'm using gcc 2.97), please
run the code and help if You can.
>
>Thank You 
>Zoltan Molnar

<snip>




reply via email to

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