| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Merge #984 #1006 | bors[bot] | 2022-10-12 | 2 | -0/+105 | |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 984: rp pico async i2c implementation r=Dirbaio a=jsgf This implements an interrupt-driven async i2c master. It is based on https://github.com/embassy-rs/embassy/pull/914, a bit of https://github.com/embassy-rs/embassy/pull/978 and `@ithinuel's` https://github.com/ithinuel/rp2040-async-i2c.git This is still work-in-progress, and is currently untested. 1006: Removes some of the code duplication for UarteWithIdle r=Dirbaio a=huntc This PR removes some of the code duplications for `UarteWithIdle` at the slight expense of requiring a split when using idle processing. As the nRF example illustrates though given the LoC removed, this expense seems worth the benefit in terms of maintenance, and the avoidance of copying over methods. My main motivation for this PR was actually due to the `event_endtx` method not having been copied across to the idle-related code. Tested the uart_idle example on my nRF52840-dk, and from within my app. Both appear to work fine. Co-authored-by: Jeremy Fitzhardinge <[email protected]> Co-authored-by: huntc <[email protected]> | |||||
| | * | embassy-rp i2c: async (non-blocking) example | Jeremy Fitzhardinge | 2022-10-01 | 1 | -0/+102 | |
| | | | | | | | | | | | | | Simple example exercising an mcp23017 GPIO expander, configured on RP2040 GPIOs 14+15 (i2c1) with 8 inputs and 8 outputs. Input bit 0 controls whether to display a mcp23017 register dump. | |||||
| | * | embassy-rp: async i2c implementation | Jeremy Fitzhardinge | 2022-10-01 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | This is an interrupt-driven async i2c master implementation. It makes as best use of the RP2040's i2c block's fifos as possible to minimize interrupts. It implements embedded_hal_async::i2c for easy interop. WIP async impl | |||||
| * | | all Cargo.toml: Add license to all crate Cargo.toml files | chrysn | 2022-10-07 | 1 | -0/+1 | |
| | | | | | | | | | Closes: https://github.com/embassy-rs/embassy/issues/1002 | |||||
| * | | update embedded-hal api | Jeremy Fitzhardinge | 2022-10-01 | 2 | -2/+2 | |
| | | | | | | | | | Also pin to alpha.9 since its a breaking change | |||||
| * | | rename to i2c_blocking | Jeremy Fitzhardinge | 2022-10-01 | 1 | -0/+0 | |
| | | | ||||||
| * | | rp i2c: blocking example | Jeremy Fitzhardinge | 2022-10-01 | 1 | -0/+70 | |
| |/ | | | | i2c example talking to mcp23017 i2c gpio expander. | |||||
| * | Update embedded-hal versions and explicitly pin | Ulf Lilleengen | 2022-09-29 | 1 | -6/+6 | |
| | | ||||||
| * | usb: move classes into the `embassy-usb` crate. | Dario Nieuwenhuis | 2022-09-26 | 3 | -4/+2 | |
| | | ||||||
| * | Replace futures::future::join -> embassy_futures::join::join. | Dario Nieuwenhuis | 2022-09-22 | 2 | -1/+2 | |
| | | ||||||
| * | Update Rust nightly. | Dario Nieuwenhuis | 2022-09-22 | 2 | -2/+0 | |
| | | | | | Removes feature(generic_associated_types) | |||||
| * | Feature-gate time-driver in embassy-rp | Mathias | 2022-09-16 | 1 | -1/+1 | |
| | | ||||||
| * | Cleanup examples | Henrik Alsér | 2022-09-01 | 2 | -4/+4 | |
| | | ||||||
| * | Reorder args | Henrik Alsér | 2022-09-01 | 1 | -1/+1 | |
| | | ||||||
| * | transfer_in_place | Henrik Alsér | 2022-09-01 | 1 | -1/+1 | |
| | | ||||||
| * | Fix example | Henrik Alsér | 2022-09-01 | 1 | -2/+3 | |
| | | ||||||
| * | impl embedded-hal-async | Henrik Alsér | 2022-09-01 | 1 | -4/+2 | |
| | | ||||||
| * | example | Henrik Alsér | 2022-09-01 | 2 | -2/+33 | |
| | | ||||||
| * | net: feature-gate nightly-only async traits to allow building on stable. | Dario Nieuwenhuis | 2022-08-30 | 2 | -2/+2 | |
| | | ||||||
| * | Merge pull request #927 from embassy-rs/rp-usb | Dario Nieuwenhuis | 2022-08-30 | 3 | -0/+373 | |
| |\ | | | | | rp: add usb device support. | |||||
| | * | rp: add usb device support. | Dario Nieuwenhuis | 2022-08-25 | 3 | -0/+373 | |
| | | | ||||||
| * | | Merge branch 'master' of https://github.com/embassy-rs/embassy into ↵ | Mathias | 2022-08-23 | 1 | -1/+1 | |
| |\| | | | | | | | embassy-rp/dma | |||||
| | * | split `embassy-util` into `embassy-futures`, `embassy-sync`. | Dario Nieuwenhuis | 2022-08-22 | 1 | -1/+1 | |
| | | | ||||||
| * | | Fix uart rp2040 blocking example | Mathias | 2022-08-19 | 1 | -1/+1 | |
| |/ | ||||||
| * | Merge #910 | bors[bot] | 2022-08-18 | 1 | -3/+3 | |
| |\ | | | | | | | | | | | | | | | 910: (embassy-rp): Implement remaining logic for blocking UART r=lulf a=MathiasKoch async read/write is still `todo!()`, awaiting DMA implementation. Co-authored-by: Mathias <[email protected]> | |||||
| | * | Fix rp uart example | Mathias | 2022-08-18 | 1 | -3/+3 | |
| | | | ||||||
| * | | Split embassy-time from embassy-executor. | Dario Nieuwenhuis | 2022-08-18 | 7 | -10/+11 | |
| | | | ||||||
| * | | Remove HAL initialization from #[embassy::main] macro. | Dario Nieuwenhuis | 2022-08-17 | 6 | -12/+17 | |
| | | | ||||||
| * | | Update to critical-section 1.0, atomic-polyfill 1.0 | Dario Nieuwenhuis | 2022-08-17 | 1 | -2/+1 | |
| |/ | ||||||
| * | Split embassy crate into embassy-executor, embassy-util. | Dario Nieuwenhuis | 2022-07-29 | 7 | -16/+17 | |
| | | ||||||
| * | Add embedded_hal_async support for embassy-rp | Daniel Bevenius | 2022-07-14 | 1 | -0/+38 | |
| | | | | | | This commit adds support for embedded-hal-async to the Embassy Raspberry PI crate. | |||||
| * | Merge pull request #822 from embassy-rs/remove-authors | Dario Nieuwenhuis | 2022-06-18 | 1 | -1/+0 | |
| |\ | | | | | Remove the authors field from Cargo.tomls | |||||
| | * | Remove the authors field from Cargo.tomls | Dario Nieuwenhuis | 2022-06-18 | 1 | -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". | |||||
| * | | Add env DEFMT_LOG=trace to all examples. | Dario Nieuwenhuis | 2022-06-18 | 1 | -0/+3 | |
| |/ | ||||||
| * | Run rustfmt. | Dario Nieuwenhuis | 2022-06-12 | 5 | -22/+9 | |
| | | ||||||
| * | Update embedded-hal-async to 0.1.0-alpha.1 | Dario Nieuwenhuis | 2022-05-29 | 1 | -1/+1 | |
| | | ||||||
| * | Switch to crates.io embedded-hal, embedded-hal-async. | Dario Nieuwenhuis | 2022-04-22 | 2 | -8/+9 | |
| | | | | | | This temporarily removes support for the async UART trait, since it's not yet in embedded-hal-async. | |||||
| * | Use embassy/defmt-timestamp-uptime in all examples. | Dario Nieuwenhuis | 2022-04-02 | 7 | -29/+16 | |
| | | ||||||
| * | Update rust nightly, embedded-hal 1.0, embedded-hal-async. | Dario Nieuwenhuis | 2022-03-11 | 2 | -95/+287 | |
| | | ||||||
| * | rp: impl eh1.0 blocking traits | Dario Nieuwenhuis | 2022-02-15 | 4 | -5/+5 | |
| | | ||||||
| * | rp: remove OptionalPin | Dario Nieuwenhuis | 2022-02-12 | 2 | -4/+2 | |
| | | ||||||
| * | Update rust-toolchain | Ulf Lilleengen | 2021-12-16 | 5 | -5/+0 | |
| | | ||||||
| * | Remove unused deps | Dario Nieuwenhuis | 2021-11-15 | 1 | -1/+1 | |
| | | ||||||
| * | Adjust all examples to defmt 0.3. | Bob McWhirter | 2021-11-15 | 1 | -16/+5 | |
| | | ||||||
| * | Replace rustflags with build.rs extra-link-args. | Dario Nieuwenhuis | 2021-11-07 | 2 | -11/+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 versions of critical-section and atomic-polyfill | Ulf Lilleengen | 2021-11-02 | 1 | -1/+1 | |
| | | ||||||
| * | Update lots of deps | Dario Nieuwenhuis | 2021-09-11 | 1 | -5/+5 | |
| | | ||||||
| * | Remove trait_alias, allow(incomplete_features). | Dario Nieuwenhuis | 2021-09-03 | 5 | -5/+0 | |
| | | | | | trait_alias seems unused. no idea why it's there. | |||||
| * | Update cortex-m-rt to v0.7 for stm32, rp. | Dario Nieuwenhuis | 2021-08-19 | 1 | -2/+1 | |
| | | ||||||
| * | Update nightly, remove removed features. | Dario Nieuwenhuis | 2021-08-04 | 5 | -10/+0 | |
| | | ||||||
