Skip to content

Add back generation of cortex_m InterruptTypes #961

@robamu

Description

@robamu

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions