aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f1
Commit message (Collapse)AuthorAgeFilesLines
* Bump executor crate version to 0.3.0Dániel Buga2023-08-231-1/+1
|
* 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
|
* Remove embassy-cortex-m crate, move stuff to embassy-hal-common.Dario Nieuwenhuis2023-06-091-1/+1
|
* stm32: move to bind_interruptsxoviat2023-05-241-3/+6
| | | | disable lora functionality for now
* 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
|
* Update embedded-hal crates.Dario Nieuwenhuis2023-04-061-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).
* 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).
* Bump defmt-rtt to 0.4Dario Nieuwenhuis2022-11-291-1/+1
|
* Improve examplesGrant Miller2022-10-241-4/+4
|
* stm32/adc: Remove voltage and temperature conversionsGrant Miller2022-10-241-2/+10
|
* all Cargo.toml: Add license to all crate Cargo.toml fileschrysn2022-10-071-0/+1
| | | | Closes: https://github.com/embassy-rs/embassy/issues/1002
* usb: move classes into the `embassy-usb` crate.Dario Nieuwenhuis2022-09-262-2/+1
|
* Replace futures::future::join -> embassy_futures::join::join.Dario Nieuwenhuis2022-09-222-1/+2
|
* 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-185-9/+10
|
* examples Remove the `fn config()` idiom.Dario Nieuwenhuis2022-08-172-12/+6
| | | | | 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-174-10/+12
|
* 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-295-13/+14
|
* 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-25/+10
|
* stm32: add USB driver.Dario Nieuwenhuis2022-06-072-0/+119
|
* examples/stm32*, tests/stm32: specify time-tick-32768hzWill Glynn2022-05-311-1/+1
|
* Use embassy/defmt-timestamp-uptime in all examples.Dario Nieuwenhuis2022-04-025-27/+11
|
* stm32: add rust stable supportDario Nieuwenhuis2022-02-121-1/+1
|
* traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash.Dario Nieuwenhuis2022-01-272-4/+2
|
* stm32: add `time-driver-any` cargo feature that automatically picks one ↵Dario Nieuwenhuis2022-01-241-1/+1
| | | | available timer.
* stm32/gpio: expose all functionality as inherent methods.Dario Nieuwenhuis2022-01-191-3/+2
|
* examples: stm32f1: Add an example of using the ADCSjoerd Simons2021-12-301-0/+29
|
* examples: stm32f1: Optimize for size on development buildsSjoerd Simons2021-12-301-0/+3
| | | | | Even the basic examples seemingly need to be build optimized for size to allow flashing to a bluepill
* examples: remove unused deps.Dario Nieuwenhuis2021-11-291-1/+0
|
* Remove unused depsDario Nieuwenhuis2021-11-151-1/+0
|
* Adjust all examples to defmt 0.3.Bob McWhirter2021-11-151-16/+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.
* Initial STM32F1 family support with two examples for STM32F103C8 (Blue Pill)Mariusz Ryndzionek2021-09-285-0/+126