summaryrefslogtreecommitdiff
path: root/py/objarray.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-11-28 15:00:45 +1100
committerDamien George <damien.p.george@gmail.com>2018-11-28 15:00:45 +1100
commit485514f57a7e629abf6b23e5ee7e2d5dc7cdf238 (patch)
tree90cba185a7f8a3e46e55822bb8324e4247a553f3 /py/objarray.c
parent0233049b794d8ed45f1f8dbaffb30e6b78aabb7e (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/objarray.c')
0 files changed, 0 insertions, 0 deletions