aboutsummaryrefslogtreecommitdiffhomepage
path: root/compileopts
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2022-11-06 21:47:58 +0100
committerRon Evans <[email protected]>2022-11-13 20:47:11 +0100
commit73b368270c3bfe284729e81f94a698647eba4c20 (patch)
tree5cb7a24c40c3e2c1a671d64a976da58be4104cff /compileopts
parent2001c44ed3cf33bd625ebae5ebd23e003a1ff056 (diff)
downloadtinygo-73b368270c3bfe284729e81f94a698647eba4c20.tar.gz
tinygo-73b368270c3bfe284729e81f94a698647eba4c20.zip
compileopts: add 'retries' flag to allow setting the number of times to retry locating the MSD volume when flashing
Signed-off-by: deadprogram <[email protected]>
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 c201ceb20..11d8d40b2 100644
--- a/compileopts/options.go
+++ b/compileopts/options.go
@@ -51,6 +51,7 @@ type Options struct {
PrintJSON bool
Monitor bool
BaudRate int
+ Retries int
}
// Verify performs a validation on the given options, raising an error if options are not valid.