fix 2MB-no-uf2
partition table
This commit is contained in:
parent
f86377e0f1
commit
5114ae7a31
@ -336,12 +336,16 @@ $(BUILD)/esp-idf:
|
|||||||
|
|
||||||
TARGET_SDKCONFIG = esp-idf-config/sdkconfig-$(IDF_TARGET).defaults
|
TARGET_SDKCONFIG = esp-idf-config/sdkconfig-$(IDF_TARGET).defaults
|
||||||
|
|
||||||
|
ifeq ($(CIRCUITPY_ESP_FLASH_SIZE), 2MB)
|
||||||
|
FLASH_SDKCONFIG = esp-idf-config/sdkconfig-$(CIRCUITPY_ESP_FLASH_SIZE)-no-ota-no-uf2.defaults
|
||||||
|
else
|
||||||
UF2_BOOTLOADER ?= $(if $(filter $(IDF_TARGET),esp32s2 esp32s3),1)
|
UF2_BOOTLOADER ?= $(if $(filter $(IDF_TARGET),esp32s2 esp32s3),1)
|
||||||
ifeq ($(UF2_BOOTLOADER), 1)
|
ifeq ($(UF2_BOOTLOADER), 1)
|
||||||
FLASH_SDKCONFIG = esp-idf-config/sdkconfig-$(CIRCUITPY_ESP_FLASH_SIZE).defaults
|
FLASH_SDKCONFIG = esp-idf-config/sdkconfig-$(CIRCUITPY_ESP_FLASH_SIZE).defaults
|
||||||
else
|
else
|
||||||
FLASH_SDKCONFIG = esp-idf-config/sdkconfig-$(CIRCUITPY_ESP_FLASH_SIZE)-no-uf2.defaults
|
FLASH_SDKCONFIG = esp-idf-config/sdkconfig-$(CIRCUITPY_ESP_FLASH_SIZE)-no-uf2.defaults
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(DEBUG), 1)
|
ifeq ($(DEBUG), 1)
|
||||||
DEBUG_SDKCONFIG = esp-idf-config/sdkconfig-debug.defaults
|
DEBUG_SDKCONFIG = esp-idf-config/sdkconfig-debug.defaults
|
||||||
|
@ -6,3 +6,5 @@ IDF_TARGET = esp32c3
|
|||||||
CIRCUITPY_ESP_FLASH_MODE = dio
|
CIRCUITPY_ESP_FLASH_MODE = dio
|
||||||
CIRCUITPY_ESP_FLASH_FREQ = 80m
|
CIRCUITPY_ESP_FLASH_FREQ = 80m
|
||||||
CIRCUITPY_ESP_FLASH_SIZE = 2MB
|
CIRCUITPY_ESP_FLASH_SIZE = 2MB
|
||||||
|
|
||||||
|
CIRCUITPY_DUALBANK = 0
|
||||||
|
@ -10,9 +10,9 @@ CONFIG_ESPTOOLPY_FLASHSIZE="2MB"
|
|||||||
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
|
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
|
||||||
# end of Serial flasher config
|
# end of Serial flasher config
|
||||||
|
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="esp-idf-config/partitions-2MB-no-uf2.csv"
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="esp-idf-config/partitions-2MB-no-ota-no-uf2.csv"
|
||||||
#
|
#
|
||||||
# Partition Table
|
# Partition Table
|
||||||
#
|
#
|
||||||
CONFIG_PARTITION_TABLE_FILENAME="esp-idf-config/partitions-2MB-no-uf2.csv"
|
CONFIG_PARTITION_TABLE_FILENAME="esp-idf-config/partitions-2MB-no-ota-no-uf2.csv"
|
||||||
# end of Partition Table
|
# end of Partition Table
|
Loading…
Reference in New Issue
Block a user