We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 004f3d0 commit 242c654Copy full SHA for 242c654
build_platform.py
@@ -337,7 +337,7 @@ def generate_uf2(example_path):
337
338
# Generate using a hex file for all platforms except for ESP32-S2, ESP32-S3 (exports as .bin files)
339
print("GENERATING FOR FQBN: ", fqbn)
340
- if not "esp32s2" or not "esp32s3" in fqbn:
+ if not any (x in fqbn for x in ["esp32s2", "esp32s3"]):
341
print("GENERATE HEX")
342
cli_build_hex_path = "build/*.*." + fqbn.split(':')[2] + "/*.hex"
343
hex_input_file = glob1(os.path.join(example_path, cli_build_hex_path))
0 commit comments