I changed the generated PACs to only implement cortex_m_types::InterruptNumber in #959.
This will become a problem once PACs are generated because they will not be compatible with various other important crates in the ecosystem, which still use the cortex_m InterruptNumber trait. I will prepare a PR which adds back the generation of the old trait, so both are implemented for now. I will also add an option to suppress the generation of this old trait.
Once cortex-m v0.8/v1 hits, we could omit the implementation by default and change, the option to instead add the old implementation. maybe there is an even better way?
I changed the generated PACs to only implement
cortex_m_types::InterruptNumberin #959.This will become a problem once PACs are generated because they will not be compatible with various other important crates in the ecosystem, which still use the
cortex_mInterruptNumbertrait. I will prepare a PR which adds back the generation of the old trait, so both are implemented for now. I will also add an option to suppress the generation of this old trait.Once
cortex-mv0.8/v1 hits, we could omit the implementation by default and change, the option to instead add the old implementation. maybe there is an even better way?