-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored code in 07-uart project for Discovery book to use the embe…
…dded_hal_nb and embedded_hal_io libraries
- Loading branch information
1 parent
e6773cc
commit 9a53970
Showing
4 changed files
with
55 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,23 +4,14 @@ version = "0.1.0" | |
authors = ["Henrik Böving <[email protected]>"] | ||
edition = "2018" | ||
|
||
[dependencies.microbit-v2] | ||
version = "0.12.0" | ||
optional = true | ||
|
||
[dependencies.microbit] | ||
version = "0.12.0" | ||
optional = true | ||
|
||
[dependencies] | ||
cortex-m = "0.7.3" | ||
microbit-v2 = "0.15.1" | ||
cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] } | ||
cortex-m-rt = "0.7.0" | ||
rtt-target = { version = "0.3.1", features = ["cortex-m"] } | ||
panic-rtt-target = { version = "0.1.2", features = ["cortex-m"] } | ||
rtt-target = "0.5.0" | ||
panic-rtt-target = "0.1.2" | ||
nb = "1.0.0" | ||
heapless = "0.7.10" | ||
embedded-hal = "0.2.6" | ||
|
||
[features] | ||
v2 = ["microbit-v2"] | ||
v1 = ["microbit"] | ||
heapless = "0.8.0" | ||
embedded-hal = "1.0.0" | ||
embedded-hal-nb = "1.0.0" | ||
embedded-io = "0.6.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters