update advanced content to use xtasks

This commit is contained in:
Jorge Aparicio 2021-01-25 16:16:10 +01:00
parent 3033f47b7c
commit 92dbaaa903

View file

@ -1,13 +1,13 @@
# Listing USB Devices
✅ To list all USB devices, run `usb-list`.
✅ To list all USB devices, run `cargo xtask usb-list` from the `advanced` folder.
❗️ If you haven't yet installed `usb-list`; [installation instructions can be found in a previous section][install].
[install]: ./tooling-check.md#more-tools
``` console
$ usb-list
$ cargo xtask usb-list
Bus 002 Device 001: ID 1d6b:0003
Bus 001 Device 002: ID 0cf3:e300
Bus 001 Device 003: ID 0c45:6713
@ -19,7 +19,7 @@ The goal of this workshop is to get the nRF52840 SoC to show in this list. The e
``` console
$ # expected output
$ usb-list
$ cargo xtask usb-list
Bus 002 Device 001: ID 1d6b:0003
Bus 001 Device 002: ID 0cf3:e300
Bus 001 Device 003: ID 0c45:6713