diff options
| author | lucas <luben93@gmail.com> | 2020-01-26 00:38:06 (GMT) |
|---|---|---|
| committer | lucas <luben93@gmail.com> | 2020-01-26 00:38:06 (GMT) |
| commit | 37d50ed62bd3ff396ac37a23a923a6fcf0f25cad (patch) | |
| tree | faf3ae1b1d93244cf4819f891ae3e78a8f8a528e /CMakeLists.txt | |
| parent | 9dc4e32e36eb1167ee241cdf8027089cad593cf1 (diff) | |
added some inital support for flashing via openocd instead of gdb, for wider compatability
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 063decb..6e2ddea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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>") endif () -if(NOT USE_JLINK AND NOT USE_GDB_CLIENT) - set(USE_JLINK true) -endif() +#if(NOT USE_JLINK AND NOT USE_GDB_CLIENT) +# set(USE_JLINK true) +#endif() if(USE_JLINK) if (NOT NRFJPROG) @@ -44,6 +44,8 @@ elseif(USE_GDB_CLIENT) message(" * Programmer/debugger : GDB Client") message(" * GDB Client path : " ${GDB_CLIENT_BIN_PATH}) message(" * GDB Target : " ${GDB_CLIENT_TARGET_REMOTE}) +elseif(USE_OPENOCD_CLIENT) + message(" * Programmer/debugger : OpenOCD Client") endif() set(VERSION_EDIT_WARNING "// Do not edit this file, it is automatically generated by CMAKE!") |
