forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Milestone
Description
4mb flash boards of ESPs disable alarm and bleio in favor of dual bank and OTA. Let's switch this for 10. To do so, we need to remove all CIRCUITPY_LEGACY_4MB_FLASH_LAYOUT
. This will move all boards to a non-ota partition scheme. We can do all non-S2 and S3 boards because they require a TinyUF2 update.
circuitpython/ports/espressif/mpconfigport.mk
Lines 280 to 294 in ea91e38
# We used to default to OTA partition layout but are moving away from it so that | |
# BLE and alarm can be included. This setting prevents the partition layout from | |
# changing. | |
ifeq ($(CIRCUITPY_LEGACY_4MB_FLASH_LAYOUT), 1) | |
ifeq ($(IDF_TARGET_ARCH), xtensa) | |
CIRCUITPY_ALARM ?= 1 | |
else | |
CIRCUITPY_ALARM = 0 | |
endif | |
CIRCUITPY_DUALBANK = 1 | |
CIRCUITPY_BLEIO ?= 0 | |
CIRCUITPY_SETTABLE_PROCESSOR_FREQUENCY = 0 | |
else | |
CIRCUITPY_SETTABLE_PROCESSOR_FREQUENCY = 1 | |
endif |
This was added in #9324
linuxhuskarl