From c2776dcf78125abb86e3e7b4a110bb0d07386d09 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Fri, 24 May 2024 16:28:25 +0200 Subject: [PATCH] main: add -serial=rtt flag as possible option I added this a while ago but forgot to change the help documentation. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 3d030dba36..6b3aeb3b03 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