Skip to content

Commit 7e823c6

Browse files
committed
Turn off _eve on 2MB boards and 4MB ESP32-S2 boards
1 parent 16d21c6 commit 7e823c6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ports/espressif/mpconfigport.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,11 @@ CIRCUITPY_SDIOIO = 0
257257

258258
CIRCUITPY_ESP_USB_SERIAL_JTAG ?= 0
259259

260+
# TODO: remove this after ESP32-S2 4MB boards get combined OTA partition.
261+
ifeq ($(CIRCUITPY_ESP_FLASH_SIZE),4MB)
262+
CIRCUITPY__EVE = 0
263+
endif
264+
260265
else ifeq ($(IDF_TARGET),esp32s3)
261266
# Modules
262267
CIRCUITPY_ALARM_TOUCH = 1
@@ -267,6 +272,7 @@ endif
267272
# No room for large modules on 2MB boards
268273
# 2MB boards have a single firmware partition, and can't do dualbank.
269274
ifeq ($(CIRCUITPY_ESP_FLASH_SIZE),2MB)
275+
CIRCUITPY__EVE = 0
270276
CIRCUITPY_AUDIOMP3 = 0
271277
CIRCUITPY_BITMAPFILTER ?= 0
272278
CIRCUITPY_BLEIO_NATIVE ?= 0

0 commit comments

Comments
 (0)