fix uf2 bootloader condition in makefile
This commit is contained in:
parent
5114ae7a31
commit
434c6d5604
|
@ -339,7 +339,7 @@ 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 ?= $(CIRCUITPY_USB)
|
||||
ifeq ($(UF2_BOOTLOADER), 1)
|
||||
FLASH_SDKCONFIG = esp-idf-config/sdkconfig-$(CIRCUITPY_ESP_FLASH_SIZE).defaults
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue