Re: Assertion `offset < 0x10000lu' failed
Posted: 11 Aug 2019, 07:19
I compiled the code with Arduino for ATMEGA2560 and here what it outputs:
Older variant, optimized for small microcontrollers:
Not sure why first one uses 10x RAM, yet. But either should fit in video RAM with a bonus of visualization Can we do that? Load to and run from lets say 0x800?
Code: Select all
Sketch uses 10094 bytes (3%) of program storage space. Maximum is 253952 bytes.
Global variables use 8092 bytes (98%) of dynamic memory, leaving 100 bytes for local variables. Maximum is 8192 bytes.
Code: Select all
Sketch uses 10280 bytes (4%) of program storage space. Maximum is 253952 bytes.
Global variables use 819 bytes (9%) of dynamic memory, leaving 7373 bytes for local variables. Maximum is 8192 bytes.