File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF51/source/btle Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -299,10 +299,10 @@ static void btle_handler(ble_evt_t *p_ble_evt)
299
299
gattServer.hwCallback (p_ble_evt);
300
300
}
301
301
302
- /* ! @brief Callback when an error occurs inside the SoftDevice */
302
+ /* ! @brief Callback when an error occurs inside the SoftDevice or ASSERT in debug */
303
303
void assert_nrf_callback (uint16_t line_num, const uint8_t *p_file_name)
304
304
{
305
- ASSERT_TRUE ( false , ( void ) 0 );
305
+ error ( " nrf failure at %s:%d " , p_file_name, line_num );
306
306
}
307
307
308
308
/* !
Original file line number Diff line number Diff line change 3450
3450
" CMSIS_VECTAB_VIRTUAL" ,
3451
3451
" CMSIS_VECTAB_VIRTUAL_HEADER_FILE=\" cmsis_nvic.h\" " ,
3452
3452
" NO_SYSTICK" ,
3453
- " MBED_TICKLESS"
3453
+ " MBED_TICKLESS" ,
3454
+ " DEBUG_NRF_USER"
3454
3455
],
3455
3456
"MERGE_BOOTLOADER" : false ,
3456
3457
"extra_labels" : [
You can’t perform that action at this time.
0 commit comments