aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-06-08 16:39:05 +0200
committerDario Nieuwenhuis <[email protected]>2023-06-08 18:07:49 +0200
commit5c2f02c73505cf630c2fbe9b098707a33293d702 (patch)
treeda5c19576d0337edca735e290306e28a0bd4f8d0 /embassy-rp
parentbce24e800516402a3a3991ebde0432e5167be174 (diff)
Reexport NVIC_PRIO_BITS at HAL root.
This allows using RTIC with `#[rtic::app(device = embassy_nrf, ...)]`
Diffstat (limited to 'embassy-rp')
-rw-r--r--embassy-rp/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-rp/src/lib.rs b/embassy-rp/src/lib.rs
index 70a410ef9..5e3e59692 100644
--- a/embassy-rp/src/lib.rs
+++ b/embassy-rp/src/lib.rs
@@ -43,6 +43,8 @@ pub use rp_pac as pac;
43#[cfg(not(feature = "unstable-pac"))] 43#[cfg(not(feature = "unstable-pac"))]
44pub(crate) use rp_pac as pac; 44pub(crate) use rp_pac as pac;
45 45
46pub use crate::pac::NVIC_PRIO_BITS;
47
46embassy_cortex_m::interrupt_mod!( 48embassy_cortex_m::interrupt_mod!(
47 TIMER_IRQ_0, 49 TIMER_IRQ_0,
48 TIMER_IRQ_1, 50 TIMER_IRQ_1,