Unverified Commit a9166951 authored by Maximilian Gerhardt's avatar Maximilian Gerhardt Committed by GitHub

Add PICO_FLASH_SIZE_BYTES to PIO (#1416)

parent 611547ee
...@@ -126,7 +126,10 @@ env.Append( ...@@ -126,7 +126,10 @@ env.Append(
("BOARD_NAME", '\\"%s\\"' % env.subst("$BOARD")), ("BOARD_NAME", '\\"%s\\"' % env.subst("$BOARD")),
"ARM_MATH_CM0_FAMILY", "ARM_MATH_CM0_FAMILY",
"ARM_MATH_CM0_PLUS", "ARM_MATH_CM0_PLUS",
"TARGET_RP2040" "TARGET_RP2040",
# at this point, the main.py builder script hasn't updated upload.maximum_size yet,
# so it's the original value for the full flash.
("PICO_FLASH_SIZE_BYTES", board.get("upload.maximum_size"))
], ],
CPPPATH=[ CPPPATH=[
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment