aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32l0/src
Commit message (Collapse)AuthorAgeFilesLines
* Update to embedded-io 0.5 (#1752)Dario Nieuwenhuis2023-08-071-1/+1
|
* Merge pull request #1606 from JcBernack/rng-updateDario Nieuwenhuis2023-07-301-2/+6
|\ | | | | | | STM32: RNG update
| * stm32/rng: use bind_interrupts!.Dario Nieuwenhuis2023-07-311-2/+6
| |
* | Set frequency in stm32 SPI examplesbofh2023-07-311-1/+5
| |
* | Fix format in stm32 SPI examplesbofh2023-07-304-36/+4
| |
* | Fix more stm32 SPI examplesbofh2023-07-304-8/+16
| |
* | Fix formattingbofh2023-07-301-9/+1
| |
* | Fix stm32 SPI examplesbofh2023-07-301-2/+0
|/
* Fix examplesRasmus Melchior Jacobsen2023-05-251-5/+5
|
* Let Flash<Async/Blocking> be a thingRasmus Melchior Jacobsen2023-05-251-1/+1
|
* Align with new bind_interruptRasmus Melchior Jacobsen2023-05-251-2/+2
|
* Align examplesRasmus Melchior Jacobsen2023-05-251-6/+6
|
* Align examplesRasmus Melchior Jacobsen2023-05-251-3/+2
|
* stm32: move to bind_interruptsxoviat2023-05-242-6/+12
| | | | disable lora functionality for now
* Add lora-phy examples.ceekdee2023-04-235-76/+312
|
* Add external LoRa physical layer functionality.ceekdee2023-04-211-0/+120
|
* Update to rust-lorawan with afit supportUlf Lilleengen2023-04-151-1/+1
|
* Align flash examplesRasmus Melchior Jacobsen2023-04-051-1/+1
|
* Fix interrupt handling so it is similar to before the rework, and fix examplesMathias2023-03-311-14/+2
|
* stm32: Add support for read_until_idle on UARTGuillaume MICHEL2022-10-262-6/+10
|
* Remove flash lock/unlock public API from stm32 flash, and perform the ↵Mathias2022-09-301-1/+1
| | | | unlocking and locking automatically on erase and write operations
* Update Rust nightly.Dario Nieuwenhuis2022-09-221-1/+0
| | | | Removes feature(generic_associated_types)
* lora: Fix for stm32l0 exampe to buildTimo Kröger2022-08-261-1/+1
|
* Remove Forever, switch to static_cell.Dario Nieuwenhuis2022-08-221-3/+3
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-189-12/+12
|
* examples Remove the `fn config()` idiom.Dario Nieuwenhuis2022-08-172-13/+8
| | | | | 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-178-18/+21
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-299-21/+21
|
* 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-129-58/+24
|
* Replace embassy::io with embedded_io.Dario Nieuwenhuis2022-05-071-4/+7
|
* Add bootloader to CIUlf Lilleengen2022-04-271-1/+1
|
* Add stm32 flash + bootloader supportUlf Lilleengen2022-04-271-0/+43
| | | | | | | | * Add flash drivers for L0, L1, L4, WB and WL. Not tested for WB, but should be similar to WL. * Add embassy-boot-stm32 for bootloading on STM32. * Add flash examples and bootloader examples * Update stm32-data
* Update to released lorawan cratesUlf Lilleengen2022-04-261-1/+1
|
* Update to latest rust-lorawan versionUlf Lilleengen2022-04-081-8/+2
|
* Use embassy/defmt-timestamp-uptime in all examples.Dario Nieuwenhuis2022-04-029-40/+23
|
* stm32: add rust stable supportDario Nieuwenhuis2022-02-121-0/+54
|
* stm32/spi: expose all functionality as inherent methods.Dario Nieuwenhuis2022-01-191-2/+1
|
* stm32/usart: expose all functionality as inherent methods.Dario Nieuwenhuis2022-01-191-1/+0
|
* 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-193-12/+9
|
* stm32/rcc: remove Rcc struct, RccExt trait.Dario Nieuwenhuis2022-01-052-16/+10
| | | | All the RCC configuration is executed in init().
* stm32/rcc: remove builders on Config.Dario Nieuwenhuis2022-01-041-1/+1
| | | | | This makes API consistent with other Config structs in Embassy, where the convention is to not use builders.
* Refactor sx127x radio to use async SPI with DMAUlf Lilleengen2021-12-031-12/+5
|
* Fix interrupt_take macro by specifying path to panic macro.Matous Hybl2021-11-231-1/+0
|
* Add embassy-lora crateUlf Lilleengen2021-09-301-0/+104
| | | | | | | | | | | | | | This crate contains async radio drivers for various lora drivers that work with embassy timers. The code is imported from Drogue Device ( https://github.com/drogue-iot/drogue-device) The radio drivers integrate with the async LoRaWAN MAC layer in the lorawan-device crate. Also added is an example for the STM32WL55 and for STM32L0 (requires the LoRa Discovery board) for LoRaWAN. Future work is to make the underlying radio drivers using fully async SPI when communicating with the peripheral.
* Remove trait_alias, allow(incomplete_features).Dario Nieuwenhuis2021-09-036-12/+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-196-35/+15
|
* Add IRQ-driven buffered USART implementation for STM32 v2 usart (#356)Ulf Lilleengen2021-08-161-0/+51
| | | | | | | | | | * Add IRQ-driven buffered USART implementation for STM32 v2 usart * Implementation based on nRF UARTE, but simplified to not use DMA to avoid complex interaction between DMA and USART. * Implementation of AsyncBufRead and AsyncWrite traits * Some unit tests to ring buffer * Update polyfill version * Update sub module to get usart IRQ fix
* examples: Consistently use unwrap! in favor of .unwrap()Ben Gamari2021-08-052-7/+7
| | | | | Unfortunately errors from `embedded_graphics` and `core` doesn't provide the necessary instances currently.