We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0c2b777 + 5783914 commit f10f955Copy full SHA for f10f955
build_platform.py
@@ -335,8 +335,8 @@ def generate_uf2(example_path):
335
ColorPrint.print_info("Used uf2 generated by arduino-cli")
336
return output_file
337
338
- # Generate using a hex file for all platforms except for ESP32-S2 (exports as .bin files)
339
- if not "esp32s2" in fqbn:
+ # Generate using a hex file for all platforms except for ESP32-S2, ESP32-S3 (exports as .bin files)
+ if not "esp32s2" or not "esp32s3" in fqbn:
340
cli_build_hex_path = "build/*.*." + fqbn.split(':')[2] + "/*.hex"
341
hex_input_file = glob1(os.path.join(example_path, cli_build_hex_path))
342
output_file = os.path.splitext(hex_input_file)[0] + ".uf2"
0 commit comments