aboutsummaryrefslogtreecommitdiffhomepage
path: root/GNUmakefile
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2023-12-22 11:48:44 +0100
committerBCG <[email protected]>2023-12-23 08:14:35 -0500
commit8d2a07b92710db817f5a70f57e5338c617660bad (patch)
tree01c214a18ddd8e6fc6c7ab31b94a3e9e6f328653 /GNUmakefile
parentffe6dfd21bb8aaccc63cfb2c2e93f7d98068e76a (diff)
downloadtinygo-8d2a07b92710db817f5a70f57e5338c617660bad.tar.gz
tinygo-8d2a07b92710db817f5a70f57e5338c617660bad.zip
main: add -serial=rtt support
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index f38019887..730bd99f7 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -777,6 +777,8 @@ endif
@$(MD5SUM) test.hex
$(TINYGO) build -size short -o test.hex -target=pca10040 -serial=none examples/echo
@$(MD5SUM) test.hex
+ $(TINYGO) build -size short -o test.hex -target=pca10040 -serial=rtt examples/echo
+ @$(MD5SUM) test.hex
$(TINYGO) build -o test.nro -target=nintendoswitch examples/serial
@$(MD5SUM) test.nro
$(TINYGO) build -size short -o test.hex -target=pca10040 -opt=0 ./testdata/stdlib.go