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 1c76b1b commit 3688b7bCopy full SHA for 3688b7b
builder/frameworks/espidf.py
@@ -1065,8 +1065,15 @@ def _skip_prj_source_files(node):
1065
LINKFLAGS=extra_flags,
1066
LIBS=libs,
1067
FLASH_EXTRA_IMAGES=[
1068
- ("0x1000", os.path.join("$BUILD_DIR", "bootloader.bin")),
1069
- ("0x8000", os.path.join("$BUILD_DIR", "partitions.bin")),
+ (
+ board.get("upload.bootloader_offset", "0x1000"),
1070
+ os.path.join("$BUILD_DIR", "bootloader.bin")
1071
+ ),
1072
1073
+ board.get("upload.partition_table_offset", hex(
1074
+ sdk_config.get("PARTITION_TABLE_OFFSET", 0x8000))),
1075
+ os.path.join("$BUILD_DIR", "partitions.bin")
1076
1077
],
1078
)
1079
0 commit comments