| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat: improve nrf54 support using new nrf-pac | Ulf Lilleengen | 2025-10-28 | 1 | -951/+0 |
| | | | | | | | | | | | | | | * Update nrf-pac to version that modifies nrf52 register layout to match nrf54 to reduce the amount of cfg needed for nrf54 support. * Make the following peripherals available on nrf54: twim, twis, spim, spis, uart, buffered uarte, dppi, gpiote, pwm, saadc * Add examples tested on the nrf54 dk Some code is based on or copied from other pull requests, modified to match the new nrf-pac layout. Co-authored-by: Dmitry Tarnyagin <[email protected]> | ||||
| * | return error on read when uarte buffer overrun | Kezi | 2025-10-14 | 1 | -4/+17 |
| | | |||||
| * | remove panic on uarte overrun | Kezi | 2025-10-09 | 1 | -1/+2 |
| | | |||||
| * | Rustfmt for edition 2024. | Dario Nieuwenhuis | 2025-10-06 | 1 | -6/+6 |
| | | |||||
| * | nrf/uart,timer: erase instance generics. | Dario Nieuwenhuis | 2025-09-28 | 1 | -94/+135 |
| | | |||||
| * | BufferedUart initialization | Michael Gomez | 2025-04-04 | 1 | -5/+5 |
| | | | | | | | | This change modifies UART initialization throughout Embassy to take pins before interrupts. Related to #1304. | ||||
| * | Remove Peripheral trait, rename PeripheralRef->Peri. | Dario Nieuwenhuis | 2025-03-27 | 1 | -96/+90 |
| | | |||||
| * | Desugar some async fns | Dániel Buga | 2024-12-30 | 1 | -7/+4 |
| | | |||||
| * | nrf: port to chiptool-based `nrf-pac`. | Dario Nieuwenhuis | 2024-11-04 | 1 | -87/+70 |
| | | |||||
| * | nrf: add try_write to BufferedUarte. | Dario Nieuwenhuis | 2024-08-21 | 1 | -0/+28 |
| | | |||||
| * | nrf: buffered_uarte: Add overrides for `too_many_arguments` lint | Priit Laes | 2024-08-08 | 1 | -0/+7 |
| | | | | | | One possible future fix for this could be refactoring at least ppi arguments into separate struct. | ||||
| * | nrf after cargo check | rafael | 2024-07-14 | 1 | -2/+2 |
| | | |||||
| * | nrf | rafael | 2024-07-14 | 1 | -0/+18 |
| | | |||||
| * | nrf/buffered_uart: take into account EASYDMA_SIZE. fixes nrf52832 | Dario Nieuwenhuis | 2024-06-25 | 1 | -4/+5 |
| | | |||||
| * | nrf: fix wrong order configuring gpios. | Dario Nieuwenhuis | 2024-06-25 | 1 | -0/+3 |
| | | | | | | Docs say "PSEL.RXD, PSEL.RTS, PSEL.RTS, and PSEL.TXD must only be configured when the UARTE is disabled." For some reason nrf52 doesn't care but nrf91 does. | ||||
| * | nrf: remove mod sealed. | Dario Nieuwenhuis | 2024-04-05 | 1 | -16/+9 |
| | | |||||
| * | nrf/uart: Add support for rx-only or tx-only BufferedUart. | Dario Nieuwenhuis | 2024-02-21 | 1 | -107/+254 |
| | | |||||
| * | nrf/uart: share waker state between buffered and nonbuffered. | Dario Nieuwenhuis | 2024-02-21 | 1 | -10/+9 |
| | | |||||
| * | nrf/buffered_uart: refactor so rx/tx halves are independent. | Dario Nieuwenhuis | 2024-02-21 | 1 | -218/+229 |
| | | |||||
| * | nrf/buffered_uart: simplify split lifetimes. | Dario Nieuwenhuis | 2024-02-21 | 1 | -12/+12 |
| | | |||||
| * | nrf: Remove useless borrows | Priit Laes | 2024-02-17 | 1 | -1/+1 |
| | | |||||
| * | Reset rx_started state of nrf buffered_uarte on init | ftilde | 2023-12-29 | 1 | -0/+1 |
| | | | | | | | This was likely forgotten as part of c46418f12. Without this, when creating a uarte instance, dropping it and then creating another instance, this instance would never receive any bytes. | ||||
| * | Remove nightly and unstable-traits features in preparation for 1.75. | Dario Nieuwenhuis | 2023-11-29 | 1 | -1/+0 |
| | | |||||
| * | nrf/buffered_uarte: fix hang when buffer full due to PPI missing the endrx ↵ | Dario Nieuwenhuis | 2023-11-14 | 1 | -21/+58 |
| | | | | | | | event. Fixes #2181 | ||||
| * | nrf/buffered_uarte: fix missing hwfc enable. | Dario Nieuwenhuis | 2023-11-13 | 1 | -1/+3 |
| | | |||||
| * | Update to embedded-io 0.5 (#1752) | Dario Nieuwenhuis | 2023-08-07 | 1 | -11/+11 |
| | | |||||
| * | Rename embassy-hal-common to embassy-hal-internal, document it's for ↵ | Dario Nieuwenhuis | 2023-07-28 | 1 | -2/+2 |
| | | | | | internal use only. (#1700) | ||||
| * | Make interrupt module more standard. | Dario Nieuwenhuis | 2023-06-08 | 1 | -6/+5 |
| | | | | | | | | | | | | | - Move typelevel interrupts to a special-purpose mod: `embassy_xx::interrupt::typelevel`. - Reexport the PAC interrupt enum in `embassy_xx::interrupt`. This has a few advantages: - The `embassy_xx::interrupt` module is now more "standard". - It works with `cortex-m` functions for manipulating interrupts, for example. - It works with RTIC. - the interrupt enum allows holding value that can be "any interrupt at runtime", this can't be done with typelevel irqs. - When "const-generics on enums" is stable, we can remove the typelevel interrupts without disruptive changes to `embassy_xx::interrupt`. | ||||
| * | cortex-m: remove owned interrupts. | Dario Nieuwenhuis | 2023-06-01 | 1 | -4/+4 |
| | | |||||
| * | Disable ppi group first to avoid BufferedUarte not getting dropped properly | Linus Harberg | 2023-05-26 | 1 | -0/+2 |
| | | |||||
| * | common/peripheral: do not require mut in PeripheralRef clone_unchecked. | Dario Nieuwenhuis | 2023-04-11 | 1 | -1/+1 |
| | | |||||
| * | nrf/uart: switch to new interrupt binding. | Dario Nieuwenhuis | 2023-03-06 | 1 | -111/+114 |
| | | |||||
| * | nrf/buffered_uarte: add HIL tests. | Dario Nieuwenhuis | 2023-03-04 | 1 | -1/+1 |
| | | |||||
| * | nrf/buffered_uarte: make available on stable. | Dario Nieuwenhuis | 2023-03-04 | 1 | -43/+116 |
| | | |||||
| * | nrf/buffered_uarte: remove PeripheralMutex, make it work without rts/cts. | Dario Nieuwenhuis | 2023-03-04 | 1 | -299/+373 |
| | | | | | | | | | | | | | | | | | | | | > dirbaio: so I was checking how zephyr does UARTE RX on nRF > dirbaio: because currently we have the ugly "restart DMA on line idle to flush it" hack > dirbaio: because according to the docs "For each byte received over the RXD line, an RXDRDY event will be generated. This event is likely to occur before the corresponding data has been transferred to Data RAM." > dirbaio: so as I understood it, the only way to guarantee the data is actually transferred to RAM is to stop+restart DMA > dirbaio: well, guess what? > dirbaio: they just count RXDRDY's, and process that amount of data without restarting DMA > dirbaio: with a timer configured as counter https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/serial/uart_nrfx_uarte.c#L650-L692 > dirbaio: 🤔🤷⁉️ > dirbaio: someone saying you can do the "hook up rxdrdy to a counter" trick, someone else saying it's wrong 🤪 https://devzone.nordicsemi.com/f/nordic-q-a/28420/uarte-in-circular-mode So we're going to do just that! - BufferedUarte is lock-free now. No PeripheralMutex. - The "restart DMA on line idle to flush it" hack is GONE. This means - It'll work correctly without RTS/CTS now. - It'll have better throughput when using RTS/CTS. | ||||
| * | nrf: docs. | Dario Nieuwenhuis | 2023-02-01 | 1 | -2/+7 |
| | | |||||
| * | Switch to async-fn-in-trait | Dario Nieuwenhuis | 2022-11-25 | 1 | -49/+17 |
| | | |||||
| * | Update Rust nightly. | Dario Nieuwenhuis | 2022-10-26 | 1 | -8/+8 |
| | | |||||
| * | Merge #958 | bors[bot] | 2022-09-23 | 1 | -25/+17 |
| |\ | | | | | | | | | | | | | | | 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 <[email protected]> | ||||
| | * | Re-add timer.stop() | Zoey Riordan | 2022-09-23 | 1 | -2/+3 |
| | | | |||||
| | * | Fix builds on other nrf pacs | Zoey Riordan | 2022-09-21 | 1 | -4/+4 |
| | | | |||||
| | * | Remove unused function | Zoey Riordan | 2022-09-21 | 1 | -10/+0 |
| | | | |||||
| | * | Remove left-in comments and logs | Zoey Riordan | 2022-09-21 | 1 | -2/+0 |
| | | | |||||
| | * | Implement proper `Drop` for `BufferedUarte` | Zoey Riordan | 2022-09-21 | 1 | -14/+17 |
| | | | |||||
| * | | Replace futures::future::poll_fn -> core::future::poll_fn. | Dario Nieuwenhuis | 2022-09-22 | 1 | -2/+1 |
| |/ | |||||
| * | Avoid double-borrow | Zoey Riordan | 2022-08-30 | 1 | -6/+9 |
| | | |||||
| * | Deduplicate IO methods | Zoey Riordan | 2022-08-30 | 1 | -169/+101 |
| | | |||||
| * | Add split() method to BufferedUarte in embassy-nrf | Zoey Riordan | 2022-08-30 | 1 | -12/+167 |
| | | |||||
| * | split `embassy-util` into `embassy-futures`, `embassy-sync`. | Dario Nieuwenhuis | 2022-08-22 | 1 | -1/+1 |
| | | |||||
| * | nRF documentation warning fixes | Ulf Lilleengen | 2022-08-22 | 1 | -0/+9 |
| | | |||||
