aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32g4
Commit message (Collapse)AuthorAgeFilesLines
* Bump executor crate version to 0.3.0Dániel Buga2023-08-231-1/+1
|
* stm32/pwm: add output type controlxoviat2023-07-291-1/+2
|
* stm32/timer: merge pwm module into timer. (#1703)Dario Nieuwenhuis2023-07-281-2/+2
| | | | The traits there are applicable to timer use cases other than PWM. It doesn't make sense to keep them separated.
* Rename embassy-hal-common to embassy-hal-internal, document it's for ↵Dario Nieuwenhuis2023-07-281-1/+0
| | | | internal use only. (#1700)
* Added debug=2 in release profile to all examples.Piotr Esden-Tempski2023-07-261-0/+3
| | | | | | | This makes rtt output work right when using `cargo run` in release mode. Debug was already enabled for release builds in some of the examples but not all.
* Add notes about setting chip name correctly for examples.Adam Greig2023-07-221-1/+2
|
* Release embassy-time v0.1.2Dario Nieuwenhuis2023-07-061-1/+1
|
* Update probe-rs-cli -> probe-rsDario Nieuwenhuis2023-06-291-2/+2
|
* STM32G4: Add CRS support to RCCKevin Lannen2023-06-281-9/+19
| | | | Create working CRS USB Example
* stm32: update metapac, includes fix for OTG with 9 endpoints (H7)Dario Nieuwenhuis2023-06-271-1/+3
|
* stm32: update stm32-metapac.Dario Nieuwenhuis2023-06-191-3/+1
|
* STM32G4: Add USB Serial exampleKevin Lannen2023-06-142-0/+111
|
* stm32g4: PLL: Add support for configuring PLL_P and PLL_QKevin Lannen2023-06-141-3/+12
|
* Remove embassy-cortex-m crate, move stuff to embassy-hal-common.Dario Nieuwenhuis2023-06-091-1/+1
|
* Rename to follow ref manual and CubeIDECarl St-Laurent2023-06-081-2/+2
|
* Added Vcore boost mode and Flash wait stateCarl St-Laurent2023-06-041-2/+2
|
* Use HSI16 for exemple since HSE might have a different value depending on boardCarl St-Laurent2023-06-041-3/+2
|
* Example using PLLCarl St-Laurent2023-06-031-0/+27
|
* Bump versions preparing for -macros and -executor releaseUlf Lilleengen2023-04-271-1/+1
|
* Switch from probe-run to probe-rs-cli.Dario Nieuwenhuis2023-04-261-2/+2
| | | | | - probe-run screwed up the last release 2 weeks ago and it's still not fixed (issue 391). Doesn't look well maintained. - Even when it's not broken, it lags behind probe-rs-cli in new chips support because it's slow in updating probe-rs.
* stm32: fix defective examplexoviat2023-04-161-2/+2
|
* Release embassy-sync v0.2.0Dario Nieuwenhuis2023-04-131-1/+1
|
* executor: add Pender, rework Cargo features.Dario Nieuwenhuis2023-04-031-1/+1
| | | | | | | | | This introduces a `Pender` struct with enum cases for thread-mode, interrupt-mode and custom callback executors. This avoids calls through function pointers when using only the thread or interrupt executors. Faster, and friendlier to `cargo-call-stack`. `embassy-executor` now has `arch-xxx` Cargo features to select the arch and to enable the builtin executors (thread and interrupt).
* Bump defmt-rtt to 0.4Dario Nieuwenhuis2022-11-291-1/+1
|
* all Cargo.toml: Add license to all crate Cargo.toml fileschrysn2022-10-071-0/+1
| | | | Closes: https://github.com/embassy-rs/embassy/issues/1002
* time: add more tick rates, use 1mhz as default.Dario Nieuwenhuis2022-09-021-1/+1
|
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-221-1/+1
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-184-6/+7
|
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-173-6/+6
|
* 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-294-9/+10
|
* rename PwmPin::new_chX, update examples.Dario Nieuwenhuis2022-07-231-2/+3
|
* embassy-stm32: Simplify timeGrant Miller2022-07-101-2/+2
| | | | | | | | | | - 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-124-9/+6
|
* examples/stm32*, tests/stm32: specify time-tick-32768hzWill Glynn2022-05-311-1/+1
|
* Use embassy/defmt-timestamp-uptime in all examples.Dario Nieuwenhuis2022-04-026-30/+13
|
* stm32: add rust stable supportDario Nieuwenhuis2022-02-121-1/+1
|
* stm32: Remove OptionalPinDario Nieuwenhuis2022-02-101-2/+1
| | | | | | | | | The idea behind OptionalPin has a few problems: - you need to impl the signal traits for NoPin which is a bit weird https://github.com/embassy-rs/embassy/blob/master/embassy-stm32/src/dcmi.rs#L413-L416 - you can pass any combination of set/unset pins, which needs checking at runtime https://github.com/embassy-rs/embassy/blob/master/embassy-stm32/src/dcmi.rs#L130 The replacement is to do multiple `new` constructors for each combination of pins you want to take.
* traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash.Dario Nieuwenhuis2022-01-271-1/+0
|
* stm32: add `time-driver-any` cargo feature that automatically picks one ↵Dario Nieuwenhuis2022-01-241-1/+1
| | | | available timer.
* 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-5/+3
|
* Port the PWM example to H7, add low-level API example implementing 32-bit PWM.Matous Hybl2022-01-131-2/+2
|
* Make exti an optional featureUlf Lilleengen2022-01-121-1/+1
| | | | | * Add embassy-stm32 build with exti * Add exti to examples
* examples/stm32g4: add pwm exampleDario Nieuwenhuis2021-11-272-1/+37
|