aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2024-05-24 16:28:25 +0200
committerRon Evans <[email protected]>2024-05-24 17:37:49 +0200
commitc2776dcf78125abb86e3e7b4a110bb0d07386d09 (patch)
tree9267ff58bfa41f5c9587d84c25cff88e0ce0e4bc
parentad0340d437fc7995e12a24b06bf82807c2cb661a (diff)
downloadtinygo-c2776dcf78125abb86e3e7b4a110bb0d07386d09.tar.gz
tinygo-c2776dcf78125abb86e3e7b4a110bb0d07386d09.zip
main: add -serial=rtt flag as possible option
I added this a while ago but forgot to change the help documentation.
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 3d030dba3..6b3aeb3b0 100644
--- a/main.go
+++ b/main.go
@@ -1412,7 +1412,7 @@ func main() {
gc := flag.String("gc", "", "garbage collector to use (none, leaking, conservative)")
panicStrategy := flag.String("panic", "print", "panic strategy (print, trap)")
scheduler := flag.String("scheduler", "", "which scheduler to use (none, tasks, asyncify)")
- serial := flag.String("serial", "", "which serial output to use (none, uart, usb)")
+ serial := flag.String("serial", "", "which serial output to use (none, uart, usb, rtt)")
work := flag.Bool("work", false, "print the name of the temporary build directory and do not delete this directory on exit")
interpTimeout := flag.Duration("interp-timeout", 180*time.Second, "interp optimization pass timeout")
var tags buildutil.TagsFlag