Replies: 2 comments
-
Would that abstraction sit on |
Beta Was this translation helpful? Give feedback.
-
I don't think so, no. This is something the WG briefly discussed at RustNL's unconf, and to achieve runtime configuration of interrupts it means the interrupt table needs to be placed in ram. The WG wasn't comfortable enforcing this on every device, as many have a very small amount of ram, so for the time being the default is to register interrupts at compile time with the ability to opt into runtime binding with a custom linker script. |
Beta Was this translation helpful? Give feedback.
-
I'm working on a proposal for a timer abstraction, and I think at some point we will also want to be able to say some struct implents
InterruptConfigurable
(or whatever) so that downstream code can enable interrupts and assign handlers generically. What do you think?Beta Was this translation helpful? Give feedback.
All reactions