embassy/examples
bors[bot] 1a7b9e3279
Merge #542
542: nrf/gpiote: remove PortInput, move impls to Input/FlexPin. r=Dirbaio a=Dirbaio

`PortInput` is just a dumb wrapper around `Input`, it has no reason whatsoever to exist. This PR moves the `wait_for_x` functionality to `Input` directly.

It also adds it to `FlexPin` for completeness and consistency with `Input`.

(The reason `PortInput` exists is a while ago `GPIOTE` was an owned singleton that you had to initialize, so `PortInput::new()` would require it to enforce it's been initialized. This doesn't apply anymore now that GPIOTE is "global")

Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2021-12-14 14:09:59 +00:00
..
nrf Merge #542 2021-12-14 14:09:59 +00:00
rp Remove unused deps 2021-11-15 20:13:22 +01:00
std Do not use exported Result to mitigate problems with clap. 2021-12-08 22:19:13 +01:00
stm32f0 Remove unused deps 2021-11-15 20:13:22 +01:00
stm32f1 examples: remove unused deps. 2021-11-29 02:07:48 +01:00
stm32f4 examples: remove unused deps. 2021-11-29 02:07:48 +01:00
stm32f7 Use smoltcp 0.8.0 from crates.io. 2021-12-12 15:32:36 +01:00
stm32g0 examples: remove unused deps. 2021-11-29 02:07:48 +01:00
stm32g4 examples/stm32g4: add pwm example 2021-11-27 03:06:46 +01:00
stm32h7 Use smoltcp 0.8.0 from crates.io. 2021-12-12 15:32:36 +01:00
stm32l0 Refactor sx127x radio to use async SPI with DMA 2021-12-03 09:53:28 +01:00
stm32l1 examples: remove unused deps. 2021-11-29 02:07:48 +01:00
stm32l4 examples: remove unused deps. 2021-11-29 02:07:48 +01:00
stm32u5 examples: remove unused deps. 2021-11-29 02:07:48 +01:00
stm32wb55 examples: remove unused deps. 2021-11-29 02:07:48 +01:00
stm32wl55 Update rust-lorawan to version supporting defmt 0.3 2021-12-02 19:10:29 +01:00
wasm Update versions of critical-section and atomic-polyfill 2021-11-02 18:52:03 +01:00