[En-Nut-Discussion] >64kB code on mega103?

Damian Slee damian at commtech.com.au
Tue Sep 16 02:24:29 CEST 2003


gcc should do that anyway?
it appears all our PROGMEM strings are linked/allocated first, then program code after that.


-----Original Message-----
From: Mikael Adolfsson [mailto:ethernut at ma.stendahls.net]
Sent: Tuesday, 16 September 2003 5:42 AM
To: en-nut-discussion at egnite.de
Subject: [En-Nut-Discussion] >64kB code on mega103?


Hi,

Maybe this isn't the right forum for this question, but does anyone know
how (to configure gcc?) to build code larger than 64kB that will work on
the mega103 (or mega128)?

My software is growing larger, and it doesn't fit in 64k any longer. My
static content (prog_char) is quite small and would fit in the lower 64k.
Is it possible to let gcc put all that content in the lower 64k, and only
code in the upper 64k, so I don't need to mess with the elpm/rampz-
instructions?

/ Mikael

_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo/en-nut-discussion



More information about the En-Nut-Discussion mailing list