kbr-net/sdrive-max

Are there build instructions around?

Opened this issue · 1 comments

In installed the required tools, and running make appears to work generating new hex files for each display type, and I can flash eeprom_writer.hex fine, but when I try and write SDrive.hex to my Uno with avrdude, I get the following:

avrdude error: address 0x8002 out of range at line 2049 of ./atmega328-ili9341/SDrive.hex
avrdude error: read from file ./atmega328-ili9341/SDrive.hex failed

I assume there's some offset or similar I need to change somewhere? I thought at first it was becaused I'd made code changes to increase the file size, but I swithced back to the main branch and got the same result.

Looks like your compiler let grow the code too much, above the 32K flash memory. And don't forget the 512bytes arduino bootloader, so the code must be 32768 - 512 = 32256 max.!