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

Adding support for Nordic nRF52833 #148

Merged
merged 5 commits into from
May 27, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Adding SPIM3 to nRF52833
blueluna committed May 27, 2020

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 9997aa4333cf7f155629fdd2a93537fa0ada734a
4 changes: 2 additions & 2 deletions nrf-hal-common/src/spim.rs
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ use core::iter::repeat_with;
#[cfg(any(feature = "52832", feature = "52833", feature = "52840"))]
use crate::target::{SPIM1, SPIM2};

#[cfg(feature = "52840")]
#[cfg(any(feature = "52833", feature = "52840"))]
use crate::target::SPIM3;

use crate::gpio::{Floating, Input, Output, Pin, PushPull};
@@ -413,5 +413,5 @@ impl Instance for SPIM1 {}
#[cfg(any(feature = "52832", feature = "52833", feature = "52840"))]
impl Instance for SPIM2 {}

#[cfg(feature = "52840")]
#[cfg(any(feature = "52833", feature = "52840"))]
impl Instance for SPIM3 {}