Hi
The application I'm currently working on has three debug settings:
- DEBUG preprocessor symbol
- Optimization level 0
- NRF_LOG at debug level (using RTT)
...and works fine.
But when I increase the optimization level (from 1 to 3) AND change NRF_LOG to info, the application crashes with 'ERROR 3 [NRF_ERROR_INTERNAL]' on the APP_ERROR_CHECK routine after the 'ble_conn_params_init()' function.
This error happens at each NRF_LOG level, except debug, and disappears when I disable nRF_LOG.
Any idea what to look at?
Thanks,
Sebastien