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

Fix compilation error for nRF52805 #231

Merged
merged 1 commit into from
Feb 18, 2024

Conversation

eupn
Copy link
Contributor

@eupn eupn commented Feb 17, 2024

When trying to build with nrf52805 feature, I got the following error:

error[E0599]: no variant or associated item named `SWI5_EGU5` found for enum `Interrupt` in the current scope
  --> .../nrf-softdevice-0.1.0/src/critical_section_impl.rs:26:25
   |
26 |     | (1 << (Interrupt::SWI5_EGU5 as u8));
   |                         ^^^^^^^^^
   |                         |
   |                         variant or associated item not found in `Interrupt`
   |                         help: there is a variant with a similar name: `SWI0_EGU0`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `nrf-softdevice` (lib) due to 1 previous error

The fix verified to work in hardware on a nRF52805-based board.

@Dirbaio Dirbaio added this pull request to the merge queue Feb 18, 2024
Merged via the queue into embassy-rs:master with commit bf46462 Feb 18, 2024
1 check passed
@eupn eupn deleted the fix-compilation-nrf52805 branch February 18, 2024 12:39
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.

2 participants