Response to comments

pull/15339/head
Jamie Smith 2021-10-31 18:39:35 -07:00 committed by Jay Sridharan
parent 900723fd16
commit 8e453d028a
9 changed files with 9 additions and 9 deletions

View File

@ -68,4 +68,4 @@ include(${CMAKE_CURRENT_LIST_DIR}/create_distro.cmake)
# load upload method
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/upload_methods)
include(${CMAKE_CURRENT_LIST_DIR}/UploadMethodManager.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/UploadMethodManager.cmake)

View File

@ -12,7 +12,7 @@
set(OpenOCD_PATHS "")
# try to figure out where JLink may be installed.
# try to figure out where OpenOCD may be installed.
if("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows")
# on Windows, assume that the user extracted the binaries to Program Files

View File

@ -58,4 +58,4 @@ add_custom_target(gdbserver
-LocalhostOnly
-noIR
-port ${GDB_PORT}
USES_TERMINAL)
USES_TERMINAL)

View File

@ -32,4 +32,4 @@ function(gen_upload_target TARGET_NAME BIN_FILE)
add_dependencies(flash-${TARGET_NAME} ${TARGET_NAME})
endfunction(gen_upload_target)
endfunction(gen_upload_target)

View File

@ -13,4 +13,4 @@ function(gen_upload_target TARGET_NAME BIN_FILE)
# do nothing
endfunction(gen_upload_target)
endfunction(gen_upload_target)

View File

@ -31,4 +31,4 @@ add_custom_target(gdbserver
${OpenOCD}
${OPENOCD_CHIP_CONFIG_COMMANDS}
-c "gdb_port ${GDB_PORT}"
USES_TERMINAL)
USES_TERMINAL)

View File

@ -55,4 +55,4 @@ add_custom_target(gdbserver
-p ${GDB_PORT}
--persist
--semihosting
USES_TERMINAL)
USES_TERMINAL)

View File

@ -58,4 +58,4 @@ add_custom_target(gdbserver
--persistent # don't close debugger after GDB disconnects, matches behavior of other tools like J-Link
-p ${GDB_PORT}
${STM32CUBE_GDB_PROBE_ARGS}
USES_TERMINAL)
USES_TERMINAL)

View File

@ -41,7 +41,7 @@ def error(lines, code=-1):
if len(sys.argv) < 3:
print("Error: Usage: python " + sys.argv[0] + " <path to bin file> <Mbed OS target name> <serial baudrate for sending break> [Target UID for distinguishing multiple targets]")
exit(1)
sys.exit(1)
bin_file = sys.argv[1]
target_name = sys.argv[2]