aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32l0
Commit message (Collapse)AuthorAgeFilesLines
...
* Update embedded-io to 0.3Dario Nieuwenhuis2022-05-191-1/+1
|
* Replace embassy::io with embedded_io.Dario Nieuwenhuis2022-05-073-7/+10
|
* Add bootloader to CIUlf Lilleengen2022-04-271-1/+1
|
* Add stm32 flash + bootloader supportUlf Lilleengen2022-04-272-0/+45
| | | | | | | | * 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-262-4/+4
|
* Update to latest rust-lorawan versionUlf Lilleengen2022-04-082-10/+4
|
* Use embassy/defmt-timestamp-uptime in all examples.Dario Nieuwenhuis2022-04-0210-41/+24
|
* stm32: add rust stable supportDario Nieuwenhuis2022-02-122-3/+61
|
* traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash.Dario Nieuwenhuis2022-01-271-1/+0
|
* Support unstable-trait feature for stm32Ulf Lilleengen2022-01-261-1/+1
|
* stm32: add `time-driver-any` cargo feature that automatically picks one ↵Dario Nieuwenhuis2022-01-241-1/+1
| | | | available timer.
* 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
|
* examples/stm32l0: cleanupDario Nieuwenhuis2022-01-194-37/+2
|
* 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
|
* Make exti an optional featureUlf Lilleengen2022-01-121-1/+1
| | | | | * Add embassy-stm32 build with exti * Add exti to examples
* 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.
* Update rust-toolchainUlf Lilleengen2021-12-161-2/+2
|
* Refactor sx127x radio to use async SPI with DMAUlf Lilleengen2021-12-032-13/+6
|
* Update rust-lorawan to version supporting defmt 0.3Ulf Lilleengen2021-12-021-3/+4
|
* examples: remove unused deps.Dario Nieuwenhuis2021-11-291-2/+0
|
* Fix interrupt_take macro by specifying path to panic macro.Matous Hybl2021-11-231-1/+0
|
* Remove unused depsDario Nieuwenhuis2021-11-151-1/+0
|
* Adjust all examples to defmt 0.3.Bob McWhirter2021-11-151-16/+5
|
* Replace rustflags with build.rs extra-link-args.Dario Nieuwenhuis2021-11-072-12/+4
| | | | | | | | | | | | Rustflags apply to ALL the crates in the graph, while we only need them for the toplevel crate which is the only one getting linked. Rustflags are not equal for all crates, this caused cargo to re-build the same dependency crate multiple times uselessly. After this change, deps are reused more, making builds faster. Note that this only applies when sharing the target/ dir for multiple crates in the repo which is not the default.
* Use upstream version of rust-lorawanUlf Lilleengen2021-10-221-2/+2
|
* Update to newer revision of async lorawan stackUlf Lilleengen2021-10-111-2/+2
|
* Add embassy-lora crateUlf Lilleengen2021-09-302-0/+108
| | | | | | | | | | | | | | 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.
* Update lots of depsDario Nieuwenhuis2021-09-111-7/+7
|
* 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-197-36/+16
|
* Add IRQ-driven buffered USART implementation for STM32 v2 usart (#356)Ulf Lilleengen2021-08-162-0/+52
| | | | | | | | | | * 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.
* stm32/time: add Cargo features to choose tim2/tim3Dario Nieuwenhuis2021-08-051-1/+1
|
* time: replace dyn clock/alarm with a global Driver traitDario Nieuwenhuis2021-08-053-3/+0
|
* Update nightly, remove removed features.Dario Nieuwenhuis2021-08-045-10/+0
|
* rustfmt everythingDario Nieuwenhuis2021-08-041-1/+1
|
* Add uart::Read DMA-based implementationUlf Lilleengen2021-08-031-0/+42
| | | | * Rename existing read() to bread() (blocking)
* examples: Drop build-std = ["core"]Ben Gamari2021-07-311-3/+0
| | | | | | | | Previously the cargo configurations of all of the example projects had `build-std = ["core"]`, which forces compilation of `core` as a code-size optimisation. However, this is strictly unnecessary and will currently break for users who do not use `rustup` directly (e.g. nix users).
* stm32l0: Use `embassy::main` for examplesTimo Kröger2021-07-292-44/+17
|
* Rename embassy-extras to embassy-hal-commonDario Nieuwenhuis2021-07-291-1/+1
|
* Fix up the L0 example for SPI.Bob McWhirter2021-07-231-1/+4
|
* stm32: Update gpio examplesThales Fragoso2021-06-253-7/+7
|
* Add support for generating PAC for dual coresUlf Lilleengen2021-06-162-3/+8
| | | | | | | | * Chips that have multiple cores will be exposed as chipname_corename, i.e. stm32wl55jc_cm4 * Chips that have single cores will use the chip family as feature name and pick the first and only core from the list * Add support for stm32wl55 chip family
* Add minimal RCC impls for L4 and F4Ulf Lilleengen2021-06-141-1/+0
|
* Add examples for STM32L0Ulf Lilleengen2021-06-099-0/+297