circuitpython/supervisor/shared/external_flash
Scott Shawcroft 8137e2d6d2
Switch all ports to auto-growing split heap
This simplifies allocating outside of the VM because the VM doesn't
take up all remaining memory by default.

On ESP we delegate to the IDF for allocations. For all other ports,
we use TLSF to manage an outer "port" heap. The IDF uses TLSF
internally and we use their fork for the other ports.

This also removes the dynamic C stack sizing. It wasn't often used
and is not possible with a fixed outer heap.

Fixes #8512. Fixes #7334.
2023-11-01 15:24:16 -07:00
..
common_commands.h Add license to some obvious files. 2020-07-06 19:16:25 +01:00
device.h Fix devices include by splitting type from defines 2021-03-25 11:37:08 -07:00
devices.h.jinja add missing varriables to devices.h generator 2021-10-24 11:45:15 -07:00
external_flash.c Switch all ports to auto-growing split heap 2023-11-01 15:24:16 -07:00
external_flash.h Move hook implementation to supervisor 2022-04-18 14:09:36 +00:00
qspi_flash.c Enable -Wmissing-prototypes for atmel-samd 2021-11-09 20:05:00 -06:00
qspi_flash.h run code formatting script 2021-03-15 19:27:36 +05:30
spi_flash.c Initializing external flash SPI speed to SPI_FLASH_MAX_BAUDRATE, instead of using driver default speed (32MHz), before probing JEDEC identifier. 2022-12-21 16:33:06 +01:00