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

Software IRQs are missing #4

Open
pta2002 opened this issue Aug 30, 2024 · 3 comments
Open

Software IRQs are missing #4

pta2002 opened this issue Aug 30, 2024 · 3 comments

Comments

@pta2002
Copy link

pta2002 commented Aug 30, 2024

According to the RP235x datasheet, there are 6 spare IRQs which can be used for software interrupts:

IRQ Interrupt Source
46 SPAREIRQ_IRQ_0
47 SPAREIRQ_IRQ_1
48 SPAREIRQ_IRQ_2
49 SPAREIRQ_IRQ_3
50 SPAREIRQ_IRQ_4
51 SPAREIRQ_IRQ_5

However, these are not exported by this crate.

@pta2002
Copy link
Author

pta2002 commented Aug 30, 2024

Looking at the SVD file, it looks like these are missing from there too, so maybe this should be taken up in the Pico SDK (although they're exported in the auto-generated intctrl.h file, so maybe it's something else)

@jonathanpallant
Copy link

Yeah that sounds like the Pico SDK needs an update. You could also propose a PR here which updates the patch file to add them if you can't wait for them to appear upstream.

@pta2002
Copy link
Author

pta2002 commented Sep 2, 2024

It seems like embassy's PAC has this working, they probably patched the SVD. I'll see how that can work and will report this upstream.

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