aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32l4/src/bin
Commit message (Collapse)AuthorAgeFilesLines
...
| | * attempt at fixing ciJuliDi2023-06-281-1/+0
| | |
| | * attempt at fixing ciJuliDi2023-06-281-1/+1
| | |
| | * add docJuliDi2023-06-281-0/+2
| | |
| | * Update DAC examples, add DAC + DMA exampleJuliDi2023-06-282-10/+154
| | |
| * | stm32/otg: add VBUS detection.Dario Nieuwenhuis2023-06-271-1/+3
| |/ | | | | | | Fixes #1442.
| * stm32: update stm32-metapac.Dario Nieuwenhuis2023-06-192-11/+7
| |
* | L4: Switch to MSI to prevent problems with PLL configuration, and enable ↵Mathias2023-07-011-0/+50
|/ | | | power to AHB bus clock to allow RTC to run
* stm32: move to bind_interruptsxoviat2023-05-246-18/+36
| | | | disable lora functionality for now
* Fix some typosDirk Stolle2023-05-081-1/+1
|
* Add MCO support for L4 and F4 familiesMathieu Dupont2023-04-031-0/+27
|
* Fix examples broken by the macro fix.Dario Nieuwenhuis2023-03-083-3/+3
|
* usb: unify ControlHandler+DeviceStateHandler, route all control requests to ↵Dario Nieuwenhuis2023-02-081-1/+0
| | | | | | | | all handlers. - Allows classes to handle vendor requests. - Allows classes to use a single handler for multiple interfaces. - Allows classes to access the other events (previously only `reset` was available).
* stm32 otg: add examples.chemicstry2023-01-111-0/+108
|
* stm32: Add support for read_until_idle on UARTGuillaume MICHEL2022-10-262-2/+6
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-1810-11/+11
|
* examples Remove the `fn config()` idiom.Dario Nieuwenhuis2022-08-171-6/+3
| | | | | It was only useful for doing #[embassy_executor::main(config = "config()")]`. Now that it's gone, it makes more sense to build the config in main directly.
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-179-19/+23
|
* Implement I2C pullup configurationchemicstry2022-08-093-3/+30
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-2910-20/+20
|
* Run rustfmt.Dario Nieuwenhuis2022-06-1214-52/+19
|
* Async shared bus for SPI & I2C + rename embassy-traits (#769)Henrik Alsér2022-05-262-2/+2
| | | | | | | | | | | | | | | | | | | * Rename embassy-traits to embassy-embedded-hal * Rename embassy-traits to embassy-embedded-hal * Add shared bus for SPI and I2C * rustfmt * EHA alpha 1 * Rename embedded-traits in examples * rustfmt * rustfmt Co-authored-by: Henrik Alsér <[email protected]>
* Remove embassy_hal_common::usb.Dario Nieuwenhuis2022-05-041-115/+0
| | | | | | | | | | | The replacement is `embassy-usb`. There's a WIP driver for stm32 USBD in #709, there's no WIP driver for stm32 USB_OTG. This means we're left without USB_OTG support for now. Reason for removing is I'm going to soon remove `embassy::io`, and USB uses it. I don't want to spend time maintaining "dead" code that is going to be removed. Volunteers welcome, either to update old USB to the new IO, or write a USB_OTG driver fo the new USB.
* Switch to crates.io embedded-hal, embedded-hal-async.Dario Nieuwenhuis2022-04-221-30/+0
| | | | | This temporarily removes support for the async UART trait, since it's not yet in embedded-hal-async.
* fix clock in l4 rng examplePhilip A Reimer2022-04-111-3/+4
|
* add stm32l4 hsi48 and usb examplePhilip A Reimer2022-04-091-0/+115
|
* Use embassy/defmt-timestamp-uptime in all examples.Dario Nieuwenhuis2022-04-0215-45/+45
|
* Update rust nightly, embedded-hal 1.0, embedded-hal-async.Dario Nieuwenhuis2022-03-111-1/+1
|
* Update examplesGrant Miller2022-03-081-1/+1
|
* 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.
* traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash.Dario Nieuwenhuis2022-01-272-8/+5
|
* Support unstable-trait feature for stm32Ulf Lilleengen2022-01-264-11/+10
|
* stm32/spi: expose all functionality as inherent methods.Dario Nieuwenhuis2022-01-191-2/+1
|
* stm32/i2c: expose all functionality as inherent methods.Dario Nieuwenhuis2022-01-192-3/+1
|
* stm32/usart: expose all functionality as inherent methods.Dario Nieuwenhuis2022-01-192-5/+3
|
* 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-195-18/+13
|
* stm32/rcc: remove builders on Config.Dario Nieuwenhuis2022-01-041-2/+2
| | | | | This makes API consistent with other Config structs in Embassy, where the convention is to not use builders.
* Add adapter for implementing async traits for blocking typesUlf Lilleengen2021-12-173-0/+118
| | | | | | | | This allows writing drivers relying on async traits, while still functioning with implementations that already implement the embedded-hal traits. Add examples to stm32l4 for using this feature.
* Merge #456bors[bot]2021-10-261-0/+37
|\ | | | | | | | | | | | | | | 456: Fix L4 clock setup for MSI and PLL to allow RNG operation r=Dirbaio a=lulf Example is tested on STM32L475VG. Co-authored-by: Ulf Lilleengen <[email protected]>
| * Fix clock setup for MSI and PLL to allow RNG opereationUlf Lilleengen2021-10-261-0/+37
| | | | | | | | Add RNG example using PLL as clock source.
* | Add implementation of async trait for STM32 I2C v2Ulf Lilleengen2021-10-211-0/+35
|/ | | | | * Add DMA read implementation for I2C v2 * Add example using DMA for I2C
* Add i2c example for L4Ulf Lilleengen2021-10-201-0/+28
|
* Remove trait_alias, allow(incomplete_features).Dario Nieuwenhuis2021-09-039-18/+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-199-41/+0
|
* examples: Consistently use unwrap! in favor of .unwrap()Ben Gamari2021-08-054-8/+8
| | | | | Unfortunately errors from `embedded_graphics` and `core` doesn't provide the necessary instances currently.
* time: replace dyn clock/alarm with a global Driver traitDario Nieuwenhuis2021-08-054-4/+0
|
* Update nightly, remove removed features.Dario Nieuwenhuis2021-08-049-18/+0
|
* Rename bread -> read_blockingUlf Lilleengen2021-08-041-1/+1
|
* Add uart::Read DMA-based implementationUlf Lilleengen2021-08-031-1/+1
| | | | * Rename existing read() to bread() (blocking)
* stm32l4: Cleanup examplesTimo Kröger2021-07-299-75/+48
| | | | | * Use `cortex_m_rt::entry` for sync examples * Use `Dbgmcu::enable_all()` everywhere