Skip to content

Commit 3871899

Browse files
committed
wip
1 parent 6c1e34e commit 3871899

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

ports/espressif/boards/adafruit_esp32s3_camera/mpconfigboard.mk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ CIRCUITPY_ESP_FLASH_FREQ = 80m
1212
CIRCUITPY_ESP_PSRAM_SIZE = 2MB
1313
CIRCUITPY_ESP_PSRAM_MODE = qio
1414
CIRCUITPY_ESP_PSRAM_FREQ = 80m
15-
FLASH_SDKCONFIG = esp-idf-config/sdkconfig-4MB-1ota.defaults
15+
16+
# No OTA partition: larger filesystem instead for lots of images.
17+
FLASH_SIZE_SDKCONFIG = esp-idf-config/sdkconfig-flash-$(CIRCUITPY_ESP_FLASH_SIZE)-no-ota.defaults
1618

1719
CIRCUITPY_AUDIOBUSIO = 0
1820
CIRCUITPY_CANIO = 0
21+
CIRCUITPY_DUALBANK = 0
1922
CIRCUITPY_ESPCAMERA = 1
2023
CIRCUITPY_FRAMEBUFFERIO = 0
2124
CIRCUITPY_KEYPAD = 0
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
#
2+
# Espressif IoT Development Framework Configuration
3+
#
4+
#
25
# Serial flasher config
36
#
47
# CONFIG_ESPTOOLPY_FLASHSIZE_1MB is not set
58
# CONFIG_ESPTOOLPY_FLASHSIZE_2MB is not set
69
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
710
# CONFIG_ESPTOOLPY_FLASHSIZE_8MB is not set
811
# CONFIG_ESPTOOLPY_FLASHSIZE_16MB is not set
12+
# CONFIG_ESPTOOLPY_FLASHSIZE_32MB is not set
13+
# CONFIG_ESPTOOLPY_FLASHSIZE_64MB is not set
14+
# CONFIG_ESPTOOLPY_FLASHSIZE_128MB is not set
915
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
10-
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
1116
# end of Serial flasher config
1217

13-
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="esp-idf-config/partitions-4MB-1ota.csv"
1418
#
1519
# Partition Table
1620
#
17-
CONFIG_PARTITION_TABLE_FILENAME="esp-idf-config/partitions-4MB-1ota.csv"
21+
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="esp-idf-config/partitions-4MB-no-ota.csv"
22+
CONFIG_PARTITION_TABLE_FILENAME="esp-idf-config/partitions-4MB-no-ota.csv"
1823
# end of Partition Table
24+
25+
# end of Espressif IoT Development Framework Configuration

ports/espressif/mpconfigport.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ CIRCUITPY_AUDIOMP3 ?= 0
2626
CIRCUITPY_BLEIO_HCI = 0
2727
CIRCUITPY_CANIO ?= 1
2828
CIRCUITPY_COUNTIO ?= 1
29-
CIRCUITPY_DOTCLOCKFRAMEBUFFER_USES_SUPERVISOR_ALLOCATION = 0
3029
CIRCUITPY_DUALBANK ?= 1
3130
CIRCUITPY_ESPCAMERA ?= 1
3231
CIRCUITPY_ESPIDF ?= 1
@@ -113,14 +112,12 @@ else ifeq ($(IDF_TARGET),esp32s2)
113112
# Modules
114113
# No BLE in hw
115114
CIRCUITPY_BLEIO = 0
116-
CIRCUITPY_RGBMATRIX_USES_SUPERVISOR_ALLOCATION = 0
117115

118116
CIRCUITPY_ESP_USB_SERIAL_JTAG ?= 0
119117

120118
else ifeq ($(IDF_TARGET),esp32s3)
121119
# Modules
122120
CIRCUITPY_BITMAPFILTER ?= $(CIRCUITPY_ESPCAMERA)
123-
CIRCUITPY_RGBMATRIX_USES_SUPERVISOR_ALLOCATION = 0
124121
CIRCUITPY_ESP_USB_SERIAL_JTAG ?= 0
125122

126123
# No room for _bleio on boards with 4MB flash

py/circuitpy_mpconfig.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,6 @@ extern const struct _mp_obj_module_t nvm_module;
415415

416416
#define MP_STATE_PORT MP_STATE_VM
417417

418-
// From supervisor/memory.c
419-
struct _supervisor_allocation_node;
420-
421418
void background_callback_run_all(void);
422419
#define RUN_BACKGROUND_TASKS (background_callback_run_all())
423420

py/circuitpy_mpconfig.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,6 @@ CFLAGS += -DCIRCUITPY_PARALLELDISPLAYBUS=$(CIRCUITPY_PARALLELDISPLAYBUS)
237237

238238
CIRCUITPY_DOTCLOCKFRAMEBUFFER ?= 0
239239
CFLAGS += -DCIRCUITPY_DOTCLOCKFRAMEBUFFER=$(CIRCUITPY_DOTCLOCKFRAMEBUFFER)
240-
CIRCUITPY_DOTCLOCKFRAMEBUFFER_USES_SUPERVISOR_ALLOCATION ?= 1
241-
CFLAGS += -DCIRCUITPY_DOTCLOCKFRAMEBUFFER_USES_SUPERVISOR_ALLOCATION=$(CIRCUITPY_DOTCLOCKFRAMEBUFFER_USES_SUPERVISOR_ALLOCATION)
242240

243241
# bitmaptools and framebufferio rely on displayio and are not on small boards
244242
CIRCUITPY_BITMAPTOOLS ?= $(call enable-if-all,$(CIRCUITPY_FULL_BUILD) $(CIRCUITPY_DISPLAYIO))
@@ -435,8 +433,6 @@ CFLAGS += -DCIRCUITPY_RP2PIO=$(CIRCUITPY_RP2PIO)
435433

436434
CIRCUITPY_RGBMATRIX ?= 0
437435
CFLAGS += -DCIRCUITPY_RGBMATRIX=$(CIRCUITPY_RGBMATRIX)
438-
CIRCUITPY_RGBMATRIX_USES_SUPERVISOR_ALLOCATION ?= 1
439-
CFLAGS += -DCIRCUITPY_RGBMATRIX_USES_SUPERVISOR_ALLOCATION=$(CIRCUITPY_RGBMATRIX_USES_SUPERVISOR_ALLOCATION)
440436

441437
CIRCUITPY_ROTARYIO ?= 1
442438
CFLAGS += -DCIRCUITPY_ROTARYIO=$(CIRCUITPY_ROTARYIO)

0 commit comments

Comments
 (0)