aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f3
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-178-18/+20
|
* Update to critical-section 1.0, atomic-polyfill 1.0Dario Nieuwenhuis2022-08-171-1/+1
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-2910-30/+31
|
* embassy-stm32: Simplify timeGrant Miller2022-07-101-5/+5
| | | | | | | | | | - 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
* Merge pull request #822 from embassy-rs/remove-authorsDario Nieuwenhuis2022-06-181-1/+0
|\ | | | | Remove the authors field from Cargo.tomls
| * Remove the authors field from Cargo.tomlsDario Nieuwenhuis2022-06-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | 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".
* | Merge pull request #821 from embassy-rs/defmt-traceDario Nieuwenhuis2022-06-181-0/+3
|\ \ | |/ |/| Add env DEFMT_LOG=trace to all examples.
| * Add env DEFMT_LOG=trace to all examples.Dario Nieuwenhuis2022-06-181-0/+3
| |
* | Update to 2021 edition. (#820)Dario Nieuwenhuis2022-06-181-2/+1
|/
* Run rustfmt.Dario Nieuwenhuis2022-06-1210-57/+27
|
* Merge #806bors[bot]2022-06-121-2/+2
|\ | | | | | | | | | | | | | | | | | | 806: Add embassy-cortex-m crate. r=Dirbaio a=Dirbaio - Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`. - Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore) - Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`. Co-authored-by: Dario Nieuwenhuis <[email protected]>
| * Add embassy-cortex-m crate.Dario Nieuwenhuis2022-06-121-2/+2
| | | | | | | | | | | | - Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`. - Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore) - Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`.
* | Rename channel to mpmchuntc2022-06-121-1/+1
|/ | | | I've renamed the channel module for the MPMC as mpmc. There was a previous debate about this, but I feel that the strategy here avoids importing `channel::channel`. The change leaves `signal::Signal`, but I think that's ok. It is all a bit subjective of course. The bottom line for me is that I really like the term mpmc - it means something to me and aligns with broader naming e.g. in Tokio.
* stm32: add USB driver.Dario Nieuwenhuis2022-06-073-2/+121
|
* examples/stm32*, tests/stm32: specify time-tick-32768hzWill Glynn2022-05-311-1/+1
|
* Add support for F3 flashMatous Hybl2022-05-063-1/+45
|
* executor: fix unsoundness in InterruptExecutor::start.Dario Nieuwenhuis2022-04-251-6/+4
| | | | | | | The initial closure is not actually called in the interrupt, so this is illegally sending non-Send futures to the interrupt. Remove the closure, and return a SendSpawner instead.
* Simpler Channel.Dario Nieuwenhuis2022-04-061-35/+24
| | | | | | | - Allow initializing in a static, without Forever. - Remove ability to close, since in embedded enviromnents channels usually live forever and don't get closed. - Remove MPSC restriction, it's MPMC now. Rename "mpsc" to "channel". - `Sender` and `Receiver` are still available if you want to enforce a piece of code only has send/receive access, but are optional: you can send/receive directly into the Channel if you want.
* Use embassy/defmt-timestamp-uptime in all examples.Dario Nieuwenhuis2022-04-0210-44/+26
|
* Improve logic for processing button eventsCristian Eigel2022-02-161-15/+25
|
* stm32: add rust stable supportDario Nieuwenhuis2022-02-121-1/+1
|
* blocking_mutex: refactor to work on stable. No GATs, and can be constructed ↵Dario Nieuwenhuis2022-02-121-4/+7
| | | | in const.
* Add button_events example for stm32f3Cristian Eigel2022-02-111-0/+163
|
* Port multiprio example to stm32f3 and stm32f4 platformsCristian Eigel2022-02-101-0/+144
|
* 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-2/+1
|
* stm32: add `time-driver-any` cargo feature that automatically picks one ↵Dario Nieuwenhuis2022-01-241-1/+1
| | | | available timer.
* 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-192-9/+7
|
* Make exti an optional featureUlf Lilleengen2022-01-121-1/+1
| | | | | * Add embassy-stm32 build with exti * Add exti to examples
* [examples] Add examples for STM32F3VasanthakumarV2021-12-1310-0/+243