Skip to content

Disable DUALBANK and turn off OTA partitions on ESPs (besides Sx) #10229

Open
@tannewt

Description

@tannewt

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.

# 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions