Skip to content

Commit 4756fce

Browse files
committed
use bin for s3
1 parent 0c2b777 commit 4756fce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_platform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def generate_uf2(example_path):
336336
return output_file
337337

338338
# Generate using a hex file for all platforms except for ESP32-S2 (exports as .bin files)
339-
if not "esp32s2" in fqbn:
339+
if not "esp32s2" or not "esp32s3" in fqbn:
340340
cli_build_hex_path = "build/*.*." + fqbn.split(':')[2] + "/*.hex"
341341
hex_input_file = glob1(os.path.join(example_path, cli_build_hex_path))
342342
output_file = os.path.splitext(hex_input_file)[0] + ".uf2"

0 commit comments

Comments
 (0)