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

RTT logging not happening with softdevice code

Hi,

NRF_LOG_PRINTF() is working fine with peripheral examples in SDK11. but when I try to do the same in ble_peripheral examples it is not working. I have defined the following BLE_STACK_SUPPORT_REQD NRF_LOG_USES_RTT=1 BOARD_PCA10040 NRF52_PAN_12 NRF52_PAN_15 NRF52_PAN_20 NRF52_PAN_30 NRF52_PAN_31 NRF52_PAN_36 NRF52_PAN_51 NRF52_PAN_53 NRF52_PAN_54 NRF52_PAN_55 NRF52_PAN_58 NRF52_PAN_62 NRF52_PAN_63 NRF52_PAN_64 CONFIG_GPIO_AS_PINRESET NRF_LOG_USES_UART=1 NRF52 SWI_DISABLE0 SOFTDEVICE_PRESENTin options->C/C++ defines. I tried this in ble_app_uart project in which nRF_SEGGER_RTT files are included already. What may be the probelm? How can I do RTT logging in ble_peripheral codes? Please help.

Thanks

Related