embassy/examples/stm32l4
Dario Nieuwenhuis 550da471be stm32: Remove OptionalPin
The idea behind OptionalPin has a few problems:

- you need to impl the signal traits for NoPin which is a bit weird https://github.com/embassy-rs/embassy/blob/master/embassy-stm32/src/dcmi.rs#L413-L416
- you can pass any combination of set/unset pins, which needs checking at runtime  https://github.com/embassy-rs/embassy/blob/master/embassy-stm32/src/dcmi.rs#L130

The replacement is to do multiple `new` constructors for each combination of pins you want to take.
2022-02-10 02:38:10 +01:00
..
.cargo Replace rustflags with build.rs extra-link-args. 2021-11-07 23:52:11 +01:00
src stm32: Remove OptionalPin 2022-02-10 02:38:10 +01:00
build.rs Replace rustflags with build.rs extra-link-args. 2021-11-07 23:52:11 +01:00
Cargo.toml traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash. 2022-01-27 00:08:02 +01:00
memory.x Initial examples for STM32L4+ 2021-06-08 10:37:11 -04:00