From 5ef8c899378754ae86323df6d190e407b1463799 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Fri, 20 Mar 2020 16:48:00 +0100 Subject: [PATCH] reelboard: add SoftDevice target reelboard-s140v7 Unfortunately, `tinygo flash` doesn't work here. You have to merge the SoftDevice and the application hex with a mergehex tool and flash that to the board. --- Makefile | 2 ++ targets/reelboard-s140v7.json | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 targets/reelboard-s140v7.json diff --git a/Makefile b/Makefile index ea68969e..bacd9b5d 100644 --- a/Makefile +++ b/Makefile @@ -289,6 +289,8 @@ smoketest: @$(MD5SUM) test.hex $(TINYGO) build -size short -o test.hex -target=pca10056-s140v7 examples/blinky1 @$(MD5SUM) test.hex + $(TINYGO) build -size short -o test.hex -target=reelboard-s140v7 examples/blinky1 + @$(MD5SUM) test.hex ifneq ($(AVR), 0) $(TINYGO) build -size short -o test.hex -target=atmega1284p examples/serial @$(MD5SUM) test.hex diff --git a/targets/reelboard-s140v7.json b/targets/reelboard-s140v7.json new file mode 100644 index 00000000..7e658c7d --- /dev/null +++ b/targets/reelboard-s140v7.json @@ -0,0 +1,3 @@ +{ + "inherits": ["reelboard", "nrf52840-s140v7"] +}