aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets
diff options
context:
space:
mode:
authorRon Evans <[email protected]>2018-11-27 19:30:28 +0100
committerAyke van Laethem <[email protected]>2018-12-01 18:19:42 +0100
commit8f35a4711a0d090e056d641da8cc936ff8a38a4f (patch)
tree0ab229d4b8f3833c0568c16ff41732d511c49b30 /targets
parent70830cd9da2c74c5881af18b677a9d6fdfbadf71 (diff)
downloadtinygo-8f35a4711a0d090e056d641da8cc936ff8a38a4f.tar.gz
tinygo-8f35a4711a0d090e056d641da8cc936ff8a38a4f.zip
pca10056: support this nrf52840-based board
Signed-off-by: Ron Evans <[email protected]>
Diffstat (limited to 'targets')
-rw-r--r--targets/pca10056.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/targets/pca10056.json b/targets/pca10056.json
new file mode 100644
index 000000000..382d2277e
--- /dev/null
+++ b/targets/pca10056.json
@@ -0,0 +1,7 @@
+{
+ "inherits": ["nrf52840"],
+ "build-tags": ["pca10056"],
+ "flash": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
+ "ocd-daemon": ["openocd", "-f", "interface/cmsis-dap.cfg", "-f", "target/nrf51.cfg"],
+ "gdb-initial-cmds": ["target remote :3333", "monitor halt", "load", "monitor reset", "c"]
+}