Dario Nieuwenhuis
Dario Nieuwenhuis
Context: https://github.com/embassy-rs/embassy/pull/91#issuecomment-806175918 (item 1)
Similar to AnyPin from the nrf and rp HALs. You'd call .degrade() on a typed interrupt and get an AnyInterrupt. Together with AnyPin and type-erased AnyUarte/AnySpim/etc peripherals you could reduce...
Many drivers have `new` be unsafe to have the user pledge that they won't leak any futures, so we can use DMA with borrowed slices which is much more ergonomic...
The TWIM Write impl does this when the buffer is not in RAM: https://github.com/nrf-rs/nrf-hal/blob/1c76cbe819d054a5394d5f7eb5d168f2bbf88d7f/nrf-hal-common/src/twim.rs#L396-L401 This does this on the bus: `start + chunk + end + start + chunk +...
This PR adds RTT input support on down channel 0. It is enabled with flag `--input` (not on by default). Since `defmt-rtt` doesn't expose RTT, this can be used with...
## Motivation It is currently possible to use `async_task` with `no_std`, but it requires having `alloc` available because tasks are dynamically allocated. In memory-constrained environments, such as embedded microcontroller devices,...
Following up from https://github.com/rust-embedded/embedded-hal/issues/177#issuecomment-1162212193, this PR splits `nb` and `can` traits to separate crates. I propose keeping these crates (and `embedded-hal-async`) separate forever. (instead of merging EHA into EH when...
This PR refactors the I2C traits into Bus and Device, similar to what was done to SPI a while back. This is actually much simpler than SPI thanks to not...
`Write` mirrors the blocking trait. `Read` is new. Unresolved issue: how does `Read` work. See previous thread https://github.com/rust-embedded/embedded-hal/pull/334#discussion_r773423253
I found one ugly side effect of the `&mut` blanket impls while experimenting updating stm32f4xx-hal's GPIO. it's making the trait methods take priority over the inherent methods in some cases:...