circuitpython/shared-module/usb_cdc
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
..
Serial.c Fix USB issues caused by early usb_cdc.Serial read 2022-10-21 20:42:26 -07:00
Serial.h handle reads/writes larger than buffers; add .write_timeout 2021-02-19 14:15:31 -05:00
__init__.c Switch all ports to auto-growing split heap 2023-11-01 15:24:16 -07:00
__init__.h style(swan_r5): pre-commit whitespace style changes 2021-09-28 18:52:03 -07:00