aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f4/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * embassy-stm32: Simplify timeGrant Miller2022-07-102-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
* | Add F4 flash driverchemicstry2022-07-111-0/+57
|/
* Use u32 instead of Duration for IWDGchemicstry2022-07-111-1/+1
|
* Add comments to watchdog examplechemicstry2022-07-101-0/+2
|
* Implement IWDG timeout calculationchemicstry2022-07-101-0/+44
|
* Merge #826bors[bot]2022-06-221-2/+2
|\ | | | | | | | | | | | | | | 826: Bump bxcan version r=chemicstry a=chemicstry Co-authored-by: chemicstry <[email protected]>
| * Fix examplechemicstry2022-06-231-2/+2
| |
* | Simplify examplechemicstry2022-06-231-10/+3
| |
* | Fix PWM for advanced timerschemicstry2022-06-231-0/+42
|/
* Run rustfmt.Dario Nieuwenhuis2022-06-1213-38/+18
|
* 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`.
* common/PeripheralMutex: remove unsafe API. (#802)Dario Nieuwenhuis2022-06-091-2/+1
| | | | | | Following the project's decision that "leak unsafe" APIs are not marked as "unsafe", update PeripheralMutex to accept non-'static state without unsafe. Fixes #801
* Simplify examplechemicstry2022-05-261-5/+3
|
* Reimplement BufRead for BufferedUartchemicstry2022-05-261-0/+38
|
* Remove embassy_hal_common::usb.Dario Nieuwenhuis2022-05-042-213/+0
| | | | | | | | | | | The replacement is `embassy-usb`. There's a WIP driver for stm32 USBD in #709, there's no WIP driver for stm32 USB_OTG. This means we're left without USB_OTG support for now. Reason for removing is I'm going to soon remove `embassy::io`, and USB uses it. I don't want to spend time maintaining "dead" code that is going to be removed. Volunteers welcome, either to update old USB to the new IO, or write a USB_OTG driver fo the new USB.
* 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.
* Use embassy/defmt-timestamp-uptime in all examples.Dario Nieuwenhuis2022-04-0215-56/+39
|
* Cleanupchemicstry2022-03-161-1/+2
|
* Fix SDMMC v2 and add H7 examplechemicstry2022-03-161-14/+9
|
* Use RCC frequency instead of configchemicstry2022-03-161-6/+2
|
* SDIO working on stm32f4chemicstry2022-03-161-0/+52
|
* [can] Do not use wildcard reexport for bxcanTimo Kröger2022-03-051-2/+3
|
* stm32f4: add adc + exampleFrederik2022-02-101-0/+26
| | | | | Example tested on stm32f407vg Discovery Board. minimal adc: no vref, dma, complex sequence
* Port multiprio example to stm32f3 and stm32f4 platformsCristian Eigel2022-02-101-0/+144
|
* Fix function namechemicstry2022-02-091-1/+1
|
* Merge USB FS and HS peripherals. Add ULPI.chemicstry2022-02-092-2/+116
|
* Add stm32 USB OTG peripheralschemicstry2022-02-081-0/+99
|
* stm32/spi: expose all functionality as inherent methods.Dario Nieuwenhuis2022-01-192-4/+2
|
* stm32/usart: expose all functionality as inherent methods.Dario Nieuwenhuis2022-01-192-5/+3
|
* 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
|
* Adjust for bxcan API.Bob McWhirter2021-11-151-3/+4
|
* Remove trait_alias, allow(incomplete_features).Dario Nieuwenhuis2021-09-039-18/+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-199-41/+0
|
* bxcan: Fix the flaky CAN exampleTimo Kröger2021-08-181-2/+15
|
* bxcan: namechange "bxcan_v1" -> "can_bxcan"Timo Kröger2021-08-181-1/+1
|
* CAN support with bxcan crateTimo Kröger2021-08-181-0/+39
|
* stm32f4: Use unwrap! where possibleBen Gamari2021-08-051-2/+2
|
* examples: Consistently use unwrap! in favor of .unwrap()Ben Gamari2021-08-054-11/+11
| | | | | Unfortunately errors from `embedded_graphics` and `core` doesn't provide the necessary instances currently.
* time: replace dyn clock/alarm with a global Driver traitDario Nieuwenhuis2021-08-055-5/+1
|
* Merge pull request #344 from bobmcwhirter/remove_buildersDario Nieuwenhuis2021-08-041-6/+4
|\ | | | | Remove builders from Config(s) and examples.
| * Grep fails me.Bob McWhirter2021-08-041-2/+0
| |
| * Remove more extra vars.Bob McWhirter2021-08-041-4/+2
| |
| * Remove builders from Config(s) and examples.Bob McWhirter2021-08-041-1/+3
| |
* | Update nightly, remove removed features.Dario Nieuwenhuis2021-08-048-16/+0
|/
* Rename bread -> read_blockingUlf Lilleengen2021-08-041-1/+1
|
* Add uart::Read DMA-based implementationUlf Lilleengen2021-08-031-1/+1
| | | | * Rename existing read() to bread() (blocking)
* f4-pll: Add max values per chipThales Fragoso2021-07-291-1/+1
|
* f4-rcc: Add option to enable debug_wfe and add hello exampleThales Fragoso2021-07-291-0/+34
|
* Use `embassy::main` macro for stm32f4 examplesTimo Kröger2021-07-276-133/+59
|