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
{{ message }}
This repository was archived by the owner on Jan 24, 2022. It is now read-only.
315: Use volatile read for ICSR register r=adamgreig a=lulf
This prevents the compiler from optimizing the read.
Edit: I also added a change to include the 9th bit in the IRQ. I can leave that out if it would break anything.
#314
Co-authored-by: Ulf Lilleengen <[email protected]>
borsbot
added a commit
that referenced
this issue
Mar 2, 2021
315: Use volatile read for ICSR register r=adamgreig a=lulf
This prevents the compiler from optimizing the read.
Edit: I also added a change to include the 9th bit in the IRQ. I can leave that out if it would break anything.
#314
Co-authored-by: Ulf Lilleengen <[email protected]>
This code here reads ICSR and casts it to 8 bits. In cortex-m3 it is more than 8 bits because there can be up to 480 interrupts.
cortex-m-rt/macros/src/lib.rs
Line 230 in ca4790f
This is the same as rust-embedded/cortex-m#332
The text was updated successfully, but these errors were encountered: