Skip to content

Add FIQ example#162

Merged
jonathanpallant merged 4 commits into
rust-embedded:mainfrom
thejpster:versatile-test-fiq
May 1, 2026
Merged

Add FIQ example#162
jonathanpallant merged 4 commits into
rust-embedded:mainfrom
thejpster:versatile-test-fiq

Conversation

@thejpster
Copy link
Copy Markdown
Contributor

Adds APIs to mask/unmask FIQ, and adds an example that test the FIQ handler.

Closes: #134

@thejpster thejpster force-pushed the versatile-test-fiq branch from a8b7a2a to 2f22f57 Compare April 26, 2026 19:31
This is because aarch32-cpu supplies an unmangled LLVM intrinsic -
`__sync_synchronize` - on that architecture.
Copy link
Copy Markdown

@diondokter diondokter left a comment

Choose a reason for hiding this comment

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

TIL what FIQ is. Apparently a normal interrupt just isn't quite fast enough

Comment thread aarch32-cpu/src/asmv7.rs Outdated
@thejpster
Copy link
Copy Markdown
Contributor Author

Apparently a normal interrupt just isn't quite fast enough

Well it isn't if you're forced to push registers to the stack. FIQ gets some of its own.

@diondokter
Copy link
Copy Markdown

Approved!
But I don't have write-access, so you'll have to find someone to high-five

Comment thread examples/versatileab/src/bin/fast-interrupt.rs
@jonathanpallant jonathanpallant enabled auto-merge May 1, 2026 11:45
@jonathanpallant jonathanpallant added this pull request to the merge queue May 1, 2026
Merged via the queue into rust-embedded:main with commit e6f65bb May 1, 2026
52 checks passed
@thejpster thejpster deleted the versatile-test-fiq branch May 1, 2026 13:21
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.

Add a FIQ example

4 participants