aboutsummaryrefslogtreecommitdiffhomepage
path: root/compileopts
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 /compileopts
parentffe6dfd21bb8aaccc63cfb2c2e93f7d98068e76a (diff)
downloadtinygo-8d2a07b92710db817f5a70f57e5338c617660bad.tar.gz
tinygo-8d2a07b92710db817f5a70f57e5338c617660bad.zip
main: add -serial=rtt support
Diffstat (limited to 'compileopts')
-rw-r--r--compileopts/options.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/compileopts/options.go b/compileopts/options.go
index 4440f4cf6..bd99179c7 100644
--- a/compileopts/options.go
+++ b/compileopts/options.go
@@ -10,7 +10,7 @@ import (
var (
validGCOptions = []string{"none", "leaking", "conservative", "custom", "precise"}
validSchedulerOptions = []string{"none", "tasks", "asyncify"}
- validSerialOptions = []string{"none", "uart", "usb"}
+ validSerialOptions = []string{"none", "uart", "usb", "rtt"}
validPrintSizeOptions = []string{"none", "short", "full"}
validPanicStrategyOptions = []string{"print", "trap"}
validOptOptions = []string{"none", "0", "1", "2", "s", "z"}