7156 - Propel: How to perform Memory Allocation in RISC-V
Description:
Malloc (Memory Allocation) require you to allocate memory to heap.
In Propel SDK, the default heap allocation is 0. You should allocate a minimum amount of memory (example: 0x100) for malloc initialization.
Solution:
You may find the HEAP_SIZE setting in linker.ld file under your Software project directory.