|
|
@@ -14,10 +14,12 @@ GEN_ESP32PART := $(PYTHON) $(COMPONENT_PATH)/gen_esp32part.py -q
|
|
|
# Has a matching value in bootloader_support esp_flash_partitions.h
|
|
|
PARTITION_TABLE_OFFSET := 0x8000
|
|
|
|
|
|
+ifndef PARTITION_TABLE_CSV_PATH
|
|
|
# Path to partition CSV file is relative to project path for custom
|
|
|
# partition CSV files, but relative to component dir otherwise.$
|
|
|
PARTITION_TABLE_ROOT := $(call dequote,$(if $(CONFIG_PARTITION_TABLE_CUSTOM),$(PROJECT_PATH),$(COMPONENT_PATH)))
|
|
|
PARTITION_TABLE_CSV_PATH := $(call dequote,$(abspath $(PARTITION_TABLE_ROOT)/$(subst $(quote),,$(CONFIG_PARTITION_TABLE_FILENAME))))
|
|
|
+endif
|
|
|
|
|
|
PARTITION_TABLE_BIN := $(BUILD_DIR_BASE)/$(notdir $(PARTITION_TABLE_CSV_PATH:.csv=.bin))
|
|
|
|