diff options
| author | Damien George <damien.p.george@gmail.com> | 2018-11-28 15:00:45 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2018-11-28 15:00:45 +1100 |
| commit | 485514f57a7e629abf6b23e5ee7e2d5dc7cdf238 (patch) | |
| tree | 90cba185a7f8a3e46e55822bb8324e4247a553f3 /py/builtinevex.c | |
| parent | 0233049b794d8ed45f1f8dbaffb30e6b78aabb7e (diff) | |
esp32: Allocate task TCB and stack from system heap not uPy heap.
This is necessary for two reasons: 1) FreeRTOS still needs the TCB data
structure even after vPortCleanUpTCB has been called, so this latter hook
function cannot free the TCB, and there is no where else to safely delete
it (this behaviour has changed recently in the ESP IDF); 2) when using
external SPI RAM the uPy heap is in this external memory but the task stack
must be allocated from internal SRAM.
Fixes issue #3904.
Diffstat (limited to 'py/builtinevex.c')
0 files changed, 0 insertions, 0 deletions
