aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f4/src/bin/button.rs
Commit message (Collapse)AuthorAgeFilesLines
* Change GPIO inherent methods back to `&self`.Dario Nieuwenhuis2024-01-101-1/+1
| | | | | | | With the embedded-hal rc3 update I changed them to require `&mut self`, but in retrospect I think `&self` is better, for extra flexibility. This PR reverts the changes from the rc3 update to inherent methods.
* ci: use beta, add secondary nightly ci.Dario Nieuwenhuis2023-12-211-1/+0
|
* Update embedded-hal to 1.0.0-rc.3Dario Nieuwenhuis2023-12-141-1/+1
|
* Run rustfmt.Dario Nieuwenhuis2022-06-121-2/+1
|
* Use embassy/defmt-timestamp-uptime in all examples.Dario Nieuwenhuis2022-04-021-3/+3
|
* stm32/gpio: expose all functionality as inherent methods.Dario Nieuwenhuis2022-01-191-6/+5
|
* Remove trait_alias, allow(incomplete_features).Dario Nieuwenhuis2021-09-031-2/+0
| | | | trait_alias seems unused. no idea why it's there.
* stm32: move dbgmcu stuff to toplevel config setting, defaulting to true.Dario Nieuwenhuis2021-08-191-5/+0
|
* examples: Consistently use unwrap! in favor of .unwrap()Ben Gamari2021-08-051-5/+5
| | | | | Unfortunately errors from `embedded_graphics` and `core` doesn't provide the necessary instances currently.
* Update nightly, remove removed features.Dario Nieuwenhuis2021-08-041-2/+0
|
* Use `Dbgmcu::enable_all()` in stm32f4 examplesTimo Kröger2021-07-231-6/+2
|
* stm32: No need to enable GPIO clocks manuallyTimo Kröger2021-07-231-9/+0
|
* Cleanup stm32f4 examplesTimo Kröger2021-07-211-21/+18
| | | | | * Remove dependency on stm32f4 pac crate * Remove unused `ZeroClock`
* stm32: Update gpio examplesThales Fragoso2021-06-251-4/+4
|
* Move examples to a subdirectoryDario Nieuwenhuis2021-06-021-0/+59