cbff0398bb
* Add IRQ-driven buffered USART implementation for STM32 v2 usart * Implementation based on nRF UARTE, but simplified to not use DMA to avoid complex interaction between DMA and USART. * Implementation of AsyncBufRead and AsyncWrite traits * Some unit tests to ring buffer * Update polyfill version * Update sub module to get usart IRQ fix
35 lines
1.2 KiB
TOML
35 lines
1.2 KiB
TOML
[package]
|
|
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>", "Ulf Lilleengen <ulf.lilleengen@gmail.com>"]
|
|
edition = "2018"
|
|
name = "embassy-stm32l0-examples"
|
|
version = "0.1.0"
|
|
resolver = "2"
|
|
|
|
[features]
|
|
default = [
|
|
"defmt-default",
|
|
]
|
|
defmt-default = []
|
|
defmt-trace = []
|
|
defmt-debug = []
|
|
defmt-info = []
|
|
defmt-warn = []
|
|
defmt-error = []
|
|
|
|
[dependencies]
|
|
embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-trace"] }
|
|
embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] }
|
|
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "stm32l072cz", "time-driver-tim3"] }
|
|
embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" }
|
|
embassy-macros = { path = "../../embassy-macros" }
|
|
|
|
defmt = "0.2.0"
|
|
defmt-rtt = "0.2.0"
|
|
|
|
cortex-m = "0.7.1"
|
|
cortex-m-rt = "0.6.14"
|
|
embedded-hal = { version = "0.2.4" }
|
|
panic-probe = { version = "0.2.0", features= ["print-defmt"] }
|
|
futures = { version = "0.3.8", default-features = false, features = ["async-await"] }
|
|
rtt-target = { version = "0.3", features = ["cortex-m"] }
|
|
heapless = { version = "0.7.1", default-features = false }
|