aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32g4/src
Commit message (Collapse)AuthorAgeFilesLines
* stm32: fix defective examplexoviat2023-04-161-2/+2
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-183-5/+5
|
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-173-6/+6
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-293-8/+8
|
* rename PwmPin::new_chX, update examples.Dario Nieuwenhuis2022-07-231-2/+3
|
* embassy-stm32: Simplify timeGrant Miller2022-07-101-2/+2
| | | | | | | | | | - Remove unused `MilliSeconds`, `MicroSeconds`, and `NanoSeconds` types - Remove `Bps`, `KiloHertz`, and `MegaHertz` types that were only used for converting to `Hertz` - Replace all instances of `impl Into<Hertz>` with `Hertz` - Add `hz`, `khz`, and `mhz` methods to `Hertz`, as well as free function shortcuts - Remove `U32Ext` extension trait
* Run rustfmt.Dario Nieuwenhuis2022-06-124-9/+6
|
* Use embassy/defmt-timestamp-uptime in all examples.Dario Nieuwenhuis2022-04-025-29/+12
|
* stm32: Remove OptionalPinDario Nieuwenhuis2022-02-101-2/+1
| | | | | | | | | 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.
* stm32/exti: expose all functionality as inherent methods.Dario Nieuwenhuis2022-01-191-1/+0
|
* stm32/gpio: expose all functionality as inherent methods.Dario Nieuwenhuis2022-01-192-5/+3
|
* Port the PWM example to H7, add low-level API example implementing 32-bit PWM.Matous Hybl2022-01-131-2/+2
|
* examples/stm32g4: add pwm exampleDario Nieuwenhuis2021-11-271-0/+36
|
* stm32: add stm32g4 support.Dario Nieuwenhuis2021-11-274-0/+102