aboutsummaryrefslogtreecommitdiffhomepage
path: root/compileopts
diff options
context:
space:
mode:
authorsago35 <[email protected]>2022-09-25 02:09:41 +0900
committerGitHub <[email protected]>2022-09-24 19:09:41 +0200
commit9e2444197826290f1d774a5c0f6be9802afab2f6 (patch)
tree85c70627ddb510f0ee15a154fa8dfcfad4e15038 /compileopts
parent1e6c14b3e4015fa25e921cb1748e10f176e8c209 (diff)
downloadtinygo-9e2444197826290f1d774a5c0f6be9802afab2f6.tar.gz
tinygo-9e2444197826290f1d774a5c0f6be9802afab2f6.zip
main: allow setting the baud rate for serial monitors (#3190)
* main: allow setting the baud rate for serial monitors with default baudrate of 115200 bps
Diffstat (limited to 'compileopts')
-rw-r--r--compileopts/options.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/compileopts/options.go b/compileopts/options.go
index d70c4c051..a7b98e5c7 100644
--- a/compileopts/options.go
+++ b/compileopts/options.go
@@ -51,6 +51,7 @@ type Options struct {
Directory string
PrintJSON bool
Monitor bool
+ BaudRate int
}
// Verify performs a validation on the given options, raising an error if options are not valid.