| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat: improve nrf54 support using new nrf-pac | Ulf Lilleengen | 2025-10-28 | 1 | -10/+153 |
| | | | | | | | | | | | | | | * 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]> | ||||
| * | Rustfmt for edition 2024. | Dario Nieuwenhuis | 2025-10-06 | 1 | -3/+3 |
| | | |||||
| * | feat(nrf/spim): erase Instance type from Spim | Abraham Hamidi | 2025-09-24 | 1 | -28/+36 |
| | | |||||
| * | Remove Peripheral trait, rename PeripheralRef->Peri. | Dario Nieuwenhuis | 2025-03-27 | 1 | -36/+24 |
| | | |||||
| * | nrf: add nrf54l base: gpio and time driver. | Dario Nieuwenhuis | 2024-11-17 | 1 | -2/+2 |
| | | |||||
| * | nrf: port to chiptool-based `nrf-pac`. | Dario Nieuwenhuis | 2024-11-04 | 1 | -70/+62 |
| | | |||||
| * | Use raw slices .len() method instead of unsafe hacks. | Dario Nieuwenhuis | 2024-06-13 | 1 | -7/+5 |
| | | | | | Stabilized in 1.79. | ||||
| * | nrf: remove mod sealed. | Dario Nieuwenhuis | 2024-04-05 | 1 | -33/+27 |
| | | |||||
| * | nrf: spim: Hide the "Copying SPIM tx buffer into RAM for DMA" traces | Priit Laes | 2024-02-27 | 1 | -2/+2 |
| | | | | | | Now that SPIM driver seems to be properly working, hide the trace logs which occur whenever tx buffer needs to be copied into RAM. | ||||
| * | Merge pull request #2596 from NBonaparte/nrf-spi-drive | Dario Nieuwenhuis | 2024-02-20 | 1 | -4/+19 |
| |\ | | | | | | | feat(nrf/spim): allow specifying drive of SPI pins | ||||
| | * | fix(nrf/spim): use `OutputDrive` to set pin drives | NBonaparte | 2024-02-19 | 1 | -37/+16 |
| | | | |||||
| | * | feat(nrf/spim): allow specifying drive of SPI pins | NBonaparte | 2024-02-18 | 1 | -3/+39 |
| | | | |||||
| * | | nrf: Implement chunked DMA transfers for SPIM peripheral | Priit Laes | 2024-02-15 | 1 | -44/+68 |
| |/ | | | | | | On some chips (notably nrf52832), the maximum DMA transfer is 255 bytes, which has caused subtle issues while interfacing with various devices over SPI bus. | ||||
| * | nrf: spim/spis: Add size checks for EasyDMA buffer | Priit Laes | 2024-02-08 | 1 | -3/+11 |
| | | | | | | On most nRF chips, maximum buffer size for EasyDMA is 255, thus we never got any data when attempting to use 256 bytes as RX/TX buffer. | ||||
| * | nrf/spi: add bit order config | Matthew Tran | 2024-01-26 | 1 | -4/+9 |
| | | |||||
| * | fix: check if sck is some before setting high or low | swanandx | 2024-01-03 | 1 | -2/+6 |
| | | |||||
| * | feat: new_txonly_nosck in spim | swanandx | 2024-01-03 | 1 | -5/+18 |
| | | |||||
| * | Remove nightly and unstable-traits features in preparation for 1.75. | Dario Nieuwenhuis | 2023-11-29 | 1 | -51/+40 |
| | | |||||
| * | nrf, rp: update set_config | xoviat | 2023-10-01 | 1 | -2/+5 |
| | | |||||
| * | Add separate work-around specific flag for DMA errata on NRF52832 | Priit Laes | 2023-09-22 | 1 | -11/+10 |
| | | |||||
| * | spim: Fix SPIM with polling executors | Nils Fitinghoff | 2023-09-22 | 1 | -22/+45 |
| | | | | | Co-authored-by: Priit Laes <[email protected]> | ||||
| * | nrf: spim: Use SetConfig trait internally to reduce duplication | Priit Laes | 2023-09-10 | 1 | -36/+4 |
| | | |||||
| * | nrf: spim: Anomaly 109 workaround for SPIM peripheral (#460) | Priit Laes | 2023-09-07 | 1 | -4/+56 |
| | | | | | | | | | | | This implements SPIM TX workaround suggested from section 3.8.1 from Anomaly 109 addendum. In workaround case we first keep track of original maxcnt values, then initiate "fake" transfer with zero-length maxcnt values. Once the "fake" transfer is triggered, we handle it, fill in the original maxcnt values and restart the transmission. | ||||
| * | fix: ensure spi irq is disabled when dropped | Ulf Lilleengen | 2023-08-10 | 1 | -0/+3 |
| | | |||||
| * | Rename embassy-hal-common to embassy-hal-internal, document it's for ↵ | Dario Nieuwenhuis | 2023-07-28 | 1 | -1/+1 |
| | | | | | internal use only. (#1700) | ||||
| * | update embedded-hal crates. | Dario Nieuwenhuis | 2023-07-04 | 1 | -16/+4 |
| | | |||||
| * | Add lifetimes to the functions | Dion Dokter | 2023-07-04 | 1 | -2/+2 |
| | | |||||
| * | Make interrupt module more standard. | Dario Nieuwenhuis | 2023-06-08 | 1 | -8/+8 |
| | | | | | | | | | | | | | - 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 | -3/+3 |
| | | |||||
| * | nrf/spim: switch to new interrupt binding. | Dario Nieuwenhuis | 2023-03-06 | 1 | -27/+32 |
| | | |||||
| * | nrf: docs. | Dario Nieuwenhuis | 2023-02-01 | 1 | -8/+25 |
| | | |||||
| * | Switch to async-fn-in-trait | Dario Nieuwenhuis | 2022-11-25 | 1 | -21/+10 |
| | | |||||
| * | Update embedded-hal versions and explicitly pin | Ulf Lilleengen | 2022-09-29 | 1 | -4/+4 |
| | | |||||
| * | Replace futures::future::poll_fn -> core::future::poll_fn. | Dario Nieuwenhuis | 2022-09-22 | 1 | -1/+1 |
| | | |||||
| * | Do not use cfg_if for embedded-hal-async feature gates. | Dario Nieuwenhuis | 2022-08-31 | 1 | -30/+28 |
| | | | | | 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. | ||||
| * | split `embassy-util` into `embassy-futures`, `embassy-sync`. | Dario Nieuwenhuis | 2022-08-22 | 1 | -1/+1 |
| | | |||||
| * | Split embassy crate into embassy-executor, embassy-util. | Dario Nieuwenhuis | 2022-07-29 | 1 | -1/+1 |
| | | |||||
| * | nrf: replace PhantomData usages with PeripheralRef. | Dario Nieuwenhuis | 2022-07-23 | 1 | -5/+4 |
| | | |||||
| * | Remove PeripheralRef::into_inner() | Dario Nieuwenhuis | 2022-07-23 | 1 | -6/+13 |
| | | |||||
| * | Rename Unborrowed -> PeripheralRef, Unborrow -> Peripheral | Dario Nieuwenhuis | 2022-07-23 | 1 | -25/+25 |
| | | |||||
| * | WIP: Make unborrow safe to use | Grant Miller | 2022-07-23 | 1 | -17/+10 |
| | | |||||
| * | Associated type | Henrik Alsér | 2022-07-09 | 1 | -2/+3 |
| | | |||||
| * | Shared buses with SetConfig | Henrik Alsér | 2022-07-08 | 1 | -0/+43 |
| | | |||||
| * | Run rustfmt. | Dario Nieuwenhuis | 2022-06-12 | 1 | -18/+9 |
| | | |||||
| * | Add embassy-cortex-m crate. | Dario Nieuwenhuis | 2022-06-12 | 1 | -2/+2 |
| | | | | | | | - Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`. - Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore) - Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`. | ||||
| * | Update rust nightly, embedded-hal 1.0, embedded-hal-async. | Dario Nieuwenhuis | 2022-03-11 | 1 | -132/+37 |
| | | |||||
| * | Move EasyDMA documentation to module level | Til Blechschmidt | 2022-03-08 | 1 | -36/+5 |
| | | |||||
| * | Refactor _from_ram methods to use more readable copy operation | Til Blechschmidt | 2022-03-02 | 1 | -6/+6 |
| | | |||||
| * | Fix EasyDMA slice copying not actually copying data | Til Blechschmidt | 2022-02-23 | 1 | -4/+7 |
| | | |||||
| * | Add defmt log outputs for SPIM memcpy | Til Blechschmidt | 2022-02-23 | 1 | -0/+2 |
| | | |||||
