Skip to content

Commit 016077e

Browse files
authored
changes for updated esptool.py v5 (#11488)
1 parent 02be6e8 commit 016077e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/pioarduino-build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ def generate_bootloader_image(bootloader_elf):
9999
"--chip",
100100
build_mcu,
101101
"elf2image",
102-
"--flash_mode",
102+
"--flash-mode",
103103
"${__get_board_flash_mode(__env__)}",
104-
"--flash_freq",
104+
"--flash-freq",
105105
"${__get_board_f_image(__env__)}",
106-
"--flash_size",
106+
"--flash-size",
107107
board_config.get("upload.flash_size", "4MB"),
108108
"-o",
109109
"$TARGET",

0 commit comments

Comments
 (0)