circuitpython/shared-bindings
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
..
__future__ Switch all ports to auto-growing split heap 2023-11-01 15:24:16 -07:00
_bleio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
_eve convert to MP_DEFINED_CONST_OBJ_TYPE() 2023-09-19 21:09:29 -04:00
_pew Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
_pixelmap Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
_stage Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
adafruit_bus_device Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
adafruit_pixelbuf Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
aesio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
alarm Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
analogbufio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
analogio Fix native property setting from subclass 2023-10-24 16:20:51 -07:00
atexit wip: continuing compilation fixes; mp_obj_alloc everywhere 2023-08-07 20:45:57 -04:00
audiobusio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
audiocore Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
audioio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
audiomixer Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
audiomp3 Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
audiopwmio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
bitbangio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
bitmaptools Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
bitops Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
board Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
busdisplay Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
busio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
camera convert to MP_DEFINED_CONST_OBJ_TYPE() 2023-09-19 21:09:29 -04:00
canio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
countio Fix native property setting from subclass 2023-10-24 16:20:51 -07:00
digitalio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
displayio Switch all ports to auto-growing split heap 2023-11-01 15:24:16 -07:00
dotclockframebuffer Fix native property setting from subclass 2023-10-24 16:20:51 -07:00
dualbank Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
epaperdisplay Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
floppyio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
fontio Fix native property setting from subclass 2023-10-24 16:20:51 -07:00
fourwire Switch all ports to auto-growing split heap 2023-11-01 15:24:16 -07:00
framebufferio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
frequencyio Fix native property setting from subclass 2023-10-24 16:20:51 -07:00
getpass Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
gifio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
gnss Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
hashlib Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
i2cdisplaybus Switch all ports to auto-growing split heap 2023-11-01 15:24:16 -07:00
i2ctarget Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
imagecapture convert to MP_DEFINED_CONST_OBJ_TYPE() 2023-09-19 21:09:29 -04:00
ipaddress Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
is31fl3741 Switch all ports to auto-growing split heap 2023-11-01 15:24:16 -07:00
keypad Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
math Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
mdns Updates for CircuitPython 9.x 2023-10-30 20:53:26 -07:00
memorymap Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
memorymonitor Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
microcontroller Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
msgpack Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
neopixel_write initial merge from v1.20.0; just satisifying conflicts 2023-09-19 11:10:12 -04:00
nvm Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
onewireio convert to MP_DEFINED_CONST_OBJ_TYPE() 2023-09-19 21:09:29 -04:00
os Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
paralleldisplaybus Switch all ports to auto-growing split heap 2023-11-01 15:24:16 -07:00
ps2io Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
pulseio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
pwmio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
qrio Fix qrio named_tuple declaration 2023-10-25 13:12:37 -07:00
rainbowio wip: continuing compilation fixes; mp_obj_alloc everywhere 2023-08-07 20:45:57 -04:00
random Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
rgbmatrix Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
rotaryio Fix native property setting from subclass 2023-10-24 16:20:51 -07:00
rtc Fix native property setting from subclass 2023-10-24 16:20:51 -07:00
sdcardio convert to MP_DEFINED_CONST_OBJ_TYPE() 2023-09-19 21:09:29 -04:00
sdioio Fix native property setting from subclass 2023-10-24 16:20:51 -07:00
sharpdisplay convert to MP_DEFINED_CONST_OBJ_TYPE() 2023-09-19 21:09:29 -04:00
socketpool Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
ssl Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
storage Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
struct Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
supervisor Switch all ports to auto-growing split heap 2023-11-01 15:24:16 -07:00
synthio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
terminalio MP_REGISTER_ROOT_POINTER for port-specific root pointers 2023-09-29 15:46:42 -04:00
time Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
touchio Fix native property setting from subclass 2023-10-24 16:20:51 -07:00
traceback Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
uheap wip: continuing compilation fixes; mp_obj_alloc everywhere 2023-08-07 20:45:57 -04:00
usb Fix pointer-ness, const-ness of compressed messages 2023-10-25 21:40:11 +02:00
usb_cdc Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
usb_hid Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
usb_host RP2040 now builds 2023-10-05 14:49:49 -04:00
usb_midi Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
ustack wip: continuing compilation fixes; mp_obj_alloc everywhere 2023-08-07 20:45:57 -04:00
vectorio Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
warnings Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
watchdog Fix native property setting from subclass 2023-10-24 16:20:51 -07:00
wifi Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
zlib Merge remote-tracking branch 'adafruit/main' into v1.20-merge 2023-10-11 11:21:57 -07:00
help.rst Apply a Sphinx transform to make the core module docs look better 2020-08-07 00:01:31 +09:00
index.rst docs: Improve 5.0.x <-> main branch doc linkrot 2020-06-14 11:12:35 -05:00
support_matrix.rst Fix docs build by splitting out support matrix 2023-10-24 16:20:51 -07:00
util.c Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
util.h synthio: Add LFOs 2023-05-15 21:15:39 -05:00