In JN-SW-4170, the variables I see are generated at compile time. Didn't see the dynamically allocated variables, what is the space for which 'MINIMUM_HEAP_SIZE' is prepared for?
I still have another question that I want to ask.
The memory size used by firmware is data + bss + heap or data + bss?
I found that some programs can run when data + bss < 32768 < data + bss + heap, but some can't.
So, I don't know where 'MINIMUM_HEAP_SIZE' is used. It seems that there is no dynamically allocated data in the code.
Thanks!
Hi Teddy,
The MINIMUM_HEAP_SIZE = 2000
There is no dynamically memory.
Regards,
Mario
Hi Mario,
Thanks for reply.
Must be set to 2000?
Does the firmware's running memory need to include this number?
Can I set it smaller? For example 0?
Hi Teddy,
Yes, it must be set to 2000. The stack needs this minimum size memory.
Regards,
Mario