Merge #731
731: Update to released lorawan crates r=Dirbaio a=lulf Co-authored-by: Ulf Lilleengen <ulf.lilleengen@gmail.com>
This commit is contained in:
commit
3b0200daec
@ -34,5 +34,5 @@ futures = { version = "0.3.17", default-features = false, features = [ "async-aw
|
|||||||
embedded-hal = { version = "0.2", features = ["unproven"] }
|
embedded-hal = { version = "0.2", features = ["unproven"] }
|
||||||
bit_field = { version = "0.10" }
|
bit_field = { version = "0.10" }
|
||||||
|
|
||||||
lorawan-device = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false, features = ["async"] }
|
lorawan-device = { version = "0.7.1", default-features = false, features = ["async"] }
|
||||||
lorawan-encoding = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false }
|
lorawan = { version = "0.7.1", default-features = false }
|
||||||
|
@ -7,7 +7,7 @@ resolver = "2"
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["nightly"]
|
default = ["nightly"]
|
||||||
nightly = ["embassy-stm32/nightly", "embassy-lora", "lorawan-device", "lorawan-encoding"]
|
nightly = ["embassy-stm32/nightly", "embassy-lora", "lorawan-device", "lorawan"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime"] }
|
embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime"] }
|
||||||
@ -15,8 +15,8 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
|
|||||||
|
|
||||||
embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["sx127x", "time", "defmt"], optional = true}
|
embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["sx127x", "time", "defmt"], optional = true}
|
||||||
|
|
||||||
lorawan-device = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false, features = ["async"], optional = true }
|
lorawan-device = { version = "0.7.1", default-features = false, features = ["async"], optional = true }
|
||||||
lorawan-encoding = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false, features = ["default-crypto"], optional = true }
|
lorawan = { version = "0.7.1", default-features = false, features = ["default-crypto"], optional = true }
|
||||||
|
|
||||||
defmt = "0.3"
|
defmt = "0.3"
|
||||||
defmt-rtt = "0.3"
|
defmt-rtt = "0.3"
|
||||||
|
@ -18,8 +18,8 @@ use embassy_stm32::{
|
|||||||
time::U32Ext,
|
time::U32Ext,
|
||||||
Peripherals,
|
Peripherals,
|
||||||
};
|
};
|
||||||
|
use lorawan::default_crypto::DefaultFactory as Crypto;
|
||||||
use lorawan_device::async_device::{region, Device, JoinMode};
|
use lorawan_device::async_device::{region, Device, JoinMode};
|
||||||
use lorawan_encoding::default_crypto::DefaultFactory as Crypto;
|
|
||||||
|
|
||||||
fn config() -> embassy_stm32::Config {
|
fn config() -> embassy_stm32::Config {
|
||||||
let mut config = embassy_stm32::Config::default();
|
let mut config = embassy_stm32::Config::default();
|
||||||
|
@ -10,8 +10,8 @@ embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "def
|
|||||||
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "stm32wl55jc-cm4", "time-driver-any", "memory-x", "subghz", "unstable-pac", "exti"] }
|
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "stm32wl55jc-cm4", "time-driver-any", "memory-x", "subghz", "unstable-pac", "exti"] }
|
||||||
embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["stm32wl", "time"] }
|
embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["stm32wl", "time"] }
|
||||||
|
|
||||||
lorawan-device = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false, features = ["async"] }
|
lorawan-device = { version = "0.7.1", default-features = false, features = ["async"] }
|
||||||
lorawan-encoding = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false, features = ["default-crypto"] }
|
lorawan = { version = "0.7.1", default-features = false, features = ["default-crypto"] }
|
||||||
|
|
||||||
defmt = "0.3"
|
defmt = "0.3"
|
||||||
defmt-rtt = "0.3"
|
defmt-rtt = "0.3"
|
||||||
|
@ -17,8 +17,8 @@ use embassy_stm32::{
|
|||||||
subghz::*,
|
subghz::*,
|
||||||
Peripherals,
|
Peripherals,
|
||||||
};
|
};
|
||||||
|
use lorawan::default_crypto::DefaultFactory as Crypto;
|
||||||
use lorawan_device::async_device::{region, Device, JoinMode};
|
use lorawan_device::async_device::{region, Device, JoinMode};
|
||||||
use lorawan_encoding::default_crypto::DefaultFactory as Crypto;
|
|
||||||
|
|
||||||
fn config() -> embassy_stm32::Config {
|
fn config() -> embassy_stm32::Config {
|
||||||
let mut config = embassy_stm32::Config::default();
|
let mut config = embassy_stm32::Config::default();
|
||||||
|
Loading…
Reference in New Issue
Block a user