|
|
@ -11,9 +11,9 @@ if (NOT NRF5_SDK_PATH)
|
|
|
|
message(FATAL_ERROR "The path to the NRF52 SDK must be specified on the command line (add -DNRF5_SDK_PATH=<path>")
|
|
|
|
message(FATAL_ERROR "The path to the NRF52 SDK must be specified on the command line (add -DNRF5_SDK_PATH=<path>")
|
|
|
|
endif ()
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
|
|
|
|
if(NOT USE_JLINK AND NOT USE_GDB_CLIENT)
|
|
|
|
#if(NOT USE_JLINK AND NOT USE_GDB_CLIENT)
|
|
|
|
set(USE_JLINK true)
|
|
|
|
# set(USE_JLINK true)
|
|
|
|
endif()
|
|
|
|
#endif()
|
|
|
|
|
|
|
|
|
|
|
|
if(USE_JLINK)
|
|
|
|
if(USE_JLINK)
|
|
|
|
if (NOT NRFJPROG)
|
|
|
|
if (NOT NRFJPROG)
|
|
|
@ -44,6 +44,8 @@ elseif(USE_GDB_CLIENT)
|
|
|
|
message(" * Programmer/debugger : GDB Client")
|
|
|
|
message(" * Programmer/debugger : GDB Client")
|
|
|
|
message(" * GDB Client path : " ${GDB_CLIENT_BIN_PATH})
|
|
|
|
message(" * GDB Client path : " ${GDB_CLIENT_BIN_PATH})
|
|
|
|
message(" * GDB Target : " ${GDB_CLIENT_TARGET_REMOTE})
|
|
|
|
message(" * GDB Target : " ${GDB_CLIENT_TARGET_REMOTE})
|
|
|
|
|
|
|
|
elseif(USE_OPENOCD_CLIENT)
|
|
|
|
|
|
|
|
message(" * Programmer/debugger : OpenOCD Client")
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
set(VERSION_EDIT_WARNING "// Do not edit this file, it is automatically generated by CMAKE!")
|
|
|
|
set(VERSION_EDIT_WARNING "// Do not edit this file, it is automatically generated by CMAKE!")
|
|
|
|