You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
size: RP2040 RAM omits .data and counts .ota/.partition #2041
RP2040 RAM figure still follows the old size rules
#2021 (#2012) fixed flash accounting on RP2040 but deliberately left RAM matching the old size tool. For Arduino-Pico that gets two things wrong:
.data is not counted as RAM, even though it occupies RAM, because its section flags are "read, exec".
.ota and .partition are counted as RAM because they are writable, even though they live in flash at 0x100xxxxx.
Related: #2027, where heap and stack reservations (writable NOBITS sections) count as RAM on every platform. The two should be decided together: count RAM by address region, or by PlatformIO's section set (.data, .bss, .noinit), rather than by section flags.
Claimed by the fbuild-74 coordinator. PR #2052 (#2027) changed RAM to count PlatformIO's .data/.bss/.noinit set, which should cover this. A sub-agent is checking that on a real RP2040 build and adding RP2040 tests before closing (meta #2035).
Activity
zackees commentedon Nov 17, 2026
Claimed by the fbuild-74 coordinator. PR #2052 (#2027) changed RAM to count PlatformIO's
.data/.bss/.noinitset, which should cover this. A sub-agent is checking that on a real RP2040 build and adding RP2040 tests before closing (meta #2035).