stm32: remove subghz feature.
It's available only on WL. if you're using a WL, you want subghz for sure.
This commit is contained in:
parent
da8258b767
commit
dee1d51ad3
@ -19,7 +19,7 @@ flavors = [
|
|||||||
[features]
|
[features]
|
||||||
sx126x = []
|
sx126x = []
|
||||||
sx127x = []
|
sx127x = []
|
||||||
stm32wl = ["embassy-stm32", "embassy-stm32/subghz"]
|
stm32wl = ["dep:embassy-stm32"]
|
||||||
time = []
|
time = []
|
||||||
defmt = ["dep:defmt", "lorawan/defmt", "lorawan-device/defmt"]
|
defmt = ["dep:defmt", "lorawan/defmt", "lorawan-device/defmt"]
|
||||||
|
|
||||||
|
@ -81,7 +81,6 @@ stm32-metapac = { version = "4", default-features = false, features = ["metadata
|
|||||||
default = ["stm32-metapac/rt"]
|
default = ["stm32-metapac/rt"]
|
||||||
defmt = ["dep:defmt", "bxcan/unstable-defmt", "embassy-sync/defmt", "embassy-executor/defmt", "embassy-embedded-hal/defmt", "embassy-hal-common/defmt", "embedded-io?/defmt", "embassy-usb-driver?/defmt", "embassy-net-driver/defmt"]
|
defmt = ["dep:defmt", "bxcan/unstable-defmt", "embassy-sync/defmt", "embassy-executor/defmt", "embassy-embedded-hal/defmt", "embassy-hal-common/defmt", "embedded-io?/defmt", "embassy-usb-driver?/defmt", "embassy-net-driver/defmt"]
|
||||||
memory-x = ["stm32-metapac/memory-x"]
|
memory-x = ["stm32-metapac/memory-x"]
|
||||||
subghz = []
|
|
||||||
exti = []
|
exti = []
|
||||||
|
|
||||||
# Enables additional driver features that depend on embassy-time
|
# Enables additional driver features that depend on embassy-time
|
||||||
|
@ -53,6 +53,8 @@ pub mod rng;
|
|||||||
pub mod sdmmc;
|
pub mod sdmmc;
|
||||||
#[cfg(spi)]
|
#[cfg(spi)]
|
||||||
pub mod spi;
|
pub mod spi;
|
||||||
|
#[cfg(stm32wl)]
|
||||||
|
pub mod subghz;
|
||||||
#[cfg(usart)]
|
#[cfg(usart)]
|
||||||
pub mod usart;
|
pub mod usart;
|
||||||
#[cfg(all(usb, feature = "time"))]
|
#[cfg(all(usb, feature = "time"))]
|
||||||
@ -62,9 +64,6 @@ pub mod usb_otg;
|
|||||||
#[cfg(iwdg)]
|
#[cfg(iwdg)]
|
||||||
pub mod wdg;
|
pub mod wdg;
|
||||||
|
|
||||||
#[cfg(feature = "subghz")]
|
|
||||||
pub mod subghz;
|
|
||||||
|
|
||||||
// This must go last, so that it sees all the impl_foo! macros defined earlier.
|
// This must go last, so that it sees all the impl_foo! macros defined earlier.
|
||||||
pub(crate) mod _generated {
|
pub(crate) mod _generated {
|
||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
|
@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
|
|||||||
embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = ["defmt"] }
|
embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = ["defmt"] }
|
||||||
embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
|
embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
|
||||||
embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
|
embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
|
||||||
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", "unstable-pac", "exti"] }
|
||||||
embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["stm32wl", "time", "defmt"] }
|
embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["stm32wl", "time", "defmt"] }
|
||||||
|
|
||||||
lorawan-device = { version = "0.8.0", default-features = false, features = ["async"] }
|
lorawan-device = { version = "0.8.0", default-features = false, features = ["async"] }
|
||||||
|
Loading…
Reference in New Issue
Block a user