aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2020-05-09 12:35:50 +0200
committerAyke <[email protected]>2020-05-09 13:49:40 +0200
commit00f3a659038286877687eae40f48c341a8bdb0ab (patch)
treedfe1d2f5449532c6fa4758f82a2d86e2e0b1b1f8
parentb4815192a6cb05e79fe70487c1f303b1b6f92026 (diff)
downloadtinygo-00f3a659038286877687eae40f48c341a8bdb0ab.tar.gz
tinygo-00f3a659038286877687eae40f48c341a8bdb0ab.zip
machine/arduino-nano33: use (U)SB flag to ensure that device can be found when not on default port
Signed-off-by: deadprogram <[email protected]>
-rw-r--r--targets/arduino-nano33.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/targets/arduino-nano33.json b/targets/arduino-nano33.json
index 788fa4076..5313562cf 100644
--- a/targets/arduino-nano33.json
+++ b/targets/arduino-nano33.json
@@ -1,6 +1,6 @@
{
"inherits": ["atsamd21g18a"],
"build-tags": ["sam", "atsamd21g18a", "arduino_nano33"],
- "flash-command": "bossac -d -i -e -w -v -R --port={port} --offset=0x2000 {bin}",
+ "flash-command": "bossac -d -i -e -w -v -R -U --port={port} --offset=0x2000 {bin}",
"flash-1200-bps-reset": "true"
}