Skip to content

Commit 41caec2

Browse files
committed
ESP32: Allow overriding offsets of various things
1 parent a0e4eb1 commit 41caec2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

platforms/esp32/Makefile.build

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ GEN_DIR ?= $(BUILD_DIR)/gen
7070
export APP_SLOT_SIZE ?= 0x180000
7171
FS_IMG = $(FW_STAGING_DIR)/fs.img
7272
export ESP_IDF_EXTRA_PARTITION
73-
export NVS_ADDR = 0x9000
74-
export NVS_SIZE = 0x4000
75-
export APP_OFFSET = 0x10000
76-
export OTA_DATA_ADDR = 0xd000
73+
export NVS_ADDR ?= 0x9000
74+
export NVS_SIZE ?= 0x4000
75+
export APP_OFFSET ?= 0x10000
76+
export OTA_DATA_ADDR ?= 0xd000
7777
export OTA_DATA_SIZE = 0x2000
7878
MAP_FILE = $(BUILD_DIR)/$(APP).map
7979

0 commit comments

Comments
 (0)