Stub in the DMA bits that aren't yet there.
This commit is contained in:
@ -58,7 +58,10 @@ fn main() -> ! {
|
||||
w.dbg_stop().set_bit()
|
||||
});
|
||||
|
||||
pp.RCC.ahb1enr.modify(|_, w| w.dma1en().set_bit());
|
||||
pp.RCC.ahb1enr.modify(|_, w| {
|
||||
w.dma1en().set_bit();
|
||||
w
|
||||
});
|
||||
|
||||
pp.RCC.ahb2enr.modify(|_, w| {
|
||||
w.gpioaen().set_bit();
|
||||
@ -70,6 +73,11 @@ fn main() -> ! {
|
||||
w
|
||||
});
|
||||
|
||||
pp.RCC.apb1enr1.modify(|_, w| {
|
||||
w.uart4en().set_bit();
|
||||
w
|
||||
});
|
||||
|
||||
pp.RCC.apb2enr.modify(|_, w| {
|
||||
w.syscfgen().set_bit();
|
||||
w
|
||||
|
Reference in New Issue
Block a user