How to enable C / C++ asserts?

Hi,

normally, I would set the CMAKE_BUILD_TYPE to `Debug` to enable Cs "assert" function (not define NDEBUG). Zephyr (and Nordic-Zephyr as well) has the `CONFIG_ASSERT` configuration option but this seems to only enable Zephyrs asserts. How am I'm supposed to enable C asserts (aka how to _not_ define NDEBUG)?

best regards

Torsten

Related