From c1c704bfc82c5cbe53a00dfe9e9d1d05ab365698 Mon Sep 17 00:00:00 2001 From: Dion Dokter Date: Wed, 13 Oct 2021 15:00:08 +0200 Subject: [PATCH] - Removed the enable assert from UARTE. - Added nRF9160 to CI. --- .github/workflows/rust.yml | 3 +++ embassy-nrf/src/uarte.rs | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b728c0db..fed33cc8 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -48,6 +48,9 @@ jobs: - package: embassy-nrf target: thumbv7em-none-eabi features: nrf52833 + - package: embassy-nrf + target: thumbv8m.main-none-eabihf + features: nrf9160 - package: embassy-nrf target: thumbv7em-none-eabi features: nrf52840 diff --git a/embassy-nrf/src/uarte.rs b/embassy-nrf/src/uarte.rs index 15ebcdd5..024a86c9 100644 --- a/embassy-nrf/src/uarte.rs +++ b/embassy-nrf/src/uarte.rs @@ -68,8 +68,6 @@ impl<'d, T: Instance> Uarte<'d, T> { let r = T::regs(); - assert!(r.enable.read().enable().is_disabled()); - rxd.conf().write(|w| w.input().connect().drive().h0h1()); r.psel.rxd.write(|w| unsafe { w.bits(rxd.psel_bits()) });