summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-01-29 17:31:32 +0700
committerhathach <[email protected]>2019-01-29 17:31:32 +0700
commitae560bd8250d351fbe456daaffbf749682630c24 (patch)
tree6e946bb08c785e2833efbe965516939cf652b690
parentc81b56eb4568d329eb3b02173771a9062c76c952 (diff)
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.
-rw-r--r--examples/device/cdc_msc_hid/ses/nrf5x/nrf5x.emProject1
1 files changed, 1 insertions, 0 deletions
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" />
</project>
<configuration Name="pca10056" />