Skip to content

Commit 1966a0c

Browse files
remove the D1 wakeup workaroung
1 parent e540392 commit 1966a0c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

bootloader/src/main.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -211,15 +211,6 @@ async fn main(_spawner: Spawner) {
211211

212212
let p = embassy_nrf::init(Default::default());
213213

214-
// Send a wake-up sequence to the MPU (SFT-5196 workaround)
215-
let tx = unsafe { p.P0_16.clone_unchecked() };
216-
let mut config_uart = uarte::Config::default();
217-
config_uart.parity = uarte::Parity::EXCLUDED;
218-
config_uart.baudrate = uarte::Baudrate::BAUD2400;
219-
220-
let mut uart = uarte::UarteTx::new(p.UARTE0, Irqs, tx, config_uart);
221-
uart.write(&[0xAA]).await.unwrap();
222-
223214
let mut spi = {
224215
// Configure SPI
225216
let mut config_spi = spis::Config::default();

0 commit comments

Comments
 (0)