aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32wl
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2022-04-26 18:37:46 +0200
committerUlf Lilleengen <[email protected]>2022-04-26 19:06:15 +0200
commit2c0e28aa0c9a1253d0450aee58274f4ae5d0dcd0 (patch)
treed37d821de8192a37d0add5702a59b817b4b1165a /examples/stm32wl
parenta39d796c3de9c96ea4df6b9da525cb0d5ef60fc0 (diff)
Update to released lorawan crates
Diffstat (limited to 'examples/stm32wl')
-rw-r--r--examples/stm32wl/Cargo.toml4
-rw-r--r--examples/stm32wl/src/bin/lorawan.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/stm32wl/Cargo.toml b/examples/stm32wl/Cargo.toml
index 1c2242f30..919104b01 100644
--- a/examples/stm32wl/Cargo.toml
+++ b/examples/stm32wl/Cargo.toml
@@ -10,8 +10,8 @@ embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "def
10embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "stm32wl55jc-cm4", "time-driver-any", "memory-x", "subghz", "unstable-pac", "exti"] } 10embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "stm32wl55jc-cm4", "time-driver-any", "memory-x", "subghz", "unstable-pac", "exti"] }
11embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["stm32wl", "time"] } 11embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["stm32wl", "time"] }
12 12
13lorawan-device = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false, features = ["async"] } 13lorawan-device = { version = "0.7.1", default-features = false, features = ["async"] }
14lorawan-encoding = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false, features = ["default-crypto"] } 14lorawan = { version = "0.7.1", default-features = false, features = ["default-crypto"] }
15 15
16defmt = "0.3" 16defmt = "0.3"
17defmt-rtt = "0.3" 17defmt-rtt = "0.3"
diff --git a/examples/stm32wl/src/bin/lorawan.rs b/examples/stm32wl/src/bin/lorawan.rs
index 2e3221fcc..393828c85 100644
--- a/examples/stm32wl/src/bin/lorawan.rs
+++ b/examples/stm32wl/src/bin/lorawan.rs
@@ -17,8 +17,8 @@ use embassy_stm32::{
17 subghz::*, 17 subghz::*,
18 Peripherals, 18 Peripherals,
19}; 19};
20use lorawan::default_crypto::DefaultFactory as Crypto;
20use lorawan_device::async_device::{region, Device, JoinMode}; 21use lorawan_device::async_device::{region, Device, JoinMode};
21use lorawan_encoding::default_crypto::DefaultFactory as Crypto;
22 22
23fn config() -> embassy_stm32::Config { 23fn config() -> embassy_stm32::Config {
24 let mut config = embassy_stm32::Config::default(); 24 let mut config = embassy_stm32::Config::default();