aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2024-05-13 18:41:37 +0200
committerRon Evans <[email protected]>2024-05-13 20:10:36 +0200
commitee3a05f1de2cfac22eff91d4bc6651ff43bbc320 (patch)
tree1301374cbdd6e003a749052ac3ff733942ecc0fc /targets
parent930720411159e41639f9de5b91e7a27a8dea963e (diff)
downloadtinygo-ee3a05f1de2cfac22eff91d4bc6651ff43bbc320.tar.gz
tinygo-ee3a05f1de2cfac22eff91d4bc6651ff43bbc320.zip
targets: add support for Badger2040 W
Signed-off-by: deadprogram <[email protected]>
Diffstat (limited to 'targets')
-rw-r--r--targets/badger2040-w.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/targets/badger2040-w.json b/targets/badger2040-w.json
new file mode 100644
index 000000000..4b29dc85b
--- /dev/null
+++ b/targets/badger2040-w.json
@@ -0,0 +1,13 @@
+{
+ "inherits": [
+ "rp2040"
+ ],
+ "serial-port": ["2e8a:0003"],
+ "build-tags": ["badger2040_w"],
+ "ldflags": [
+ "--defsym=__flash_size=1020K"
+ ],
+ "extra-files": [
+ "targets/pico-boot-stage2.S"
+ ]
+}