I'm using nrf51, I noticed that when I disable some functions calling (in the file flash_memory_management.c
), the behavior or the function in the file (fatigue.c
) is correct. this last function has many static data on it, its size is shown in the map file. but when I enable those functions of the file flash_memory_management.c
, I noticed that the data on function (in the file fatigue.
c) are corrupted.
my question is,
1 by viewing the map file, can this be caused by RAM overlow? does the RAM and the stack overlap?. in the map file : Total RW Size 7176 ( 7.01kB)
2 - would increasing stack size fix the issue??
I already set the heap size to 0 : Heap_Size EQU 0