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

Can't select logging as the coredump backend in Zephyr

I'm trying to debug a usage fault in my NCS project using an nRF52833 DK. I can't seem to select the logging backend for coredumps. I have the following lines in my prj.conf:

CONFIG_DEBUG_COREDUMP=y
CONFIG_DEBUG_COREDUMP_BACKEND_LOGGING=y
However, I still need to add a coredump partition to make the build succeed. When the usage fault happens, it still tries to write the coredump to flash, but then a Zephyr assertion fails due to the fact that it wants to take a semaphore from ISR context.
I'm using NCS 1.6.0. What am I doing wrong?
Related