main: add -serial=rtt support

This commit is contained in:
Ayke van Laethem
2023-12-22 11:48:44 +01:00
committed by BCG
parent ffe6dfd21b
commit 8d2a07b927
5 changed files with 294 additions and 35 deletions
+2
View File
@@ -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