diff options
author | Ron Evans <[email protected]> | 2018-11-27 19:30:28 +0100 |
---|---|---|
committer | Ayke van Laethem <[email protected]> | 2018-12-01 18:19:42 +0100 |
commit | 8f35a4711a0d090e056d641da8cc936ff8a38a4f (patch) | |
tree | 0ab229d4b8f3833c0568c16ff41732d511c49b30 /targets | |
parent | 70830cd9da2c74c5881af18b677a9d6fdfbadf71 (diff) | |
download | tinygo-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.json | 7 |
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"] +} |