-
Notifications
You must be signed in to change notification settings - Fork 71
Description
Development board STM32F723-DISCO
When I compile example examples/blinky-timer-irq.rs, I get the error:
error[E0277]: the trait bound
stm32f7xx_hal::interrupt: Nr
is not satisfied
--> src\main.rs:92:44
|
92 | cortex_m::peripheral::NVIC::unmask(Interrupt::TIM2);
| ---------------------------------- ^^^^^^^^^^^^^^^ the traitNr
is not implemented forstm32f7xx_hal::interrupt
| |
| required by a bound introduced by this call
|
note: required by a bound innvic::<impl cortex_m::peripheral::NVIC>::unmask
--> C:\Users\Vladimir.cargo\registry\src\index.crates.io-6f17d22bba15001f\cortex-m-0.6.7\src\peripheral\nvic.rs:125:12
|
123 | pub unsafe fn unmask(interrupt: I)
| ------ required by a bound in this associated function
124 | where
125 | I: Nr,
| ^^ required by this bound innvic::<impl NVIC>::unmask