stm32: fix build, add ci
This commit is contained in:
@ -1,9 +1,8 @@
|
||||
use core::sync::atomic::{compiler_fence, Ordering};
|
||||
|
||||
use defmt::{assert, *};
|
||||
|
||||
use crate::fmt::{assert, *};
|
||||
use crate::pac::dma::vals;
|
||||
use crate::{pac, peripherals};
|
||||
use pac::dma::vals;
|
||||
|
||||
pub struct Dma<T: Channel> {
|
||||
inner: T,
|
||||
|
@ -9,6 +9,7 @@ pub use embassy_extras::interrupt::Priority3 as Priority;
|
||||
|
||||
mod irqs {
|
||||
use super::*;
|
||||
use crate::pac::Interrupt as InterruptEnum;
|
||||
|
||||
declare!(TIMER_IRQ_0);
|
||||
declare!(TIMER_IRQ_1);
|
||||
|
@ -1,6 +1,6 @@
|
||||
use core::ops::Deref;
|
||||
use defmt::{assert, *};
|
||||
|
||||
use crate::fmt::{assert, *};
|
||||
use crate::pac;
|
||||
|
||||
const XOSC_MHZ: u32 = 12;
|
||||
|
Reference in New Issue
Block a user