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

@ -12,6 +12,7 @@ use crate::interrupt::InterruptExt;
use crate::pac::dma::vals;
use crate::{interrupt, pac, peripherals};
#[cfg(feature = "rt")]
#[interrupt]
unsafe fn DMA_IRQ_0() {
let ints0 = pac::DMA.ints0().read().ints0();