Open SpenceKonde opened 2 years ago
Memory usage change @ 781cab9560ca7b111bc9a10b65ccc806a591be81
Board | flash | % | RAM for global variables | % |
---|---|---|---|---|
arduino:avr:leonardo | 0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:avr:mega | 0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:avr:nano | 0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:mbed_nano:nano33ble | 0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:mbed_nano:nanorp2040connect | 0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:mbed_portenta:envie_m4 | 0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:mbed_portenta:envie_m7 | 0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:megaavr:nona4809 | 0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:sam:arduino_due_x_dbg | 0 - 0 | 0.0 - 0.0 | N/A | N/A |
arduino:samd:mkrzero | 0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
This change has been tested in megaTinyCore and DxCore. This simple change adds compatibility with all tinyAVR 0/1/2-series parts, Dx-series including the future DD-series, and anything else Microchip is likely to release in the foreseeable futire all without breaking compatibility with megaAVR 0-series.
__AVR_ARCH__
=103 for all tinyAVR 0/1/2-series and megaAVR 0-series (103 is "all modern AVRs where the flash is fully memory mapped"), as well as 32k Dx-series. 102 is 64k modern AVRs which thus don't have all of their flash memory mapped, (so it catches the AVR64Dx parts), and 104 s 128k modern AVRs for the all important AVR128Dx parts.