embassy/examples
bors[bot] 5ae4e20f86
Merge #607
607: stm32: Add standard crate-wide macros for pin/dma traits r=Dirbaio a=Dirbaio

All drivers will declare the traits using these macros.

This has a few implications:
- ALL drivers will have an Instance trait, even for drivers that usually have only one instance (for example crc, eth)
- It's no longer possible to have a fn configure() in pin traits, drivers will have to do that some other way

In the future, build.rs will generate all the impls instead of macrotables.

Pin/Dma traits are no longer explicitly sealed, since gpio::Pin and dma::Channel are already sealed, which has the same effect. This means the `af_num()` and `request()` funcs are now public, but IMO that's okay, they're unlikely to change.

Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2022-02-11 23:11:12 +00:00
..
boot Add embassy-boot 2022-02-09 10:50:29 +01:00
nrf Upgrade to embedded-storage 0.3.0 2022-02-07 12:35:58 +01:00
rp Update rust-toolchain 2021-12-16 11:34:20 +01:00
std Do not use exported Result to mitigate problems with clap. 2021-12-08 22:19:13 +01:00
stm32f0 stm32: add time-driver-any cargo feature that automatically picks one available timer. 2022-01-24 00:24:53 +01:00
stm32f1 traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash. 2022-01-27 00:08:02 +01:00
stm32f3 Add button_events example for stm32f3 2022-02-11 22:10:47 +01:00
stm32f4 Port multiprio example to stm32f3 and stm32f4 platforms 2022-02-10 19:22:32 +01:00
stm32f7 stm32: Add standard crate-wide macros for pin/dma traits, switch all drivers to use them. 2022-02-10 21:38:03 +01:00
stm32g0 traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash. 2022-01-27 00:08:02 +01:00
stm32g4 stm32: Remove OptionalPin 2022-02-10 02:38:10 +01:00
stm32h7 stm32: Add standard crate-wide macros for pin/dma traits, switch all drivers to use them. 2022-02-10 21:38:03 +01:00
stm32l0 traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash. 2022-01-27 00:08:02 +01:00
stm32l1 traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash. 2022-01-27 00:08:02 +01:00
stm32l4 stm32: Remove OptionalPin 2022-02-10 02:38:10 +01:00
stm32u5 traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash. 2022-01-27 00:08:02 +01:00
stm32wb55 traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash. 2022-01-27 00:08:02 +01:00
stm32wl55 traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash. 2022-01-27 00:08:02 +01:00
wasm Update versions of critical-section and atomic-polyfill 2021-11-02 18:52:03 +01:00