I am adding JLINK_MOITOR.c and JLINK_MONITOR_ISR_SES.s and add write
#if CONFIG_JLINK_MONITOR_ENABLED
NVIC_SetPriority(DebugMonitor_IRQn, _PRIO_SD_LOW);
#endif
at starting of main loop but code is not compiling some error is comming pls. see error below.
Output/ble_app_uart_c_pca10040_s132 Release/Obj/JLINK_MONITOR_ISR_SES.o: In function `DebugMon_Handler':
1> D:\NORDIC\Nordic\sdk\nRF5_SDK_16.0.0\examples\ble_central\j-link-monitoring-mode-debugging-master/JLINK_MONITOR_ISR_SES.s:159: undefined reference to `JLINK_MONITOR_OnEnter'
1> Output/ble_app_uart_c_pca10040_s132 Release/Obj/JLINK_MONITOR_ISR_SES.o: In function `_WaitForJLinkCmd':
1> D:\NORDIC\Nordic\sdk\nRF5_SDK_16.0.0\examples\ble_central\j-link-monitoring-mode-debugging-master/JLINK_MONITOR_ISR_SES.s:183: undefined reference to `JLINK_MONITOR_OnPoll'
1> Output/ble_app_uart_c_pca10040_s132 Release/Obj/JLINK_MONITOR_ISR_SES.o: In function `_HandleRestartCPU':
1> D:\NORDIC\Nordic\sdk\nRF5_SDK_16.0.0\examples\ble_central\j-link-monitoring-mode-debugging-master/JLINK_MONITOR_ISR_SES.s:228: undefined reference to `JLINK_MONITOR_OnExit'
Build failed