Skip to content

Commit

Permalink
ci(pre-commit): Apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Jan 22, 2025
1 parent 4a2567c commit e0c700b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/pioarduino-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,11 @@ def add_tinyuf2_extra_image():
LIBSOURCE_DIRS=[join(FRAMEWORK_DIR, "libraries")],
FLASH_EXTRA_IMAGES=[
(
"0x1000" if build_mcu in ["esp32", "esp32s2"] else ("0x2000" if build_mcu in ["esp32p4", "esp32c5"] else "0x0000"),
(
"0x1000"
if build_mcu in ["esp32", "esp32s2"]
else ("0x2000" if build_mcu in ["esp32p4", "esp32c5"] else "0x0000")
),
get_bootloader_image(variants_dir),
),
("0x8000", join(env.subst("$BUILD_DIR"), "partitions.bin")),
Expand Down

0 comments on commit e0c700b

Please sign in to comment.