cleaned up openocd cmake options and added a readme
This commit is contained in:
@@ -31,6 +31,12 @@ if(USE_GDB_CLIENT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(USE_OPENOCD)
|
||||
if(NOT OPENOCD_BIN_PATH)
|
||||
set(OPENOCD_BIN_PATH "openocd")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
message("BUILD CONFIGURATION")
|
||||
message("-------------------")
|
||||
message(" * Version : " ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
|
||||
@@ -44,7 +50,7 @@ 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)
|
||||
elseif(USE_OPENOCD)
|
||||
message(" * Programmer/debugger : OpenOCD Client")
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user