circuitpython/ports
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
..
atmel-samd Merge pull request #8338 from pypewpew/async-samd21 2023-08-28 12:56:38 -07:00
broadcom Merge pull request #8305 from cleverca22/move-stack 2023-08-28 12:52:38 -07:00
cxd56 Merge remote-tracking branch 'origin/8.2.x' into merge-82x 2023-08-22 08:49:16 -05:00
espressif Allow use of CONFIG_SPIRAM_USE_CAPS_ALLOC 2023-09-05 12:43:22 -05:00
litex pre-commit fixes 2023-08-14 00:59:22 -04:00
mimxrt10xx Merge remote-tracking branch 'adafruit/main' into i2s_mclk 2023-08-24 15:07:14 -07:00
nrf Merge remote-tracking branch 'adafruit/main' into i2s_mclk 2023-08-24 15:07:14 -07:00
raspberrypi Merge pull request #7151 from fonix232/feature/waveshare_rp2040_plus_support 2023-08-29 13:00:37 -07:00
silabs force mpversion.h build early in silabs 2023-08-14 11:28:13 -04:00
stm restore missing board.c file 2023-08-20 11:20:57 -05:00
unix remove last uses of 'u' prefix 2023-08-22 12:57:47 -04:00