We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 611547e commit a916695Copy full SHA for a916695
tools/platformio-build.py
@@ -126,7 +126,10 @@ def is_pio_build():
126
("BOARD_NAME", '\\"%s\\"' % env.subst("$BOARD")),
127
"ARM_MATH_CM0_FAMILY",
128
"ARM_MATH_CM0_PLUS",
129
- "TARGET_RP2040"
+ "TARGET_RP2040",
130
+ # at this point, the main.py builder script hasn't updated upload.maximum_size yet,
131
+ # so it's the original value for the full flash.
132
+ ("PICO_FLASH_SIZE_BYTES", board.get("upload.maximum_size"))
133
],
134
135
CPPPATH=[
0 commit comments