I've tried ble_app_uart, nrf_serial.c etc. and none seems satisfactory.
I can write to the logger logger/uart during DEBUG, but it doesn't seem to succeed in RUN.
Question:
1. Can SEGGER_RTT be used in RUN build?
2. Can NRF_LOG (_INFO etc.) be used in RUN build, or is it only in DEBUG?
3. I have tried to get nrf_serial.c (nrf_serial_write() etc.) in RUN and I can't seem to get it working.
4. What is the recommended method to get messages out in Runtime?
UPDATE
I am using nrf_serial.c with UART in legacy mode and set to POLLING. It is writing enough debug data (in RUNTIME) for now.
Caveat: If you're using nrf_serial, make sure your code doesn't have any printf statements - it crashes the code.
I also turned REDIRECT off.