You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stm32wb-hal = { version = "0.1.2", default-features = false, features = ["xG-package", "rt"]}
compiles, but
stm32wb-hal = { version = "0.1.2", default-features = false, features = ["xG-package"]}
does not:
error[E0433]: failed to resolve: could not find `interrupt` in `stm32wb_pac`
--> /home/rsmet/.cargo/registry/src/github.com-1ecc6299db9ec823/stm32wb-hal-0.1.2/src/ipcc.rs:60:61
|
60 | cortex_m::peripheral::NVIC::unmask(stm32wb_pac::interrupt::IPCC_C1_RX_IT);
| ^^^^^^^^^ could not find `interrupt` in `stm32wb_pac`
error[E0433]: failed to resolve: could not find `interrupt` in `stm32wb_pac`
--> /home/rsmet/.cargo/registry/src/github.com-1ecc6299db9ec823/stm32wb-hal-0.1.2/src/ipcc.rs:61:61
|
61 | cortex_m::peripheral::NVIC::unmask(stm32wb_pac::interrupt::IPCC_C1_TX_IT);
| ^^^^^^^^^ could not find `interrupt` in `stm32wb_pac`
I'm not too acquainted yet with embedded systems, but it would be nice to get a warning what went wrong, especially because I just wanted to select the specific chip.
The text was updated successfully, but these errors were encountered:
Hello and thank you for noticing this. I never compiled this crate without the rt feature since I was always needed interrupts. I'll put behind a feature gate all parts of the code that uses stuff provided by PAC's rt feature.
compiles, but
does not:
I'm not too acquainted yet with embedded systems, but it would be nice to get a warning what went wrong, especially because I just wanted to select the specific chip.
The text was updated successfully, but these errors were encountered: