- Removed the enable assert from UARTE.
- Added nRF9160 to CI.
This commit is contained in:
parent
ddcee446c1
commit
c1c704bfc8
3
.github/workflows/rust.yml
vendored
3
.github/workflows/rust.yml
vendored
@ -48,6 +48,9 @@ jobs:
|
|||||||
- package: embassy-nrf
|
- package: embassy-nrf
|
||||||
target: thumbv7em-none-eabi
|
target: thumbv7em-none-eabi
|
||||||
features: nrf52833
|
features: nrf52833
|
||||||
|
- package: embassy-nrf
|
||||||
|
target: thumbv8m.main-none-eabihf
|
||||||
|
features: nrf9160
|
||||||
- package: embassy-nrf
|
- package: embassy-nrf
|
||||||
target: thumbv7em-none-eabi
|
target: thumbv7em-none-eabi
|
||||||
features: nrf52840
|
features: nrf52840
|
||||||
|
@ -68,8 +68,6 @@ impl<'d, T: Instance> Uarte<'d, T> {
|
|||||||
|
|
||||||
let r = T::regs();
|
let r = T::regs();
|
||||||
|
|
||||||
assert!(r.enable.read().enable().is_disabled());
|
|
||||||
|
|
||||||
rxd.conf().write(|w| w.input().connect().drive().h0h1());
|
rxd.conf().write(|w| w.input().connect().drive().h0h1());
|
||||||
r.psel.rxd.write(|w| unsafe { w.bits(rxd.psel_bits()) });
|
r.psel.rxd.write(|w| unsafe { w.bits(rxd.psel_bits()) });
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user