diff options
author | Olivier Fauchon <[email protected]> | 2021-12-09 00:22:09 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2021-12-13 16:02:00 +0100 |
commit | 93ac7cec0d131e651dcfd79e3d068f6f50d2af89 (patch) | |
tree | 2d399055636bab6645234f30914df9edf6bc69f0 /targets | |
parent | b4503c1e372f3a1eb4fc429a17ef5b0e102b6d42 (diff) | |
download | tinygo-93ac7cec0d131e651dcfd79e3d068f6f50d2af89.tar.gz tinygo-93ac7cec0d131e651dcfd79e3d068f6f50d2af89.zip |
stm32/stm32wlx: Add support for stm32wl55_cm4
board/stm32: Add support for GNSE (Generic Node Sensor Edition)
Thanks to @jamestait for his help on GNSE port
Diffstat (limited to 'targets')
-rw-r--r-- | targets/gnse.json | 12 | ||||
-rw-r--r-- | targets/nucleo-wl55jc.json | 3 | ||||
-rw-r--r-- | targets/stm32wl5x_cm4.json | 8 | ||||
-rw-r--r-- | targets/stm32wle5.json | 6 | ||||
-rw-r--r-- | targets/stm32wlx.ld (renamed from targets/stm32wle5.ld) | 0 |
5 files changed, 24 insertions, 5 deletions
diff --git a/targets/gnse.json b/targets/gnse.json new file mode 100644 index 000000000..5453c7f9a --- /dev/null +++ b/targets/gnse.json @@ -0,0 +1,12 @@ +{ + "inherits": [ + "stm32wl5x_cm4" + ], + "build-tags": [ + "gnse" + ], + "serial": "uart", + "flash-method": "openocd", + "openocd-interface": "stlink", + "openocd-target": "stm32wlx" +} diff --git a/targets/nucleo-wl55jc.json b/targets/nucleo-wl55jc.json index c8b2356d2..3e4f8ca1b 100644 --- a/targets/nucleo-wl55jc.json +++ b/targets/nucleo-wl55jc.json @@ -1,12 +1,11 @@ { "inherits": [ - "stm32wle5" + "stm32wl5x_cm4" ], "build-tags": [ "nucleowl55jc" ], "serial": "uart", - "linkerscript": "targets/stm32wle5.ld", "flash-method": "openocd", "openocd-interface": "stlink", "openocd-target": "stm32wlx" diff --git a/targets/stm32wl5x_cm4.json b/targets/stm32wl5x_cm4.json new file mode 100644 index 000000000..00d8bbb82 --- /dev/null +++ b/targets/stm32wl5x_cm4.json @@ -0,0 +1,8 @@ +{ + "inherits": ["cortex-m4"], + "build-tags": [ "stm32wl5x_cm4","stm32wlx", "stm32"], + "extra-files": [ + "src/device/stm32/stm32wl5x_cm4.s" + ], + "linkerscript": "targets/stm32wlx.ld" +} diff --git a/targets/stm32wle5.json b/targets/stm32wle5.json index ac3b8bcea..f24f28f2e 100644 --- a/targets/stm32wle5.json +++ b/targets/stm32wle5.json @@ -1,8 +1,8 @@ { "inherits": ["cortex-m4"], - "build-tags": ["stm32wle5", "stm32"], + "build-tags": [ "stm32wle5","stm32wlx", "stm32"], "extra-files": [ "src/device/stm32/stm32wle5.s" ], - "linkerscript": "targets/stm32wle5.ld" -}
\ No newline at end of file + "linkerscript": "targets/stm32wlx.ld" +} diff --git a/targets/stm32wle5.ld b/targets/stm32wlx.ld index 59b616903..59b616903 100644 --- a/targets/stm32wle5.ld +++ b/targets/stm32wlx.ld |