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
I'm trying to write up an example app for an interrupt based sleeping timer, but when I try to compile this app as an example for the feather_m0 board, I get:
error[E0599]: no function or associated item named `unmask` found for struct `cortex_m::peripheral::NVIC` in the current scope
--> examples/NVIC_repro.rs:30:15
|
30 | NVIC::unmask(interrupt::TC4);
| ^^^^^^ function or associated item not found in `cortex_m::peripheral::NVIC`
Here is a minimal repro of the issue, with unnecessary bits cut out:
However, when I instead put this into a standalone binary app, I do not see the issue. Any ideas as to what is going on? Here is a fork of atsamd adding what I'm trying to do. To repro, check this branch out and run cargo build --example sleeping_timer from boards/feather_m0.
It might end up being an issue on the atsamd end, but I thought since the import issues seem to be coming from cortex-m, I'd start with this crate.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to write up an example app for an interrupt based sleeping timer, but when I try to compile this app as an example for the
feather_m0
board, I get:Here is a minimal repro of the issue, with unnecessary bits cut out:
However, when I instead put this into a standalone binary app, I do not see the issue. Any ideas as to what is going on? Here is a fork of
atsamd
adding what I'm trying to do. To repro, check this branch out and runcargo build --example sleeping_timer
fromboards/feather_m0
.It might end up being an issue on the
atsamd
end, but I thought since the import issues seem to be coming fromcortex-m
, I'd start with this crate.The text was updated successfully, but these errors were encountered: