aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2024-02-21 00:09:34 +0100
committerRon Evans <[email protected]>2024-02-23 14:00:57 +0100
commitc66836cf3a543d3a41d7bf9510a3c2511c7770c4 (patch)
tree37adcf0b6180fd486c767af7dd3774b5dca6f11a /targets
parentca9211b582e9295c167e5ec5cdef2265823861ca (diff)
downloadtinygo-c66836cf3a543d3a41d7bf9510a3c2511c7770c4.tar.gz
tinygo-c66836cf3a543d3a41d7bf9510a3c2511c7770c4.zip
targets: add support for Thumby
Signed-off-by: deadprogram <[email protected]>
Diffstat (limited to 'targets')
-rw-r--r--targets/thumby.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/targets/thumby.json b/targets/thumby.json
new file mode 100644
index 000000000..41cbc5e12
--- /dev/null
+++ b/targets/thumby.json
@@ -0,0 +1,14 @@
+{
+ "inherits": [
+ "rp2040"
+ ],
+ "serial-port": ["2e8a:0005"],
+ "build-tags": ["thumby"],
+ "default-stack-size": 8192,
+ "ldflags": [
+ "--defsym=__flash_size=2048K"
+ ],
+ "extra-files": [
+ "targets/pico-boot-stage2.S"
+ ]
+}