Commit 8137e2d
committed
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 adafruit#8512. Fixes adafruit#7334.1 parent 648c141 commit 8137e2d
91 files changed
Lines changed: 660 additions & 1438 deletions
File tree
- lib
- libm
- locale
- ports
- atmel-samd
- boards
- metro_m0_express
- supervisor
- broadcom
- supervisor
- cxd56/supervisor
- espressif
- bindings/espidf
- common-hal
- _bleio
- espcamera
- espidf
- esp-idf-config
- supervisor
- litex
- supervisor
- mimxrt10xx
- supervisor
- nrf
- bluetooth
- boards/bluemicro833
- supervisor
- raspberrypi
- common-hal/picodvi
- supervisor
- silabs/supervisor
- stm
- common-hal/audiobusio
- supervisor
- py
- supervisor
- stub
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1271 | 1271 | | |
1272 | 1272 | | |
1273 | 1273 | | |
1274 | | - | |
1275 | | - | |
1276 | | - | |
1277 | | - | |
1278 | 1274 | | |
1279 | 1275 | | |
1280 | 1276 | | |
| |||
2164 | 2160 | | |
2165 | 2161 | | |
2166 | 2162 | | |
2167 | | - | |
| 2163 | + | |
2168 | 2164 | | |
2169 | 2165 | | |
2170 | 2166 | | |
| |||
2735 | 2731 | | |
2736 | 2732 | | |
2737 | 2733 | | |
2738 | | - | |
| 2734 | + | |
2739 | 2735 | | |
2740 | 2736 | | |
2741 | 2737 | | |
| |||
3004 | 3000 | | |
3005 | 3001 | | |
3006 | 3002 | | |
3007 | | - | |
3008 | | - | |
3009 | | - | |
3010 | | - | |
3011 | | - | |
3012 | | - | |
3013 | 3003 | | |
3014 | 3004 | | |
3015 | 3005 | | |
| |||
0 commit comments