diff options
| author | Chuck Davis <[email protected]> | 2023-07-27 13:55:37 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-27 13:55:37 +0000 |
| commit | 281554016796efdeec9c1690c92f4fbd8acc9c7e (patch) | |
| tree | d0a747e4fc47fc8614098c5dd38efa87e6721f5b | |
| parent | 3ee3f0e21c524e062ab23a006d2e180c281e58b1 (diff) | |
| parent | 8f1ea8593809ed8d293c8f73e00b8a58c0e5c580 (diff) | |
Merge pull request #1694 from ceekdee/main
Use lora-phy v1.2.1; modify embassy-lora dependencies
| -rw-r--r-- | embassy-lora/Cargo.toml | 13 | ||||
| -rw-r--r-- | examples/nrf52840/Cargo.toml | 3 | ||||
| -rw-r--r-- | examples/rp/Cargo.toml | 4 | ||||
| -rw-r--r-- | examples/stm32l0/Cargo.toml | 3 | ||||
| -rw-r--r-- | examples/stm32wl/Cargo.toml | 3 |
5 files changed, 3 insertions, 23 deletions
diff --git a/embassy-lora/Cargo.toml b/embassy-lora/Cargo.toml index e4524af5b..a77ed003e 100644 --- a/embassy-lora/Cargo.toml +++ b/embassy-lora/Cargo.toml | |||
| @@ -12,7 +12,7 @@ target = "thumbv7em-none-eabi" | |||
| 12 | 12 | ||
| 13 | [features] | 13 | [features] |
| 14 | stm32wl = ["dep:embassy-stm32"] | 14 | stm32wl = ["dep:embassy-stm32"] |
| 15 | time = [] | 15 | time = ["embassy-time", "lorawan-device"] |
| 16 | defmt = ["dep:defmt", "lorawan-device/defmt"] | 16 | defmt = ["dep:defmt", "lorawan-device/defmt"] |
| 17 | 17 | ||
| 18 | [dependencies] | 18 | [dependencies] |
| @@ -20,18 +20,11 @@ defmt = ["dep:defmt", "lorawan-device/defmt"] | |||
| 20 | defmt = { version = "0.3", optional = true } | 20 | defmt = { version = "0.3", optional = true } |
| 21 | log = { version = "0.4.14", optional = true } | 21 | log = { version = "0.4.14", optional = true } |
| 22 | 22 | ||
| 23 | embassy-time = { version = "0.1.2", path = "../embassy-time" } | 23 | embassy-time = { version = "0.1.2", path = "../embassy-time", optional = true } |
| 24 | embassy-sync = { version = "0.2.0", path = "../embassy-sync" } | 24 | embassy-sync = { version = "0.2.0", path = "../embassy-sync" } |
| 25 | embassy-stm32 = { version = "0.1.0", path = "../embassy-stm32", default-features = false, optional = true } | 25 | embassy-stm32 = { version = "0.1.0", path = "../embassy-stm32", default-features = false, optional = true } |
| 26 | embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.11" } | ||
| 27 | embedded-hal-async = { version = "=0.2.0-alpha.2" } | 26 | embedded-hal-async = { version = "=0.2.0-alpha.2" } |
| 28 | embassy-hal-common = { version = "0.1.0", path = "../embassy-hal-common", default-features = false } | ||
| 29 | futures = { version = "0.3.17", default-features = false, features = [ "async-await" ] } | ||
| 30 | embedded-hal = { version = "0.2", features = ["unproven"] } | 27 | embedded-hal = { version = "0.2", features = ["unproven"] } |
| 31 | bit_field = { version = "0.10" } | ||
| 32 | 28 | ||
| 33 | lora-phy = { version = "1" } | 29 | lora-phy = { version = "1" } |
| 34 | lorawan-device = { version = "0.10.0", default-features = false, features = ["async"] } | 30 | lorawan-device = { version = "0.10.0", default-features = false, features = ["async"], optional = true } |
| 35 | |||
| 36 | [patch.crates-io] | ||
| 37 | lora-phy = { git = "https://github.com/embassy-rs/lora-phy", rev = "ad289428fd44b02788e2fa2116445cc8f640a265" } | ||
diff --git a/examples/nrf52840/Cargo.toml b/examples/nrf52840/Cargo.toml index 5d6bf54e8..780aaeac2 100644 --- a/examples/nrf52840/Cargo.toml +++ b/examples/nrf52840/Cargo.toml | |||
| @@ -57,8 +57,5 @@ embedded-hal-async = { version = "0.2.0-alpha.2", optional = true } | |||
| 57 | num-integer = { version = "0.1.45", default-features = false } | 57 | num-integer = { version = "0.1.45", default-features = false } |
| 58 | microfft = "0.5.0" | 58 | microfft = "0.5.0" |
| 59 | 59 | ||
| 60 | [patch.crates-io] | ||
| 61 | lora-phy = { git = "https://github.com/embassy-rs/lora-phy", rev = "ad289428fd44b02788e2fa2116445cc8f640a265" } | ||
| 62 | |||
| 63 | [profile.release] | 60 | [profile.release] |
| 64 | debug = 2 | 61 | debug = 2 |
diff --git a/examples/rp/Cargo.toml b/examples/rp/Cargo.toml index f2fe5da4e..8c61dc5e1 100644 --- a/examples/rp/Cargo.toml +++ b/examples/rp/Cargo.toml | |||
| @@ -54,7 +54,3 @@ rand = { version = "0.8.5", default-features = false } | |||
| 54 | 54 | ||
| 55 | [profile.release] | 55 | [profile.release] |
| 56 | debug = 2 | 56 | debug = 2 |
| 57 | |||
| 58 | [patch.crates-io] | ||
| 59 | lora-phy = { git = "https://github.com/embassy-rs/lora-phy", rev = "ad289428fd44b02788e2fa2116445cc8f640a265" } | ||
| 60 | |||
diff --git a/examples/stm32l0/Cargo.toml b/examples/stm32l0/Cargo.toml index f2ebae775..c325751c6 100644 --- a/examples/stm32l0/Cargo.toml +++ b/examples/stm32l0/Cargo.toml | |||
| @@ -34,8 +34,5 @@ heapless = { version = "0.7.5", default-features = false } | |||
| 34 | embedded-hal = "0.2.6" | 34 | embedded-hal = "0.2.6" |
| 35 | static_cell = "1.1" | 35 | static_cell = "1.1" |
| 36 | 36 | ||
| 37 | [patch.crates-io] | ||
| 38 | lora-phy = { git = "https://github.com/embassy-rs/lora-phy", rev = "ad289428fd44b02788e2fa2116445cc8f640a265" } | ||
| 39 | |||
| 40 | [profile.release] | 37 | [profile.release] |
| 41 | debug = 2 | 38 | debug = 2 |
diff --git a/examples/stm32wl/Cargo.toml b/examples/stm32wl/Cargo.toml index 3e99b1018..48b69c8d0 100644 --- a/examples/stm32wl/Cargo.toml +++ b/examples/stm32wl/Cargo.toml | |||
| @@ -28,8 +28,5 @@ futures = { version = "0.3.17", default-features = false, features = ["async-awa | |||
| 28 | heapless = { version = "0.7.5", default-features = false } | 28 | heapless = { version = "0.7.5", default-features = false } |
| 29 | chrono = { version = "^0.4", default-features = false } | 29 | chrono = { version = "^0.4", default-features = false } |
| 30 | 30 | ||
| 31 | [patch.crates-io] | ||
| 32 | lora-phy = { git = "https://github.com/embassy-rs/lora-phy", rev = "ad289428fd44b02788e2fa2116445cc8f640a265" } | ||
| 33 | |||
| 34 | [profile.release] | 31 | [profile.release] |
| 35 | debug = 2 | 32 | debug = 2 |
