I want at s132 use RT-Thread RTOS,but I see arm_startup_nrf52.s file defined Stack_Size and Heap_Size 8K, can define Heap_Size = 0? reduce the Stack_Size (such as 4K)? so,RT-Thread RTOS can use larger memory.
I want at s132 use RT-Thread RTOS,but I see arm_startup_nrf52.s file defined Stack_Size and Heap_Size 8K, can define Heap_Size = 0? reduce the Stack_Size (such as 4K)? so,RT-Thread RTOS can use larger memory.
Hi,
There is no heap required by nRF52 SoftDevices. The application is free to allocate and use a heap without disrupting the SoftDevice functionality. Heap memory can safely be set to zero as long as you don't use dynamic memory allocation (malloc/free).