I have the FRDM-KV10Z and I just started a new SDK2.0 project (including all drivers) with FreeRTOS. It comes with an example with a simple task publishing "Hello world" in the serial interface. When I try to build the project I get an error such as:
file.elf section `.bss' will not fit in region `m_data'
region m_data overflowed with stack and heap
region `m_data' overflowed by 3440 bytes
I have been checking and found that this could be an SRAM size issue. The KV10 has 8kB memory so I am afraid the MCU hasn't memory enough to run with FreeRTOS. I found this explanation in this website with another MCU from NXP:
in this case the KV10 doesnt have 2 partitions in the SRAM as far as I saw on the .Id file
However I have also been checking on the FreeRTOS website but they don't look like using that much SRAM.
My question would be if my assumption is right. In case I want to run with FreeRTOS, do I need a MCU with bigger SRAM size? Probably upgrading to KV3?