Closed gudnimg closed 3 years ago
I looked into arduino.py
and I think the problem is ATmega2560 is not considered to be any of "MiniCore"
, "MegaCore"
, "MightyCore"
, "MajorCore"
So maybe this isn't an issue at all? Why is there such a big difference in bootloader sizes? 🤔
Hi!
board = megaatmega2560
is probably the Arduino MEGA 2560 board. I'll assume you want to use the MegaCore implementation? Try using board = ATmega2560
instead.
The MEGA2560 board uses a bootloader where 8192 bytes of flash are allocated for it. MegaCore does not allocate any flash memory for a bootloader if you haven't specified in the platformio.ini file that a bootloader is used.
Thanks! I'm closing this issue since this isn't a bug 👍
Hi I noticed this issue before v3.1.0
When I build/compile PIO shows total flash memory:
I'm not familiar where these numbers are calculated but I would think the flash storage should look exactly the same. Only difference between the chips is ATmega2561 has fewer physical pins.
Here is my platformio.ini settings: