Skip to content

Commit d507c79

Browse files
ivankravetsearlephilhower
authored andcommitted
PlatformIO: Append FLASHMODE_* macro (#5813)
1 parent ca2f31a commit d507c79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/platformio-build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ def scons_patched_match_splitext(path, suffixes=None):
9797
"__ets__",
9898
"ICACHE_FLASH",
9999
("ARDUINO", 10805),
100-
("ARDUINO_BOARD", '\\"PLATFORMIO_%s\\"'
101-
% env.BoardConfig().id.upper()),
100+
("ARDUINO_BOARD", '\\"PLATFORMIO_%s\\"' % env.BoardConfig().id.upper()),
101+
"FLASHMODE_${BOARD_FLASH_MODE.upper()}",
102102
"LWIP_OPEN_SRC"
103103
],
104104

0 commit comments

Comments
 (0)