circuitpython/supervisor
Jeff Epler 5e26862b2c
Allow use of CONFIG_SPIRAM_USE_CAPS_ALLOC
.. and switch makerfabs tft7 over to it as a test.

We have our existing way of "reserving" PSRAM for esp-idf (we actually
control it all but add back the "reserved" part). However, this does
not work with off the shelf esp_lcd, which only will allocate a
framebuffer in PSRAM if CONFIG_SPIRAM_USE_CAPS_ALLOC (or CONFIG_SPIRAM_USE_ALLOC)
is defined, not if CONFIG_SPIRAM_USE_MEMMAP is.

This new way is possibly compatible with more esp-idf code, but it complicates
CircuitPython's initial startup since nothing until port_heap_init is
permitted to use the CP heap or supervisor allocator. In practice this
seems to be OK today.

Right now this doesn't change the setting across all boards with PSRAM and so
it does not revert esp-idf to its prior state. Instead, what I'm thinking is
that we can do it during or just after the IDF5 update when sdkconfig files
will be getting an overhaul anyway.
2023-09-05 12:43:22 -05:00
..
shared translations don't always use unicode code points now 2023-08-30 10:09:50 -05:00
stub Fix stub 2023-03-22 09:24:03 -07:00
background_callback.h Fix ticks 2023-04-07 09:49:51 -07:00
board.h Move hook implementation to supervisor 2022-04-18 14:09:36 +00:00
cpu.h Mark pointers in cpu registers as in use. 2018-07-03 05:45:50 -07:00
fatfs.h Enable* web workflow for Pico W 2022-11-21 16:24:05 -08:00
filesystem.h Get CIRCUITPY FATFS directly. 2022-08-04 16:06:27 -07:00
flash_root_pointers.h Automatically count EXTERNAL_FLASH_DEVICES (mk2) 2021-03-07 12:51:47 -06:00
flash.h update storage extension implementation 2022-10-06 09:19:56 +05:30
linker.h pre-commit fixes 2023-08-14 00:59:22 -04:00
memory.h run code formatting script 2021-03-15 19:27:36 +05:30
port.h Allow use of CONFIG_SPIRAM_USE_CAPS_ALLOC 2023-09-05 12:43:22 -05:00
serial.h finish status bar internal simplification 2022-09-27 15:14:40 -04:00
spi_flash_api.h Fix devices include by splitting type from defines 2021-03-25 11:37:08 -07:00
supervisor.mk merge latest adafruit/main 2023-08-13 19:43:54 -04:00
usb.h usb host keyboard: add keymap support 2023-07-12 07:04:56 -05:00
workflow.h Wi-Fi autoconnect and title bar status 2022-06-09 14:55:54 -07:00