aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32l4/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-2/+1
|
* 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-1/+1
| | | | | 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
|
* stm32l4: Cleanup examplesTimo Kröger2021-07-291-10/+6
| | | | | * Use `cortex_m_rt::entry` for sync examples * Use `Dbgmcu::enable_all()` everywhere
* stm32/examples: cleanup L4Dario Nieuwenhuis2021-07-241-14/+7
|
* Enable SYSCFG clock in `exti::init()`Timo Kröger2021-07-241-4/+0
|
* stm32: No need to enable GPIO clocks manuallyTimo Kröger2021-07-231-9/+0
|
* stm32l4/examples: remove old-pac uses.Dario Nieuwenhuis2021-07-151-20/+22
|
* stm32: Update gpio examplesThales Fragoso2021-06-251-3/+3
|
* ADCv3 and example.Bob McWhirter2021-06-141-1/+0
|
* Initial examples for STM32L4+Bob McWhirter2021-06-081-0/+58