Skip to content

Commit

Permalink
Merge pull request #486 from BartMassey-upstream/missing-52820
Browse files Browse the repository at this point in the history
fixed 52820 config warning
  • Loading branch information
qwandor authored Aug 17, 2024
2 parents 7d648ad + dc1a1a8 commit 04cd0c8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nrf-hal-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,10 @@ pub mod target_constants {
pub const EASY_DMA_SIZE: usize = (1 << 10) - 1;
#[cfg(feature = "52811")]
pub const EASY_DMA_SIZE: usize = (1 << 14) - 1;
#[cfg(feature = "52820")]
pub const EASY_DMA_SIZE: usize = (1 << 15) - 1;
// Currently there is no nrf52820-hal. Would be great
// to fix this.
// #[cfg(feature = "52820")]
// pub const EASY_DMA_SIZE: usize = (1 << 15) - 1;
#[cfg(feature = "52832")]
pub const EASY_DMA_SIZE: usize = (1 << 8) - 1;
#[cfg(feature = "52833")]
Expand Down

0 comments on commit 04cd0c8

Please sign in to comment.