Skip to content

Conversation

@nzmichaelh
Copy link
Contributor

Depends on #26866 landing. Leaving as draft until then.

The latest BOSSA 1.9.1+git can directly reset the board and, as a bonus, fixes the enumeration problem where a board would reset and appear on a different ttyACM port.

Detect if BOSSA supports --arduino-reset and use it if it does.

@galak this should be the last change in my BOSSA series. Once this lands a 'west flash' will just work without a manual reset or re-enumeration problems.

BOSSA takes the offset within flash memory, not the absolute address.
This doesn't matter on most boards as the flash starts at zero but
does matter on the Due as the flash starts at +512 KiB.

Signed-off-by: Michael Hope <[email protected]>
BOSSA 1.9.1 and before an errror on `--help`, but the current git
version returns 0.  Handle both cases.

Signed-off-by: Michael Hope <[email protected]>
The latest BOSSA 1.9.1+git can directly reset the board and, as a
bonus, fixes the enumeration problem where a board would reset and
appear on a different ttyACM port.

Detect if BOSSA supports --arduino-reset and use it if it does.

Signed-off-by: Michael Hope <[email protected]>
@github-actions
Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Sep 25, 2020
@github-actions github-actions bot closed this Oct 9, 2020
@galak galak requested a review from mbolivar-nordic October 9, 2020 13:23
@galak galak reopened this Oct 9, 2020
@galak galak removed the Stale label Oct 9, 2020
@galak galak requested a review from nandojve October 9, 2020 13:24
@mbolivar-nordic
Copy link
Contributor

Depends on #26866 landing. Leaving as draft until then.

This is merged; can you please rebase @nzmichaelh ?

@github-actions
Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Dec 10, 2020
@github-actions github-actions bot closed this Dec 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants