I think this happens when the firmware is larger than the flash memory.
Is the main chip on the base board an AT32UC3A0128 ?
If so, you will need to compile for target=lualong
If you want to enable modules other than pio and tmr, you would need
to apply the patches that reduce code size in various ways and then
enable all the modules - see
http://code.google.com/p/mizar32/wiki/CompilingElua#For_Mizar32_C
M
M
Oops, I just found I was getting this too with the 120KB patches, so I
guess the size of eLua has increased by a byte or two. I remember that
last time I measured the 120KB image with the LCD module, there were
only 4 bytes to spare...
If you disable the BUILD_LCD macro in mizar32_conf.h it fits - and you
can enable BUILD_TERM if you do that too:
#if defined( ELUA_CPU_AT32UC3A0128 )
// Build options for 120KB image
# define RAM_SIZE 0x8000
# define BUILD_ADC
# define BUILD_TERM
#else
M
There is a window of image size where the build scripts don't detect
that it has overflowed but it doesn't fit in the available flash -
maybe it just measures the text size, I don't know.
122368+1368 = 123736, which exceeds the 120*1024 limit of 122880
Do let us know of any other issues you encounter
Bless
M
Bless
M