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

Mikael Adolfsson ethernut at ma.stendahls.net
Mon Sep 15 23:41:46 CEST 2003


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




More information about the En-Nut-Discussion mailing list