add c5 bootloader location to pioarduino script (#10889)
* add c5 bootloader location to pioarduino script * ci(pre-commit): Apply automatic fixes --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
This commit is contained in:
parent
100ed8e895
commit
d9d3bf48d3
1 changed files with 5 additions and 1 deletions
|
|
@ -213,7 +213,11 @@ env.Append(
|
|||
LIBSOURCE_DIRS=[join(FRAMEWORK_DIR, "libraries")],
|
||||
FLASH_EXTRA_IMAGES=[
|
||||
(
|
||||
"0x1000" if build_mcu in ["esp32", "esp32s2"] else ("0x2000" if build_mcu in ["esp32p4"] 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")),
|
||||
|
|
|
|||
Loading…
Reference in a new issue