Skip to content

Commit 8c3bafd

Browse files
committed
add JLink upload method
1 parent 458a2ef commit 8c3bafd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

targets/upload_method_cfg/LPCXPRESSO_LPC1769.cmake

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,10 @@ set(OPENOCD_VERSION_RANGE 0.10...<0.13)
4646
set(LINKSERVER_UPLOAD_ENABLED TRUE)
4747
set(LINKSERVER_DEVICE LPC1769)
4848

49+
# Config options for JLINK
50+
# -------------------------------------------------------------
51+
set(JLINK_UPLOAD_ENABLED TRUE)
52+
set(JLINK_CPU_NAME LPC1769)
53+
set(JLINK_CLOCK_SPEED 4000)
54+
set(JLINK_UPLOAD_INTERFACE SWD)
55+

0 commit comments

Comments
 (0)