Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-09 | Removes some of the code duplication for UarteWithIdle | huntc | |
This commit removes some of the code duplication for UarteWithIdle at the expense of requiring a split. As the example illustrates though, this expense seems worth the benefit in terms of maintenance, and the avoidance of copying over methods. My main motivation for this commit was actually due to the `event_endtx` method not having been copied across. | |||
2022-10-07 | all Cargo.toml: Add license to all crate Cargo.toml files | chrysn | |
Closes: https://github.com/embassy-rs/embassy/issues/1002 | |||
2022-09-29 | Update embedded-hal versions and explicitly pin | Ulf Lilleengen | |
2022-09-27 | usb: make HALs depend only on embassy-usb-driver. | Dario Nieuwenhuis | |
2022-09-26 | usb: split driver trait to separate crate. | Dario Nieuwenhuis | |
2022-09-23 | Merge #958 | bors[bot] | |
958: Implement proper `Drop` for `BufferedUarte` r=lulf a=ZoeyR The drop method in `BufferedUarte` was prone to hanging indefinitely and also didn't actually disable the peripheral. I mostly copied over the drop method from `Uarte` with some modifications since `BufferedUarte` could have a transmit lasting indefinitely. Co-authored-by: Zoey Riordan <zoey@dos.cafe> | |||
2022-09-23 | Re-add timer.stop() | Zoey Riordan | |
2022-09-22 | Replace futures::future::poll_fn -> core::future::poll_fn. | Dario Nieuwenhuis | |
2022-09-22 | Update Rust nightly. | Dario Nieuwenhuis | |
Removes feature(generic_associated_types) | |||
2022-09-21 | Fix builds on other nrf pacs | Zoey Riordan | |
2022-09-21 | Remove unused function | Zoey Riordan | |
2022-09-21 | Remove left-in comments and logs | Zoey Riordan | |
2022-09-21 | Implement proper `Drop` for `BufferedUarte` | Zoey Riordan | |
2022-09-02 | time: add more tick rates, use 1mhz as default. | Dario Nieuwenhuis | |
2022-08-31 | Merge #936 | bors[bot] | |
936: Add split() method to BufferedUarte in embassy-nrf r=ZoeyR a=ZoeyR I haven't completed testing this yet. I'm creating this PR early so that I can get corrected if I went way off course. This PR adds a `split()` method to `BufferedUarte` as discussed on matrix. Co-authored-by: Zoey Riordan <zoey@dos.cafe> | |||
2022-08-31 | Merge #938 | bors[bot] | |
938: Do not use cfg_if for embedded-hal-async feature gates. r=Dirbaio a=Dirbaio Old code used `cfg_if!` because rustc still parses code inside disabled cfg's, and Rust stable at that time couldn't parse the new GAT where-clause location. This is not the case anymore. bors r+ Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net> | |||
2022-08-31 | Do not use cfg_if for embedded-hal-async feature gates. | Dario Nieuwenhuis | |
Old code used `cfg_if!` because rustc still parses code inside disabled cfg's, and Rust stable at that time couldn't parse the new GAT where-clause location. This is not the case anymore. | |||
2022-08-31 | Avoid context switch and wait for stop | huntc | |
Should be more efficient given the sub 100 cycles to wait. | |||
2022-08-30 | Avoid double-borrow | Zoey Riordan | |
2022-08-30 | Deduplicate IO methods | Zoey Riordan | |
2022-08-30 | Add split() method to BufferedUarte in embassy-nrf | Zoey Riordan | |
2022-08-30 | Permits the future to be cancelled | huntc | |
Includes documentation | |||
2022-08-30 | Additional doco | huntc | |
2022-08-26 | Ensure that the sampling is stopped | huntc | |
Ensures that nRF saadc sampling is stopped and is awaited prior to exiting the two sampling methods. Not doing so causes a potential power drain and the potential for dropped buffer writes when having finished continuous sampling. | |||
2022-08-24 | nrf/ppi: fix unsoundness due to task/event ptrs being public. | Dario Nieuwenhuis | |
2022-08-24 | nrf/ppi: feature-gate dppi stuff. | Dario Nieuwenhuis | |
2022-08-22 | split `embassy-util` into `embassy-futures`, `embassy-sync`. | Dario Nieuwenhuis | |
2022-08-22 | nRF documentation warning fixes | Ulf Lilleengen | |
2022-08-18 | Split embassy-time from embassy-executor. | Dario Nieuwenhuis | |
2022-08-17 | Remove HAL initialization from #[embassy::main] macro. | Dario Nieuwenhuis | |
2022-08-17 | Update to critical-section 1.0, atomic-polyfill 1.0 | Dario Nieuwenhuis | |
2022-08-02 | Merge #890 | bors[bot] | |
890: Implement UsbSupply for a reference of SignalledSupply r=Dirbaio a=matoushybl Co-authored-by: Matous Hybl <hyblmatous@gmail.com> | |||
2022-08-02 | Implement UsbSupply for a reference of SignalledSupply | Matous Hybl | |
2022-08-01 | Remove commented out logging code | Til Blechschmidt | |
2022-08-01 | Extend QSPI config with freq, delay, spi mode, and address mode | Til Blechschmidt | |
2022-07-29 | Split embassy crate into embassy-executor, embassy-util. | Dario Nieuwenhuis | |
2022-07-24 | Merge #876 | bors[bot] | |
876: Add defmt support to embassy-embedded-hal errors r=Dirbaio a=matoushybl `defmt::unwrap!()` should now work with shared buses. I tested it only with I2C as I don't have SPI in the target project. Co-authored-by: Matous Hybl <hyblmatous@gmail.com> | |||
2022-07-24 | Add defmt support to embassy-embedded-hal errors | Matous Hybl | |
2022-07-23 | nrf: replace PhantomData usages with PeripheralRef. | Dario Nieuwenhuis | |
2022-07-23 | Remove PeripheralRef::into_inner() | Dario Nieuwenhuis | |
2022-07-23 | Rename Unborrowed -> PeripheralRef, Unborrow -> Peripheral | Dario Nieuwenhuis | |
2022-07-23 | Update embassy-stm32 | Dario Nieuwenhuis | |
2022-07-23 | fix nrf dppi | Dario Nieuwenhuis | |
2022-07-23 | Rename unsafe_impl_unborrow to impl_unborrow | Dario Nieuwenhuis | |
2022-07-23 | Update embassy-rp | Grant Miller | |
2022-07-23 | WIP: Make unborrow safe to use | Grant Miller | |
2022-07-22 | Merge #871 #872 | bors[bot] | |
871: nrf/saadc: add type-erased AnyInput. r=Dirbaio a=Dirbaio 872: nrf/usb: prevent user code from constructing a PowerUsb directly. r=Dirbaio a=Dirbaio PowerUsb must be constructed through `new()` so that it sets up the IRQ. It must have at least one private field, otherwise user code can construct it directly with `PowerUsb{}`. Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net> | |||
2022-07-21 | nrf/usb: prevent user code from constructing a PowerUsb directly. | Dario Nieuwenhuis | |
PowerUsb must be constructed through `new()` so that it sets up the IRQ. It must have at least one private field, otherwise user code can construct it directly with `PowerUsb{}`. | |||
2022-07-21 | nrf/saadc: add type-erased AnyInput. | Dario Nieuwenhuis | |
2022-07-13 | Move all gpio logic to Flex | chemicstry | |