File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
targets/upload_method_cfg Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,10 @@ set(MBED_RESET_BAUDRATE 115200)
2222# https://github.com/pyocd/pyOCD/issues/745
2323# https://github.com/pyocd/pyOCD/issues/1124
2424
25- #set(PYOCD_UPLOAD_ENABLED TRUE)
26- #set(PYOCD_TARGET_NAME LPC1768)
27- #set(PYOCD_CLOCK_SPEED 4000k)
25+ set (PYOCD_UPLOAD_ENABLED TRUE )
26+ set (PYOCD_TARGET_NAME LPC1768)
27+ set (PYOCD_CLOCK_SPEED 4000k)
28+ set (PYOCD_UPLOAD_INTERFACE SWD)
2829
2930# Config options for OPENOCD
3031# -------------------------------------------------------------
@@ -44,4 +45,11 @@ set(OPENOCD_VERSION_RANGE 0.10...<0.13)
4445# Config options for LINKSERVER
4546# -------------------------------------------------------------
4647set (LINKSERVER_UPLOAD_ENABLED TRUE )
47- set (LINKSERVER_DEVICE LPC1768)
48+ set (LINKSERVER_DEVICE LPC1768)
49+
50+ # Config options for JLINK
51+ # -------------------------------------------------------------
52+ set (JLINK_UPLOAD_ENABLED TRUE )
53+ set (JLINK_CPU_NAME LPC1768)
54+ set (JLINK_CLOCK_SPEED 4000)
55+ set (JLINK_UPLOAD_INTERFACE SWD)
You can’t perform that action at this time.
0 commit comments