Skip to content

Commit 004f3d0

Browse files
committed
fix?
1 parent 86f705b commit 004f3d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build_platform.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,6 @@ def manually_install_esp32_bsp(repo_info):
220220

221221
def install_platform(fqbn, full_platform_name=None):
222222
print("Installing", fqbn, end=" ")
223-
print("FQBN: ", fqbn)
224-
print("platform_name: ", full_platform_name)
225223
if fqbn == "adafruit:avr": # we have a platform dep
226224
install_platform("arduino:avr")
227225
if full_platform_name[2] is not None:
@@ -338,7 +336,9 @@ def generate_uf2(example_path):
338336
return output_file
339337

340338
# Generate using a hex file for all platforms except for ESP32-S2, ESP32-S3 (exports as .bin files)
339+
print("GENERATING FOR FQBN: ", fqbn)
341340
if not "esp32s2" or not "esp32s3" in fqbn:
341+
print("GENERATE HEX")
342342
cli_build_hex_path = "build/*.*." + fqbn.split(':')[2] + "/*.hex"
343343
hex_input_file = glob1(os.path.join(example_path, cli_build_hex_path))
344344
output_file = os.path.splitext(hex_input_file)[0] + ".uf2"

0 commit comments

Comments
 (0)