mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 13:55:23 +01:00
add support for nrf52805 (#941)
This commit is contained in:
parent
2efdef6029
commit
6865b69616
5 changed files with 11 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ pub mod rp2040;
|
|||
pub mod imxrt;
|
||||
|
||||
#[cfg(any(
|
||||
feature = "nrf52805",
|
||||
feature = "nrf52810",
|
||||
feature = "nrf52811",
|
||||
feature = "nrf52832",
|
||||
|
|
@ -66,6 +67,7 @@ pub(crate) const fn cortex_logical2hw(logical: u8, nvic_prio_bits: u8) -> u8 {
|
|||
|
||||
#[cfg(any(
|
||||
feature = "rp2040",
|
||||
feature = "nrf52805",
|
||||
feature = "nrf52810",
|
||||
feature = "nrf52811",
|
||||
feature = "nrf52832",
|
||||
|
|
|
|||
|
|
@ -33,6 +33,9 @@ pub mod prelude {
|
|||
pub use fugit::{self, ExtU64, ExtU64Ceil};
|
||||
}
|
||||
|
||||
#[cfg(feature = "nrf52805")]
|
||||
#[doc(hidden)]
|
||||
pub use nrf52805_pac::{self as pac, RTC0, RTC1};
|
||||
#[cfg(feature = "nrf52810")]
|
||||
#[doc(hidden)]
|
||||
pub use nrf52810_pac::{self as pac, RTC0, RTC1};
|
||||
|
|
|
|||
|
|
@ -39,6 +39,9 @@ pub mod prelude {
|
|||
pub use fugit::{self, ExtU64, ExtU64Ceil};
|
||||
}
|
||||
|
||||
#[cfg(feature = "nrf52805")]
|
||||
#[doc(hidden)]
|
||||
pub use nrf52805_pac::{self as pac, TIMER0, TIMER1, TIMER2};
|
||||
#[cfg(feature = "nrf52810")]
|
||||
#[doc(hidden)]
|
||||
pub use nrf52810_pac::{self as pac, TIMER0, TIMER1, TIMER2};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue