mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-26 07:48:06 +00:00
Update embedded-workshop-book/src/generating-pac.md
Co-authored-by: Jonathan Pallant <jonathan.pallant@ferrous-systems.com>
This commit is contained in:
parent
d84cc58db9
commit
19cf5c2912
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ cargo install form
|
|||
✅ Download [nrf-svd][svd](This version has an error: writeonce needs to be changed to writeOnce)
|
||||
Place the file into `down-the-stack/dk-pac`. Note how we provide a `Cargo.toml` file, as it will not be generated by svd2rust.
|
||||
|
||||
✅ In the terminal, go to the file's location. Run `svd2rust` with the SVD file to generate a PAC using the `cortex-m` flag.
|
||||
✅ In the terminal, go to the file's location. Run `svd2rust` with the SVD file to generate a PAC using the `cortex-m` target.
|
||||
|
||||
```
|
||||
svd2rust --target cortex-m -i nrf52.svd
|
||||
|
|
Loading…
Reference in a new issue