Heap logging

Hi,

I have an application based on SDK6 example that I run on DA14531 devkit PRO. I wrote a makefile to use GCC compiler. Now, I am running into hardfaults in some random situations and I would like to debug the problem. I replace da14531.lib with da14531_with_heap_logging.lib, defined CFG_LOG_HEAP_USAGE in da1458x_config_advanced.h, added heaps structs with extern keyword `extern struct mem_usage_log heap_usage_env     __SECTION_ZERO("retention_mem_area0"); ` (for all 4 heaps) and now I am trying to print some data from those structs, but they always all 0. Any idea?

Best regards,
Michal