aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f3/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-071-0/+116
|
* Add support for F3 flashMatous Hybl2022-05-062-1/+44
|
* 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-029-43/+25
|
* Improve logic for processing button eventsCristian Eigel2022-02-161-15/+25
|
* 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
|
* Support unstable-trait feature for stm32Ulf Lilleengen2022-01-261-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-192-9/+7
|
* [examples] Add examples for STM32F3VasanthakumarV2021-12-137-0/+210