minor changes regarding building (#356)
* don't enforce any flashing through debug ports
This commit is contained in:
parent
d6cccc2dcd
commit
bb26c68f2c
|
@ -21,10 +21,6 @@ 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 AND NOT USE_OPENOCD)
|
|
||||||
set(USE_JLINK true)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(USE_JLINK)
|
if(USE_JLINK)
|
||||||
if (NOT NRFJPROG)
|
if (NOT NRFJPROG)
|
||||||
message(FATAL_ERROR "the path to the tool nrfjprog must be specified on the command line (add -DNRFJPROG=<path>")
|
message(FATAL_ERROR "the path to the tool nrfjprog must be specified on the command line (add -DNRFJPROG=<path>")
|
||||||
|
|
Loading…
Reference in a new issue