Skip to content

Commit

Permalink
On Linux, allow flashing from devcontainer (#114)
Browse files Browse the repository at this point in the history
* feat: On Linux, allow flashing from devcontainer

* docs: Update changlog
  • Loading branch information
SergioGasquez authored Feb 14, 2025
1 parent a6cec15 commit 425aeda
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Display help text (#100, #103)
- Added an option to enable unstable HAL features (#104)
- Added support for selection groups (#119)
- Added `runArgs` to DevContainer settings to allow flashing from Linux (#154)

### Changed
- Update `probe-rs run` arguments (#90)
Expand Down
6 changes: 6 additions & 0 deletions template/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@
8000,
3333
],
// This only works for Linux and requires updating the `device` field
"runArgs": [
"--privileged",
"--device=/dev/ttyACM0",
"--group-add=dialout"
],
//REPLACE project-name project-name
"workspaceMount": "source=${localWorkspaceFolder},target=/home/esp/project-name,type=bind,consistency=cached",
//REPLACE project-name project-name
Expand Down

0 comments on commit 425aeda

Please sign in to comment.