Skip to content

Commit 7a02a7c

Browse files
committed
server/boards: use retries flag to accomodate the slow rp2040 usb speeds
Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent e46ae97 commit 7a02a7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/server/boards.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ func (board *Board) flash(sha string) (string, error) {
132132
buildtag,
133133
"tinygo", "flash",
134134
"-size", "short",
135+
"-retries", "25",
135136
"-target", board.target,
136137
port,
137138
".").CombinedOutput()

0 commit comments

Comments
 (0)