Skip to content

Commit

Permalink
add jlink and pyocd to lpc1768 upload methods
Browse files Browse the repository at this point in the history
  • Loading branch information
JojoS62 committed Jan 31, 2025
1 parent 6184722 commit e4cd92f
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions targets/upload_method_cfg/LPC1768.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ set(MBED_RESET_BAUDRATE 115200)
# https://github.com/pyocd/pyOCD/issues/745
# https://github.com/pyocd/pyOCD/issues/1124

#set(PYOCD_UPLOAD_ENABLED TRUE)
#set(PYOCD_TARGET_NAME LPC1768)
#set(PYOCD_CLOCK_SPEED 4000k)
set(PYOCD_UPLOAD_ENABLED TRUE)
set(PYOCD_TARGET_NAME LPC1768)
set(PYOCD_CLOCK_SPEED 4000k)
set(PYOCD_UPLOAD_INTERFACE SWD)

# Config options for OPENOCD
# -------------------------------------------------------------
Expand All @@ -44,4 +45,11 @@ set(OPENOCD_VERSION_RANGE 0.10...<0.13)
# Config options for LINKSERVER
# -------------------------------------------------------------
set(LINKSERVER_UPLOAD_ENABLED TRUE)
set(LINKSERVER_DEVICE LPC1768)
set(LINKSERVER_DEVICE LPC1768)

# Config options for JLINK
# -------------------------------------------------------------
set(JLINK_UPLOAD_ENABLED TRUE)
set(JLINK_CPU_NAME LPC1768)
set(JLINK_CLOCK_SPEED 4000)
set(JLINK_UPLOAD_INTERFACE SWD)

0 comments on commit e4cd92f

Please # to comment.