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

Not enough interrupts #529

Open
thejpster opened this issue May 10, 2024 · 1 comment
Open

Not enough interrupts #529

thejpster opened this issue May 10, 2024 · 1 comment

Comments

@thejpster
Copy link
Contributor

thejpster commented May 10, 2024

In the Armv8-M architecture, the NVIC supports up to 496 general-purpose interrupt lines. However, processor implementations may limit the maximum to a lower number, often 240 or 480. Cortex-M processors let system designers choose any number of general-purpose interrupt lines appropriate to their system, up to the specified limit. In Cortex-M processors that include the Mainline extension, system designers can choose the number of bits implemented in the programmable priority value for each exception.

-- https://documentation-service.arm.com/static/64c7832738511951cb7a246e

We only allow up to 240 interrupts in this crate, but Armv8-M allows up to 496 (plus 16 exceptions to make 512 table vector entries in total).

@adamgreig
Copy link
Member

Thanks, we'll need to update this in cortex-m-rt. Related to #332.

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

No branches or pull requests

2 participants