Closed SirRu24 closed 1 year ago
new
and delete
operator will fail when there is insufficient heap memory in sram, so we overload them to use psram for dynamic memory allocationpsram_reserve_malloc
and psram_reserve_free
might not be thread-safe like pvPortMalloc
and vPortFree
, if met with race-condition, you can create a semaphore to lock this heap
Fix #76 :