Increasing the heap when working with AmazonFreeRTOS
Posted: Mon Aug 05, 2019 12:09 am
I am trying to use the ESP-WHO framework with the AmazonFreeRTOS. But I run out of heap space when storing the image. It throws the error:
I have enabled the SPI RAM (Component Config > ESP32 Specific > Support for External SPI RAM). Even though for heap initialization in FreeRTOSConfig.h is set to:
when I call xPortGetFreeHeapSize() the output is only 65536
What changes are necessary for the correct heap allocation?
I tested it by lowering the resolution to QQVGA but it still crashes when doing the face detection.matrix3du item alloc failed
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
I have enabled the SPI RAM (Component Config > ESP32 Specific > Support for External SPI RAM). Even though for heap initialization in FreeRTOSConfig.h is set to:
Code: Select all
#define configTOTAL_HEAP_SIZE ( ( size_t ) (256 * 1024) )
What changes are necessary for the correct heap allocation?