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
feat: configurable link section attribute for irqs
This change introduces a new config field that allows `svd2rust`
to target which linker sections get assigned to the `__INTERRUPTS`
static, with reasonable defaults.
Previously on RISC-V, the choice was always left up to the compiler, and
it seemed to always pick `.rodata`. Unfortunately, in my context, that
meant placing the LUT in a memory range that had a lot of highly
variable latency, which cost not just time but predictability in
servicing interrupts.
With this change in place, I'm able to target a particular section
(e.g. `.data`, or `.trap.rodata`) for the placement of the static, which
grants more granular control over the ultimate loaded memory address.
For the full details about the problem, please see: esp-rs/esp-hal@e29f3d5
0 commit comments