Default to JLink programmer/debugger is no USE_* variable has been specified during CMake build.
This commit is contained in:
parent
a3ff41705e
commit
a956ed1e61
|
@ -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 AND NOT USE_OPENOCD)
|
||||||
# set(USE_JLINK true)
|
set(USE_JLINK true)
|
||||||
#endif()
|
endif()
|
||||||
|
|
||||||
if(USE_JLINK)
|
if(USE_JLINK)
|
||||||
if (NOT NRFJPROG)
|
if (NOT NRFJPROG)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user