Skip to content

Commit bfc1cdc

Browse files
committed
hopefully fixes the ESP32 build.
1 parent ec841b6 commit bfc1cdc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

builder/esp32.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,8 +968,10 @@ def compile(): # NOQA
968968
build_bin_file += '.bin'
969969
build_bin_file = f'"{os.path.abspath(build_bin_file)}"'
970970

971+
chip = output.split('--chip ', 1)[-1].split(' ', 1)[0]
972+
971973
cmds = [''.join([
972-
f'{python_path} -m esptool ',
974+
f'{python_path} -m esptool --chip {chip} ',
973975
f'merge_bin -o {build_bin_file} {bin_files}'
974976
])]
975977

0 commit comments

Comments
 (0)