aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets
diff options
context:
space:
mode:
authorElias Naur <[email protected]>2024-01-02 19:29:55 -0600
committerRon Evans <[email protected]>2024-01-23 21:04:22 +0100
commitbb66232164a5f839d142dbb6d947716ac81b2bea (patch)
tree97221a459a654b37fc27c043e2c1dce57e14a1a8 /targets
parent9679e7f1cc92109d4379f28069f0e69b12f4d943 (diff)
downloadtinygo-bb66232164a5f839d142dbb6d947716ac81b2bea.tar.gz
tinygo-bb66232164a5f839d142dbb6d947716ac81b2bea.zip
targets: add support for the MKS Robin Nano V3.x
Signed-off-by: Elias Naur <[email protected]>
Diffstat (limited to 'targets')
-rw-r--r--targets/mksnanov3.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/targets/mksnanov3.json b/targets/mksnanov3.json
new file mode 100644
index 000000000..9b202d3ab
--- /dev/null
+++ b/targets/mksnanov3.json
@@ -0,0 +1,12 @@
+{
+ "inherits": ["cortex-m4"],
+ "build-tags": ["mksnanov3", "stm32f407", "stm32f4", "stm32"],
+ "serial": "uart",
+ "linkerscript": "targets/stm32f407.ld",
+ "extra-files": [
+ "src/device/stm32/stm32f407.s"
+ ],
+ "flash-method": "openocd",
+ "openocd-interface": "stlink-v2",
+ "openocd-target": "stm32f4x"
+}