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 |
|
Dario Nieuwenhuis
|
de016e8456
|
Remove trait_alias, allow(incomplete_features).
trait_alias seems unused. no idea why it's there.
|
2021-09-03 17:00:58 +02:00 |
|
Dario Nieuwenhuis
|
2c992f7010
|
stm32: move dbgmcu stuff to toplevel config setting, defaulting to true.
|
2021-08-19 23:50:19 +02:00 |
|
Dario Nieuwenhuis
|
07d4b196f7
|
Update nightly, remove removed features.
|
2021-08-04 19:48:14 +02:00 |
|
Timo Kröger
|
4ccac69929
|
stm32l4: Cleanup examples
* Use `cortex_m_rt::entry` for sync examples
* Use `Dbgmcu::enable_all()` everywhere
|
2021-07-29 15:54:11 +02:00 |
|
Dario Nieuwenhuis
|
5b0ae5c25b
|
stm32/examples: cleanup L4
|
2021-07-24 13:57:11 +02:00 |
|
Timo Kröger
|
5ac91933ff
|
stm32: No need to enable GPIO clocks manually
|
2021-07-23 17:54:13 +02:00 |
|
Rukai
|
25d4b2ea26
|
fix stm32 warnings
|
2021-07-05 01:54:29 +02:00 |
|
Bob McWhirter
|
d58fb11b2e
|
ADCv3 and example.
|
2021-06-14 13:20:42 -04:00 |
|
Bob McWhirter
|
ecd53c916c
|
Small changes to support DAC example.
|
2021-06-08 14:04:56 -04:00 |
|