I have some short questions regarding the m4 heap and stack size. First of all we had already to move to the OCRAM linker script as our elf file got quite big. Now I wondered why the heap and stack size are the same for the tcm and ocram memory. So my questions are
Why is the stack / heap size just 1kb also in the OCRAM memory?
Would it do any harm to increase the heap size in the linker script (as long there is enough memory in the specified regions)?
Could one just use the tcm m_data memory region for the heap? Something that speaks against that (besides manually hacking linker files)?
Additional question regarding the FreeRTOS
In the provided examples sometimes the value of the heap is as following.
#define configTOTAL_HEAP_SIZE ((size_t)(20 * 1024))
Am I right in the assumption that these is inconsistent with the linker files and should at the moment be 1 * 1024?