stm32: move dbgmcu stuff to toplevel config setting, defaulting to true.
This commit is contained in:
@@ -10,7 +10,6 @@ mod example_common;
|
||||
use cortex_m_rt::entry;
|
||||
use embassy_stm32::can::filter::Mask32;
|
||||
use embassy_stm32::can::{Can, Frame, StandardId};
|
||||
use embassy_stm32::dbgmcu::Dbgmcu;
|
||||
use embassy_stm32::gpio::{Input, Pull};
|
||||
use example_common::*;
|
||||
|
||||
@@ -18,10 +17,6 @@ use example_common::*;
|
||||
fn main() -> ! {
|
||||
info!("Hello World!");
|
||||
|
||||
unsafe {
|
||||
Dbgmcu::enable_all();
|
||||
}
|
||||
|
||||
let mut p = embassy_stm32::init(Default::default());
|
||||
|
||||
// The next two lines are a workaround for testing without transceiver.
|
||||
|
||||
Reference in New Issue
Block a user