aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f7
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix examplesRasmus Melchior Jacobsen2023-05-251-5/+5
|
* Let Flash<Async/Blocking> be a thingRasmus Melchior Jacobsen2023-05-251-2/+2
|
* Align examplesRasmus Melchior Jacobsen2023-05-251-6/+6
|
* Align examplesRasmus Melchior Jacobsen2023-05-251-3/+2
|
* stm32: move to bind_interruptsxoviat2023-05-244-13/+24
| | | | disable lora functionality for now
* net: do not use smoltcp Instant/Duration in public API.Dario Nieuwenhuis2023-05-151-1/+1
|
* Fix some typosDirk Stolle2023-05-081-1/+1
|
* 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.
* enable inline-asm feature for cortex-m in examplespennae2023-04-181-1/+1
| | | | | | inline assembly is supported since rust 1.59, we're way past that. enabling this makes the compiled code more compact, and on rp2040 even decreses memory usage by not needing thunks in sram.
* Release embassy-sync v0.2.0Dario Nieuwenhuis2023-04-131-1/+1
|
* Align flash examplesRasmus Melchior Jacobsen2023-04-051-2/+2
|
* 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).
* Fix examples broken by the macro fix.Dario Nieuwenhuis2023-03-082-4/+2
|
* stm32/sdmmc: Implement proper clock configurationchemicstry2023-02-231-0/+1
|
* usb: unify ControlHandler+DeviceStateHandler, route all control requests to ↵Dario Nieuwenhuis2023-02-081-1/+0
| | | | | | | | all handlers. - Allows classes to handle vendor requests. - Allows classes to use a single handler for multiple interfaces. - Allows classes to access the other events (previously only `reset` was available).
* net: allocate space for 2 sockets, needed for dhcp.Dario Nieuwenhuis2023-01-191-1/+1
|
* Add smoltcp dhcp socket configurationPaweł Jan Czochański2023-01-191-8/+3
|
* stm32 otg: add examples.chemicstry2023-01-112-0/+108
|
* net: split driver trait to a separate crate.Dario Nieuwenhuis2022-12-261-1/+1
|
* net: remove unused pool-x featuresDario Nieuwenhuis2022-12-261-1/+1
|
* stm32: rename feature `net` to `embassy-net`.Dario Nieuwenhuis2022-12-131-1/+1
| | | | | | The eth code is always built and available, but has no own API (other than the embassy-net Device impl) to rx/tx packets. We could add this API in the future, so the feature only means "embassy-net support".
* stm32/eth_v1: update to new embassy-net trait, remove PeripheralMutex.Dario Nieuwenhuis2022-12-131-25/+25
|
* Bump defmt-rtt to 0.4Dario Nieuwenhuis2022-11-291-1/+1
|
* Switch to async-fn-in-traitDario Nieuwenhuis2022-11-251-1/+1
|
* Merge #1024bors[bot]2022-10-261-1/+11
|\ | | | | | | | | | | | | | | | | | | | | | | 1024: stm32/adc: Remove voltage and temperature conversions r=Dirbaio a=GrantM11235 The current conversion utilities are confusing and a bit of a footgun. (Two out of the three examples got it wrong! They didn't measure vref at all, so all the conversions are completely wrong if vcca isn't 3.3v) I think we should eventually have some sort of conversion utilities in the HAL, but for now I think it is best to just remove it and let the users do their own math. cc `@chemicstry` Co-authored-by: Grant Miller <[email protected]>
| * Improve examplesGrant Miller2022-10-241-4/+4
| |
| * stm32/adc: Remove voltage and temperature conversionsGrant Miller2022-10-241-1/+11
| |
* | stm32: Add support for read_until_idle on UARTGuillaume MICHEL2022-10-261-1/+3
| |
* | Update Rust nightly.Dario Nieuwenhuis2022-10-261-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
* Remove flash lock/unlock public API from stm32 flash, and perform the ↵Mathias2022-09-301-1/+1
| | | | unlocking and locking automatically on erase and write operations
* time: add more tick rates, use 1mhz as default.Dario Nieuwenhuis2022-09-021-1/+1
|
* net: feature-gate nightly-only async traits to allow building on stable.Dario Nieuwenhuis2022-08-301-1/+1
|
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-221-1/+1
|
* Remove Forever, switch to static_cell.Dario Nieuwenhuis2022-08-222-7/+8
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-189-14/+15
|
* examples Remove the `fn config()` idiom.Dario Nieuwenhuis2022-08-173-18/+9
| | | | | It was only useful for doing #[embassy_executor::main(config = "config()")]`. Now that it's gone, it makes more sense to build the config in main directly.
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-178-19/+22
|
* Update to critical-section 1.0, atomic-polyfill 1.0Dario Nieuwenhuis2022-08-171-2/+2
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-299-24/+25
|
* Update embassy-stm32Dario Nieuwenhuis2022-07-231-3/+8
|
* 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
* 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-33/+18
|
* examples/stm32*, tests/stm32: specify time-tick-32768hzWill Glynn2022-05-311-1/+1
|