Skip to content

Commit 64597de

Browse files
trevrosendeadprogram
authored andcommitted
Device path at flash time for several boards
1 parent 515daa7 commit 64597de

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

targets/arduino-nano33.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"inherits": ["atsamd21g18a"],
33
"build-tags": ["sam", "atsamd21g18a", "arduino_nano33"],
4-
"flash": "bossac -d -i -e -w -v -R --offset=0x2000 {bin}"
4+
"flash": "bossac -d -i -e -w -v -R --port={port} --offset=0x2000 {bin}"
55
}

targets/feather-m0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"inherits": ["atsamd21g18a"],
33
"build-tags": ["sam", "atsamd21g18a", "feather_m0"],
4-
"flash": "bossac -d -i -e -w -v -R --offset=0x2000 {hex}"
4+
"flash": "bossac -d -i -e -w -v -R --port={port} --offset=0x2000 {hex}"
55
}

targets/itsybitsy-m0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"inherits": ["atsamd21g18a"],
33
"build-tags": ["sam", "atsamd21g18a", "itsybitsy_m0"],
4-
"flash": "bossac -d -i -e -w -v -R --offset=0x2000 {hex}"
4+
"flash": "bossac -d -i -e -w -v -R --port={port} --offset=0x2000 {hex}"
55
}

targets/trinket-m0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"inherits": ["atsamd21e18a"],
33
"build-tags": ["sam", "atsamd21e18a", "trinket_m0"],
4-
"flash": "bossac -d -i -e -w -v -R --offset=0x2000 {hex}"
4+
"flash": "bossac -d -i -e -w -v -R --port={port} --offset=0x2000 {hex}"
55
}

0 commit comments

Comments
 (0)