summaryrefslogtreecommitdiff
path: root/examples/stm32l0
AgeCommit message (Collapse)Author
2022-09-22Update Rust nightly.Dario Nieuwenhuis
Removes feature(generic_associated_types)
2022-09-04Merge #939bors[bot]
939: time: add more tick rates, use 1mhz as default. r=Dirbaio a=Dirbaio Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2022-09-02time: add more tick rates, use 1mhz as default.Dario Nieuwenhuis
2022-08-26lora: Fix for stm32l0 exampe to buildTimo Kröger
2022-08-26Use released rust-lorawan with radio fixesUlf Lilleengen
2022-08-22split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis
2022-08-22Remove Forever, switch to static_cell.Dario Nieuwenhuis
2022-08-18Split embassy-time from embassy-executor.Dario Nieuwenhuis
2022-08-17examples Remove the `fn config()` idiom.Dario Nieuwenhuis
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.
2022-08-17Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis
2022-08-17Update to critical-section 1.0, atomic-polyfill 1.0Dario Nieuwenhuis
2022-07-29Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis
2022-07-10embassy-stm32: Simplify timeGrant Miller
- 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
2022-06-18Merge pull request #822 from embassy-rs/remove-authorsDario Nieuwenhuis
Remove the authors field from Cargo.tomls
2022-06-18Merge pull request #821 from embassy-rs/defmt-traceDario Nieuwenhuis
Add env DEFMT_LOG=trace to all examples.
2022-06-18Remove the authors field from Cargo.tomlsDario Nieuwenhuis
It currently contains whoever was first to write some code for the crate, even if many more people have contributed to it later. The field is "sort of" deprecated, it was made optional recently: https://rust-lang.github.io/rfcs/3052-optional-authors-field.html Due the the reasons listed there I believe removing it is better than setting it to generic fluff like "The Embassy contributors".
2022-06-18Update to 2021 edition. (#820)Dario Nieuwenhuis
2022-06-18Add env DEFMT_LOG=trace to all examples.Dario Nieuwenhuis
2022-06-12Run rustfmt.Dario Nieuwenhuis
2022-05-31examples/stm32*, tests/stm32: specify time-tick-32768hzWill Glynn
2022-05-19Update embedded-io to 0.3Dario Nieuwenhuis
2022-05-07Replace embassy::io with embedded_io.Dario Nieuwenhuis
2022-04-27Add bootloader to CIUlf Lilleengen
2022-04-27Add stm32 flash + bootloader supportUlf Lilleengen
* 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
2022-04-26Update to released lorawan cratesUlf Lilleengen
2022-04-08Update to latest rust-lorawan versionUlf Lilleengen
2022-04-02Use embassy/defmt-timestamp-uptime in all examples.Dario Nieuwenhuis
2022-02-12stm32: add rust stable supportDario Nieuwenhuis
2022-01-27traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash.Dario Nieuwenhuis
2022-01-26Support unstable-trait feature for stm32Ulf Lilleengen
2022-01-24stm32: add `time-driver-any` cargo feature that automatically picks one ↵Dario Nieuwenhuis
available timer.
2022-01-19stm32/spi: expose all functionality as inherent methods.Dario Nieuwenhuis
2022-01-19stm32/usart: expose all functionality as inherent methods.Dario Nieuwenhuis
2022-01-19examples/stm32l0: cleanupDario Nieuwenhuis
2022-01-19stm32/exti: expose all functionality as inherent methods.Dario Nieuwenhuis
2022-01-19stm32/gpio: expose all functionality as inherent methods.Dario Nieuwenhuis
2022-01-12Make exti an optional featureUlf Lilleengen
* Add embassy-stm32 build with exti * Add exti to examples
2022-01-05stm32/rcc: remove Rcc struct, RccExt trait.Dario Nieuwenhuis
All the RCC configuration is executed in init().
2022-01-04stm32/rcc: remove builders on Config.Dario Nieuwenhuis
This makes API consistent with other Config structs in Embassy, where the convention is to not use builders.
2021-12-16Update rust-toolchainUlf Lilleengen
2021-12-03Refactor sx127x radio to use async SPI with DMAUlf Lilleengen
2021-12-02Update rust-lorawan to version supporting defmt 0.3Ulf Lilleengen
2021-11-29examples: remove unused deps.Dario Nieuwenhuis
2021-11-23Fix interrupt_take macro by specifying path to panic macro.Matous Hybl
2021-11-15Remove unused depsDario Nieuwenhuis
2021-11-15Adjust all examples to defmt 0.3.Bob McWhirter
2021-11-07Replace rustflags with build.rs extra-link-args.Dario Nieuwenhuis
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.
2021-10-22Use upstream version of rust-lorawanUlf Lilleengen
2021-10-11Update to newer revision of async lorawan stackUlf Lilleengen
2021-09-30Add embassy-lora crateUlf Lilleengen
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.