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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New features
riscv 0.12.0
Support for target-dependent external interrupt and exception numbers
riscv-macros for helping during the definition of custom interrupt and exception sources
Macros for automating the definition of new CSRs
riscv-pac 0.2.0
Enumeration of common errors for RISC-V targets at the register level
All PAC traits now work with usize numbers
New ExceptionNumber trait for custom exception numbers
riscv-peripheral 0.2.0
Adapt to new changes in the RISC-V ecosystem
riscv-rt 0.13.0
Now exceptions rely on the _dispatch_exception function
Now interrupts rely on the _dispatch_interrupt function
While the crate provides a default implementation for the previously mentioned functions, you can skip these functions with the new no-exceptions and no-interrupts features. This way, you can adapt riscv-rt to target-specific sources.
New pre_init_trap to detect early errors during the boot process.
Vectored interrupts handling is now available under the v-trap feature!
New core_interrupt, external_interrupt, and exception macros for defining interrupt and exception handlers