diff options
| -rw-r--r-- | embassy-lora/Cargo.toml | 11 | ||||
| -rw-r--r-- | embassy-lora/src/lib.rs | 2 | ||||
| -rw-r--r-- | examples/nrf52840/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/rp/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/stm32l0/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/stm32wl/Cargo.toml | 2 |
6 files changed, 8 insertions, 13 deletions
diff --git a/embassy-lora/Cargo.toml b/embassy-lora/Cargo.toml index aa0d2911d..e62ff431f 100644 --- a/embassy-lora/Cargo.toml +++ b/embassy-lora/Cargo.toml | |||
| @@ -7,18 +7,13 @@ license = "MIT OR Apache-2.0" | |||
| 7 | [package.metadata.embassy_docs] | 7 | [package.metadata.embassy_docs] |
| 8 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-lora-v$VERSION/embassy-lora/src/" | 8 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-lora-v$VERSION/embassy-lora/src/" |
| 9 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-lora/src/" | 9 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-lora/src/" |
| 10 | features = ["time", "defmt"] | 10 | features = ["stm32wl", "time", "defmt"] |
| 11 | flavors = [ | 11 | target = "thumbv7em-none-eabi" |
| 12 | { name = "stm32wl", target = "thumbv7em-none-eabihf", features = ["stm32wl", "embassy-stm32?/stm32wl55jc-cm4", "embassy-stm32?/time-driver-any"] }, | ||
| 13 | ] | ||
| 14 | |||
| 15 | [lib] | ||
| 16 | 12 | ||
| 17 | [features] | 13 | [features] |
| 18 | stm32wl = ["dep:embassy-stm32"] | 14 | stm32wl = ["dep:embassy-stm32"] |
| 19 | time = [] | 15 | time = [] |
| 20 | defmt = ["dep:defmt", "lorawan-device/defmt"] | 16 | defmt = ["dep:defmt", "lorawan-device/defmt"] |
| 21 | external-lora-phy = ["dep:lora-phy"] | ||
| 22 | 17 | ||
| 23 | [dependencies] | 18 | [dependencies] |
| 24 | 19 | ||
| @@ -35,5 +30,5 @@ futures = { version = "0.3.17", default-features = false, features = [ "async-aw | |||
| 35 | embedded-hal = { version = "0.2", features = ["unproven"] } | 30 | embedded-hal = { version = "0.2", features = ["unproven"] } |
| 36 | bit_field = { version = "0.10" } | 31 | bit_field = { version = "0.10" } |
| 37 | 32 | ||
| 38 | lora-phy = { version = "1", optional = true } | 33 | lora-phy = { version = "1" } |
| 39 | lorawan-device = { version = "0.10.0", default-features = false, features = ["async"] } | 34 | lorawan-device = { version = "0.10.0", default-features = false, features = ["async"] } |
diff --git a/embassy-lora/src/lib.rs b/embassy-lora/src/lib.rs index c391a8029..3facee6f3 100644 --- a/embassy-lora/src/lib.rs +++ b/embassy-lora/src/lib.rs | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | //! embassy-lora holds LoRa-specific functionality. | 4 | //! embassy-lora holds LoRa-specific functionality. |
| 5 | 5 | ||
| 6 | pub(crate) mod fmt; | 6 | pub(crate) mod fmt; |
| 7 | #[cfg(feature = "external-lora-phy")] | 7 | |
| 8 | /// interface variants required by the external lora physical layer crate (lora-phy) | 8 | /// interface variants required by the external lora physical layer crate (lora-phy) |
| 9 | pub mod iv; | 9 | pub mod iv; |
| 10 | 10 | ||
diff --git a/examples/nrf52840/Cargo.toml b/examples/nrf52840/Cargo.toml index 77be46ffd..7c701c157 100644 --- a/examples/nrf52840/Cargo.toml +++ b/examples/nrf52840/Cargo.toml | |||
| @@ -18,7 +18,7 @@ embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defm | |||
| 18 | embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet"], optional = true } | 18 | embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet"], optional = true } |
| 19 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt", "msos-descriptor",], optional = true } | 19 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt", "msos-descriptor",], optional = true } |
| 20 | embedded-io = "0.4.0" | 20 | embedded-io = "0.4.0" |
| 21 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["time", "defmt", "external-lora-phy"], optional = true } | 21 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["time", "defmt"], optional = true } |
| 22 | lora-phy = { version = "1", optional = true } | 22 | lora-phy = { version = "1", optional = true } |
| 23 | lorawan-device = { version = "0.10.0", default-features = false, features = ["async", "external-lora-phy"], optional = true } | 23 | lorawan-device = { version = "0.10.0", default-features = false, features = ["async", "external-lora-phy"], optional = true } |
| 24 | lorawan = { version = "0.7.3", default-features = false, features = ["default-crypto"], optional = true } | 24 | lorawan = { version = "0.7.3", default-features = false, features = ["default-crypto"], optional = true } |
diff --git a/examples/rp/Cargo.toml b/examples/rp/Cargo.toml index 7f65a00d7..fd4cdcf05 100644 --- a/examples/rp/Cargo.toml +++ b/examples/rp/Cargo.toml | |||
| @@ -15,7 +15,7 @@ embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defm | |||
| 15 | embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet"] } | 15 | embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet"] } |
| 16 | embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } | 16 | embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } |
| 17 | embassy-usb-logger = { version = "0.1.0", path = "../../embassy-usb-logger" } | 17 | embassy-usb-logger = { version = "0.1.0", path = "../../embassy-usb-logger" } |
| 18 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["time", "defmt", "external-lora-phy"] } | 18 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["time", "defmt"] } |
| 19 | lora-phy = { version = "1" } | 19 | lora-phy = { version = "1" } |
| 20 | lorawan-device = { version = "0.10.0", default-features = false, features = ["async", "external-lora-phy"] } | 20 | lorawan-device = { version = "0.10.0", default-features = false, features = ["async", "external-lora-phy"] } |
| 21 | lorawan = { version = "0.7.3", default-features = false, features = ["default-crypto"] } | 21 | lorawan = { version = "0.7.3", default-features = false, features = ["default-crypto"] } |
diff --git a/examples/stm32l0/Cargo.toml b/examples/stm32l0/Cargo.toml index e9d2127c5..ce8dfffc5 100644 --- a/examples/stm32l0/Cargo.toml +++ b/examples/stm32l0/Cargo.toml | |||
| @@ -14,7 +14,7 @@ embassy-sync = { version = "0.2.0", path = "../../embassy-sync", features = ["de | |||
| 14 | embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } | 14 | embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } |
| 15 | embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } | 15 | embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } |
| 16 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "stm32l072cz", "time-driver-any", "exti", "unstable-traits", "memory-x"] } | 16 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "stm32l072cz", "time-driver-any", "exti", "unstable-traits", "memory-x"] } |
| 17 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["time", "defmt", "external-lora-phy"], optional = true } | 17 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["time", "defmt"], optional = true } |
| 18 | lora-phy = { version = "1", optional = true } | 18 | lora-phy = { version = "1", optional = true } |
| 19 | lorawan-device = { version = "0.10.0", default-features = false, features = ["async", "external-lora-phy"], optional = true } | 19 | lorawan-device = { version = "0.10.0", default-features = false, features = ["async", "external-lora-phy"], optional = true } |
| 20 | lorawan = { version = "0.7.3", default-features = false, features = ["default-crypto"], optional = true } | 20 | lorawan = { version = "0.7.3", default-features = false, features = ["default-crypto"], optional = true } |
diff --git a/examples/stm32wl/Cargo.toml b/examples/stm32wl/Cargo.toml index 0eb24bc44..759008596 100644 --- a/examples/stm32wl/Cargo.toml +++ b/examples/stm32wl/Cargo.toml | |||
| @@ -10,7 +10,7 @@ embassy-executor = { version = "0.1.0", path = "../../embassy-executor", feature | |||
| 10 | embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["nightly", "unstable-traits", "defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } | 10 | embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["nightly", "unstable-traits", "defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } |
| 11 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "unstable-traits", "defmt", "stm32wl55jc-cm4", "time-driver-any", "memory-x", "unstable-pac", "exti"] } | 11 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "unstable-traits", "defmt", "stm32wl55jc-cm4", "time-driver-any", "memory-x", "unstable-pac", "exti"] } |
| 12 | embassy-embedded-hal = {version = "0.1.0", path = "../../embassy-embedded-hal" } | 12 | embassy-embedded-hal = {version = "0.1.0", path = "../../embassy-embedded-hal" } |
| 13 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["stm32wl", "time", "defmt", "external-lora-phy"] } | 13 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["stm32wl", "time", "defmt"] } |
| 14 | lora-phy = { version = "1" } | 14 | lora-phy = { version = "1" } |
| 15 | lorawan-device = { version = "0.10.0", default-features = false, features = ["async", "external-lora-phy"] } | 15 | lorawan-device = { version = "0.10.0", default-features = false, features = ["async", "external-lora-phy"] } |
| 16 | lorawan = { version = "0.7.3", default-features = false, features = ["default-crypto"] } | 16 | lorawan = { version = "0.7.3", default-features = false, features = ["default-crypto"] } |
