Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example examples/blinky-timer-irq.rs does not compile #200

Open
zvladimir opened this issue Sep 11, 2023 · 0 comments
Open

Example examples/blinky-timer-irq.rs does not compile #200

zvladimir opened this issue Sep 11, 2023 · 0 comments

Comments

@zvladimir
Copy link

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 trait Nr is not implemented for stm32f7xx_hal::interrupt
| |
| required by a bound introduced by this call
|
note: required by a bound in nvic::<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 in nvic::<impl NVIC>::unmask

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant