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:
Dario Nieuwenhuis
2023-04-07 02:20:59 +02:00
parent da8258b767
commit dee1d51ad3
4 changed files with 4 additions and 6 deletions

View File

@ -81,7 +81,6 @@ stm32-metapac = { version = "4", default-features = false, features = ["metadata
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"]
memory-x = ["stm32-metapac/memory-x"]
subghz = []
exti = []
# Enables additional driver features that depend on embassy-time

View File

@ -53,6 +53,8 @@ pub mod rng;
pub mod sdmmc;
#[cfg(spi)]
pub mod spi;
#[cfg(stm32wl)]
pub mod subghz;
#[cfg(usart)]
pub mod usart;
#[cfg(all(usb, feature = "time"))]
@ -62,9 +64,6 @@ pub mod usb_otg;
#[cfg(iwdg)]
pub mod wdg;
#[cfg(feature = "subghz")]
pub mod subghz;
// This must go last, so that it sees all the impl_foo! macros defined earlier.
pub(crate) mod _generated {
#![allow(dead_code)]