aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f4
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* examples/stm32*, tests/stm32: specify time-tick-32768hzWill Glynn2022-05-311-1/+1
|
* Simplify examplechemicstry2022-05-261-5/+3
|
* Fix removed spacechemicstry2022-05-261-0/+1
|
* Reimplement BufRead for BufferedUartchemicstry2022-05-262-1/+39
|
* Remove embassy_hal_common::usb.Dario Nieuwenhuis2022-05-043-214/+1
| | | | | | | | | | | 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-0216-57/+40
|
* Cleanupchemicstry2022-03-161-1/+2
|
* Cleanupchemicstry2022-03-161-3/+0
|
* 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-162-0/+55
|
* Update rust nightly, embedded-hal 1.0, embedded-hal-async.Dario Nieuwenhuis2022-03-111-1/+1
|
* [can] Do not use wildcard reexport for bxcanTimo Kröger2022-03-051-2/+3
|
* Merge #608bors[bot]2022-02-131-0/+26
|\ | | | | | | | | | | | | | | | | 608: stm32f4: add adc + example r=Dirbaio a=ain101 Example tested on stm32f407vg Discovery Board. minimal adc: no vref, dma, complex sequence Co-authored-by: Frederik <[email protected]>
| * stm32f4: add adc + exampleFrederik2022-02-101-0/+26
| | | | | | | | | | Example tested on stm32f407vg Discovery Board. minimal adc: no vref, dma, complex sequence
* | stm32: add rust stable supportDario Nieuwenhuis2022-02-121-1/+1
|/
* 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-093-3/+117
|
* Add stm32 USB OTG peripheralschemicstry2022-02-082-1/+103
|
* traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash.Dario Nieuwenhuis2022-01-271-2/+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-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
|
* Make exti an optional featureUlf Lilleengen2022-01-121-1/+1
| | | | | * Add embassy-stm32 build with exti * Add exti to examples
* examples: remove unused deps.Dario Nieuwenhuis2021-11-291-1/+0
|
* Remove unused depsDario Nieuwenhuis2021-11-151-1/+0
|
* Adjust for bxcan API.Bob McWhirter2021-11-151-3/+4
|
* Adjust all examples to defmt 0.3.Bob McWhirter2021-11-151-15/+5
|
* Replace rustflags with build.rs extra-link-args.Dario Nieuwenhuis2021-11-072-12/+5
| | | | | | | | | | | | 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.
* Update lots of depsDario Nieuwenhuis2021-09-111-8/+8
|
* 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
|
* Update cortex-m-rt to v0.7 for stm32, rp.Dario Nieuwenhuis2021-08-191-1/+1
|
* 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-182-0/+40
|
* 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.
* 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-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
| |