This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Flashlog Backend Compatibility with NRF_LOG_PUSH

In our application, I've incorporated use of the Flashlog backend to store debug logs into flash on our device. Overall this functionality is awesome, but I've noticed that it doesn't work well with logging of dynamic strings using NRF_LOG_PUSH. It appears this is because the log messages are stored to flash with the pointer to the string as an argument and, after reset of the nRF52, the pointers that were stored for these strings are no longer valid.

Is there any possibility that support will be added for storing these strings to flash as part of the flash logger backend?

Alternatively, has anyone rolled their own solution for this limitation?

Parents Reply Children
No Data
Related