aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorsago35 <[email protected]>2020-08-26 21:24:29 +0900
committerRon Evans <[email protected]>2020-08-28 14:54:53 +0200
commitae01904ab08fe65c5f6a63962381cc1c5b78989a (patch)
tree4cc5f1504736b7f39a38602751a1e30eb47186d5
parent2194d447e9e0bf59e1ccea0870b920a4e7df1710 (diff)
downloadtinygo-ae01904ab08fe65c5f6a63962381cc1c5b78989a.tar.gz
tinygo-ae01904ab08fe65c5f6a63962381cc1c5b78989a.zip
flash: add openocd settings to nrf5
-rw-r--r--targets/nrf51.json1
-rw-r--r--targets/nrf52.json1
-rw-r--r--targets/nrf52840.json1
3 files changed, 3 insertions, 0 deletions
diff --git a/targets/nrf51.json b/targets/nrf51.json
index 9959c6f79..f8870bc9a 100644
--- a/targets/nrf51.json
+++ b/targets/nrf51.json
@@ -14,5 +14,6 @@
"lib/nrfx/mdk/system_nrf51.c",
"src/device/nrf/nrf51.s"
],
+ "openocd-transport": "swd",
"openocd-target": "nrf51"
}
diff --git a/targets/nrf52.json b/targets/nrf52.json
index 58f42c29e..765fee23f 100644
--- a/targets/nrf52.json
+++ b/targets/nrf52.json
@@ -12,5 +12,6 @@
"lib/nrfx/mdk/system_nrf52.c",
"src/device/nrf/nrf52.s"
],
+ "openocd-transport": "swd",
"openocd-target": "nrf51"
}
diff --git a/targets/nrf52840.json b/targets/nrf52840.json
index 4ab30a208..c8470c655 100644
--- a/targets/nrf52840.json
+++ b/targets/nrf52840.json
@@ -12,5 +12,6 @@
"lib/nrfx/mdk/system_nrf52840.c",
"src/device/nrf/nrf52840.s"
],
+ "openocd-transport": "swd",
"openocd-target": "nrf51"
}