16a47a0ad9
This crate contains async radio drivers for various lora drivers that work with embassy timers. The code is imported from Drogue Device ( https://github.com/drogue-iot/drogue-device) The radio drivers integrate with the async LoRaWAN MAC layer in the lorawan-device crate. Also added is an example for the STM32WL55 and for STM32L0 (requires the LoRa Discovery board) for LoRaWAN. Future work is to make the underlying radio drivers using fully async SPI when communicating with the peripheral.
39 lines
1.6 KiB
TOML
39 lines
1.6 KiB
TOML
[package]
|
|
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>", "Ulf Lilleengen <ulf.lilleengen@gmail.com>"]
|
|
edition = "2018"
|
|
name = "embassy-stm32wl55-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", "stm32wl55jc_cm4", "time-driver-tim2", "memory-x", "subghz", "unstable-pac"] }
|
|
embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" }
|
|
embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["stm32wl", "time"] }
|
|
|
|
lorawan-device = { git = "https://github.com/lulf/rust-lorawan.git", rev = "a373d06fa8858d251bc70d5789cebcd9a638ec42", default-features = false, features = ["async"] }
|
|
lorawan-encoding = { git = "https://github.com/lulf/rust-lorawan.git", rev = "a373d06fa8858d251bc70d5789cebcd9a638ec42", default-features = false, features = ["default-crypto"] }
|
|
|
|
defmt = "0.2.3"
|
|
defmt-rtt = "0.2.0"
|
|
|
|
cortex-m = "0.7.3"
|
|
cortex-m-rt = "0.7.0"
|
|
embedded-hal = "0.2.6"
|
|
panic-probe = { version = "0.2.0", features = ["print-defmt"] }
|
|
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
|
|
rtt-target = { version = "0.3.1", features = ["cortex-m"] }
|
|
heapless = { version = "0.7.5", default-features = false }
|