modules: build segger debugmon code with config
Updated segger module CMake to build code added by https://github.com/zephyrproject-rtos/segger/pull/14 when relevant config is provided. Signed-off-by: Piotr Jasiński <piotr.jasinski@nordicsemi.no>
This commit is contained in:
parent
48df1a2f2e
commit
ceb7ca7e80
3 changed files with 26 additions and 4 deletions
|
@ -421,3 +421,11 @@ config GDBSTUB_BUF_SZ
|
|||
full GDB packet at a time.
|
||||
|
||||
endif
|
||||
|
||||
config SEGGER_DEBUGMON
|
||||
bool "Use Segger's J-Link debug monitor implementation"
|
||||
depends on CORTEX_M_DEBUG_MONITOR_HOOK
|
||||
help
|
||||
This option will enable Segger's implementation of
|
||||
the debug monitor interrupt, overriding the
|
||||
default z_arm_debug_monitor symbol.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue