JN5169 does not support dynamic storage(compilation error with malloc function), but why is the minimum heap set to 2000 in JN-AN-1217 Makefile?
STACK_SIZE = 5000
MINIMUM_HEAP_SIZE = 2000
Thanks.
Hi,
I hope you are doing great.
Unfortunately, we do not provide dynamic memory allocation on the JN5169 device.
We recommend memory pools and do the allocation from there.
Sorry for any inconvenience that this may cause you.
Regards,
Mario
Hi,
JN5169 does not support dynamic memory, so will the setting of MINIMUM_HEAP_SIZE = 2000 in the Makefile occupy RAM space?
If it takes up memory, can I remove it?
Regards.
hs
Hi,
This value is reserving the memory size that the Stack, in this case, will need for running all the processes that it needs.
Regards,
Mario