mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-05-05 10:09:08 +00:00
rename chapter in advanced
This commit is contained in:
parent
b3affc1270
commit
22bf96a0c4
|
@ -26,7 +26,7 @@
|
|||
- [Starting a Project from Scratch](./from-scratch.md)
|
||||
- [Advanced Workbook](./advanced-workbook.md)
|
||||
- [Code Organization](./code-organisation.md)
|
||||
- [Listing USB Devices](./listing-usb-devices.md)
|
||||
- [Workshop goal](./workshop-goal.md)
|
||||
- [Hello, world!](./hello-world.md)
|
||||
- [Checking the API documentation](./api-documentation.md)
|
||||
- [RTIC hello](./rtic-hello.md)
|
||||
|
|
|
@ -1,30 +1 @@
|
|||
# Listing USB Devices
|
||||
|
||||
✅ To list all USB devices, run `cargo xtask usb-list` from the `advanced` folder.
|
||||
|
||||
|
||||
``` console
|
||||
$ 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
|
||||
Bus 001 Device 001: ID 1d6b:0002
|
||||
Bus 001 Device 010: ID 1366:1015 <- J-Link on the nRF52840 Development Kit
|
||||
```
|
||||
|
||||
## Workshop goal
|
||||
|
||||
The goal of this workshop is to get the nRF52840 SoC to show in this list. The embedded application will use the vendor ID (VID) and product ID (PID) defined in `advanced/common/consts`.
|
||||
|
||||
`cargo xtask usb-list` will highlight the USB device that matches that VID PID pair.
|
||||
|
||||
``` console
|
||||
$ # expected output
|
||||
$ 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
|
||||
Bus 001 Device 001: ID 1d6b:0002
|
||||
Bus 001 Device 010: ID 1366:1015 <- J-Link on the nRF52840 Development Kit
|
||||
Bus 001 Device 059: ID 2020:0717 <- nRF52840 on the nRF52840 Development Kit
|
||||
```
|
||||
|
|
31
embedded-workshop-book/src/workshop-goal.md
Normal file
31
embedded-workshop-book/src/workshop-goal.md
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Workshop goal
|
||||
|
||||
The goal of this workshop is to get the nRF52840 SoC to show in this list. The embedded application will use the vendor ID (VID) and product ID (PID) defined in `advanced/common/consts`.
|
||||
|
||||
`cargo xtask usb-list` will highlight the USB device that matches that VID PID pair.
|
||||
|
||||
``` console
|
||||
$ # expected output
|
||||
$ 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
|
||||
Bus 001 Device 001: ID 1d6b:0002
|
||||
Bus 001 Device 010: ID 1366:1015 <- J-Link on the nRF52840 Development Kit
|
||||
Bus 001 Device 059: ID 2020:0717 <- nRF52840 on the nRF52840 Development Kit
|
||||
```
|
||||
|
||||
|
||||
## Listing USB Devices
|
||||
|
||||
✅ To list all USB devices, run `cargo xtask usb-list` from the `advanced` folder.
|
||||
|
||||
|
||||
``` console
|
||||
$ 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
|
||||
Bus 001 Device 001: ID 1d6b:0002
|
||||
Bus 001 Device 010: ID 1366:1015 <- J-Link on the nRF52840 Development Kit
|
||||
```
|
Loading…
Reference in a new issue