mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-02-09 14:12:20 +00:00
Update embedded-workshop-book/src/enabling-uarte.md
Co-authored-by: Jonathan Pallant <jonathan.pallant@ferrous-systems.com>
This commit is contained in:
parent
00c20e69b0
commit
f93eb74acd
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ In the Cargo configuration file for the `apps` package, `down-the-stack/apps/Car
|
||||||
```
|
```
|
||||||
dk_pac = { path = "../dk_pac", features = ["critical-section"]}
|
dk_pac = { path = "../dk_pac", features = ["critical-section"]}
|
||||||
```
|
```
|
||||||
In `apps/bin/uarte_enable.rs` add:
|
In the main source file for the `uarte_enable` binary, `apps/bin/uarte_enable.rs`, add:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use dk_pac::UARTE0;
|
use dk_pac::UARTE0;
|
||||||
|
|
Loading…
Reference in a new issue