diff options
| author | xoviat <[email protected]> | 2025-12-03 18:24:55 -0600 |
|---|---|---|
| committer | xoviat <[email protected]> | 2025-12-03 18:24:55 -0600 |
| commit | 2e23e877148d5873ff4e995452325c97707fdfed (patch) | |
| tree | d2b0ecde2ad486b7efb2bdbdc239ba144c4546d6 /embassy-stm32-wpan/src | |
| parent | 14644299141f16e449a92e27dca2d5d1ebfe0951 (diff) | |
stm32: add wpan dependency to wba examples
Diffstat (limited to 'embassy-stm32-wpan/src')
| -rw-r--r-- | embassy-stm32-wpan/src/lib.rs | 8 | ||||
| -rw-r--r-- | embassy-stm32-wpan/src/wba/mod.rs | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/embassy-stm32-wpan/src/lib.rs b/embassy-stm32-wpan/src/lib.rs index bd58a0ca7..3fabe112a 100644 --- a/embassy-stm32-wpan/src/lib.rs +++ b/embassy-stm32-wpan/src/lib.rs | |||
| @@ -18,6 +18,14 @@ | |||
| 18 | // #![warn(missing_docs)] | 18 | // #![warn(missing_docs)] |
| 19 | #![allow(static_mut_refs)] // TODO: Fix | 19 | #![allow(static_mut_refs)] // TODO: Fix |
| 20 | 20 | ||
| 21 | #[cfg(feature = "wb55")] | ||
| 21 | mod wb55; | 22 | mod wb55; |
| 22 | 23 | ||
| 24 | #[cfg(feature = "wb55")] | ||
| 23 | pub use wb55::*; | 25 | pub use wb55::*; |
| 26 | |||
| 27 | #[cfg(feature = "wba")] | ||
| 28 | mod wba; | ||
| 29 | |||
| 30 | #[cfg(feature = "wba")] | ||
| 31 | pub use wba::*; | ||
diff --git a/embassy-stm32-wpan/src/wba/mod.rs b/embassy-stm32-wpan/src/wba/mod.rs new file mode 100644 index 000000000..9e75dbae9 --- /dev/null +++ b/embassy-stm32-wpan/src/wba/mod.rs | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /// A test struct | ||
| 2 | pub struct TestStruct; | ||
