Add rt feature to HALs, cfg out interrupt handling when not set.

This commit is contained in:
Dario Nieuwenhuis
2023-06-08 18:00:19 +02:00
parent f498c689e7
commit 8c93805ab5
17 changed files with 35 additions and 4 deletions

View File

@ -142,6 +142,7 @@ pub(crate) unsafe fn init() {
interrupt::IO_IRQ_BANK0.enable();
}
#[cfg(feature = "rt")]
#[interrupt]
unsafe fn IO_IRQ_BANK0() {
let cpu = SIO.cpuid().read() as usize;