10000 Disable DUALBANK and turn off OTA partitions on ESPs (besides Sx) · Issue #10229 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tannewt opened this issue Apr 7, 2025 · 0 comments · May be fixed by #10265
Open

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

tannewt opened this issue Apr 7, 2025 · 0 comments · May be fixed by #10265
Assignees
Labels
ble breaks api espressif applies to multiple Espressif chips
Milestone

Comments

@tannewt
Copy link
Member
tannewt commented Apr 7, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ble breaks api espressif applies to multiple Espressif chips
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0