diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-06-08 16:39:05 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-06-08 18:07:49 +0200 |
| commit | 5c2f02c73505cf630c2fbe9b098707a33293d702 (patch) | |
| tree | da5c19576d0337edca735e290306e28a0bd4f8d0 /embassy-rp | |
| parent | bce24e800516402a3a3991ebde0432e5167be174 (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.rs | 2 |
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"))] |
| 44 | pub(crate) use rp_pac as pac; | 44 | pub(crate) use rp_pac as pac; |
| 45 | 45 | ||
| 46 | pub use crate::pac::NVIC_PRIO_BITS; | ||
| 47 | |||
| 46 | embassy_cortex_m::interrupt_mod!( | 48 | embassy_cortex_m::interrupt_mod!( |
| 47 | TIMER_IRQ_0, | 49 | TIMER_IRQ_0, |
| 48 | TIMER_IRQ_1, | 50 | TIMER_IRQ_1, |
