From ae560bd8250d351fbe456daaffbf749682630c24 Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 29 Jan 2019 17:31:32 +0700 Subject: [PATCH] fix segger debug with SD - Add macro NO_VTOR_CONFIG - In Properties -> Debugger -> Debugger Options -> Start From Entry Point Symbol, set to 'No.' This is because we should enter our SoftDevice's ResetHandler(), not our applications. For more information, see RK's comment below. --- examples/device/cdc_msc_hid/ses/nrf5x/nrf5x.emProject | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/device/cdc_msc_hid/ses/nrf5x/nrf5x.emProject b/examples/device/cdc_msc_hid/ses/nrf5x/nrf5x.emProject index b859d1aad..b94dac089 100644 --- a/examples/device/cdc_msc_hid/ses/nrf5x/nrf5x.emProject +++ b/examples/device/cdc_msc_hid/ses/nrf5x/nrf5x.emProject @@ -118,6 +118,7 @@ build_treat_warnings_as_errors="No" c_preprocessor_definitions="SOFTDEVICE_PRESENT;S140;NO_VTOR_CONFIG" c_user_include_directories="$(nrfxDir)/../nrf5x/s140_nrf52_6.1.1_API/include;$(nrfxDir)/../nrf5x/s140_nrf52_6.1.1_API/include/nrf52" + debug_start_from_entry_point_symbol="No" linker_memory_map_file="nRF52840_xxAA_s140v6_MemoryMap.xml" />