Merge pull request #18 from ferrous-systems/tool-up

update setup: install v0.8 of cargo-{embed,flash}
This commit is contained in:
Jorge Aparicio 2020-07-08 15:11:08 +00:00 committed by GitHub
commit 4115de0745
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 7 deletions

View file

@ -226,7 +226,7 @@ The `root root` part in `crw-rw-r-- 1 root root` indicates the device can only b
2. Create the following file with the displayed contents. You'll need root permissions to create the file. 2. Create the following file with the displayed contents. You'll need root permissions to create the file.
``` console ``` console
$ cat /dev/udev/rules.d/50-oxidize-global.conf $ cat /etc/udev/rules.d/50-oxidize-global.rules
# udev rules to allow access to USB devices as a non-root user # udev rules to allow access to USB devices as a non-root user
# nRF52840 Dongle in bootloader mode # nRF52840 Dongle in bootloader mode
@ -293,10 +293,18 @@ Mass erase completed, chip unlocked
### Cargo subcommands ### Cargo subcommands
Install the `cargo-flash` and `cargo-embed` subcommands using the following command: Install version v0.8.0 of the `cargo-flash` and `cargo-embed` subcommands, as well as the `cargo-binutils` subcommand, using the following commands:
``` console ``` console
$ cargo install cargo-flash cargo-embed cargo-binutils $ cargo install cargo-flash --version 0.8.0 -f
(..) (..)
Summary Successfully installed cargo-flash, cargo-embed, cargo-binutils! Installed package `cargo-flash v0.8.0` (..)
$ cargo install cargo-embed --version 0.8.0 -f
(..)
Installed package `cargo-embed v0.8.0` (..)
$ cargo install cargo-binutils
(..)
Installed package `cargo-binutils v0.3.0` (..)
``` ```

View file

@ -1,6 +1,6 @@
[general] [default.general]
chip = "nRF52840_xxAA" chip = "nRF52840_xxAA"
[rtt] [default.rtt]
enabled = true enabled = true
channels = [{ up = 0 }] channels = [{ up = 0 }]