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
527: add device.x for riscv targets, and provides __EXTERNAL_INTERRUPTS r=therealprof a=allexoll
This PR is a proposal to address #526 .
`__EXTERNAL_INTERRUPTS` is the symbol used since `__INTERRUPTS` is used by [riscv-rt](https://github.com/rust-embedded/riscv-rt/blob/47ece5f5163a2e38ce5e4685b5d3145713d7954a/src/lib.rs#L505)
I think it fits because the peripheral interrupts are supposed to be pending through the external interrupt.
This provides hals with information to manage interrupt request. either through a PLIC or trough the vectored interrupt when that is implemented (in [riscv-rt](https://github.com/rust-embedded/riscv-rt/issues/1) i suppose).
Remarks welcome
Co-authored-by: Alexis Marquet <[email protected]>
0 commit comments