Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow up to 496 interrupts on ARMv8-M #555

Merged

Conversation

Tiwalun
Copy link
Contributor

@Tiwalun Tiwalun commented Aug 28, 2024

Just ran into this while trying to generate a PAC, this fixes #529 .

Not sure if it would be better to change the default value to 496 as well.

@Tiwalun Tiwalun requested a review from a team as a code owner August 28, 2024 14:04
Copy link
Member

@adamgreig adamgreig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good! Just noting that this changes the size of the generated interrupt table (thus taking up appreciably more flash) only when the device feature is not used, which is rare - for most people the table comes from the PAC and so this won't impact flash size. Instead it just stops cortex-m-rt rejecting perfectly valid device crates with lots of interrupts.

@adamgreig adamgreig added this pull request to the merge queue Sep 3, 2024
Merged via the queue into rust-embedded:master with commit 47921b5 Sep 3, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not enough interrupts
2 participants