aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src
Commit message (Collapse)AuthorAgeFilesLines
* Update to embedded-io 0.7Dario Nieuwenhuis2025-12-193-0/+37
|
* fix: avoid hang if calling now() before syscounter is enabledUlf Lilleengen2025-12-181-0/+4
| | | | | | If the time driver now() is called before the syscounter is enabled on nrf54, it would hang. The fix checks if syscounter is enabled, and returns 0 if not.
* fix: use correct pin count for the nrf54 chip familyoddlama2025-12-161-9/+6
|
* fix copy paste bug in i2c pullup ?Kezi2025-12-121-1/+1
|
* Merge pull request #5036 from embassy-rs/nrf54-buffered-rramUlf Lilleengen2025-12-121-12/+161
|\ | | | | | | feat: add support for buffered write mode for rram
| * feat: add support for buffered write mode for rramUlf Lilleengen2025-12-111-12/+161
| |
* | Merge pull request #5029 from robamu/tiny-docs-improvementsUlf Lilleengen2025-12-121-2/+2
|\ \ | |/ |/| | | tiny improvements for nrf init code docs
| * tiny improvements for nrf docsRobin Mueller2025-12-101-2/+2
| |
* | Merge pull request #5027 from embassy-rs/nrf54-rng-crashDario Nieuwenhuis2025-12-101-19/+11
|\ \ | | | | | | | | | nrf/cracen: fix bus fault on drop.
| * | nrf/cracen: fix bus fault on drop.Dario Nieuwenhuis2025-12-101-19/+11
| | | | | | | | | | | | | | | | | | | | | Accessing the RNGCONTROL reg bus faults when ENABLE.RNG=0. Do all the enabling in start_rng/stop_rng, then do nothing on drop. This is fine now that we only have blocking RNG, we'll have to do something fancier in the future.
* | | feat: add nRF54LM20A supportHaobo Gu2025-12-084-2/+851
|/ / | | | | | | Signed-off-by: Haobo Gu <[email protected]>
* | chore: expose uicr write functionsUlf Lilleengen2025-12-041-3/+12
| | | | | | | | | | | | Applications may need to write UICR registers independently of the HAL (for instance, softdevice-specific registers). Exposing these functions will allow that to be done in the correct way.
* | fix: use correct cfg guardUlf Lilleengen2025-12-021-2/+2
| |
* | feat: support nrf54l10 and nrf54l05 in HALUlf Lilleengen2025-12-023-2/+1504
| |
* | fix: patch back clock power irqUlf Lilleengen2025-11-271-0/+1
| |
* | chore: cleanupUlf Lilleengen2025-11-261-8/+3
| |
* | fix: update saadc after API changesUlf Lilleengen2025-11-261-5/+5
| |
* | feat: support nrf54 GRTC as time-driverUlf Lilleengen2025-11-263-49/+137
| | | | | | | | | | | | | | * Refactor GRTC peripheral splitting it into multiple channels * Reserve channel 1 for time-driver if enabled * Implement time-driver using GRTC (RTC peripheral is now removed). * Add timer example to nrf54l15
* | feat: add ppi events for SPIS peripheralUlf Lilleengen2025-11-251-0/+15
| |
* | embassy-nrf: add workaround for anomaly 66 on nrf52Matthew Tran2025-11-231-0/+24
|/
* fix: use correct nrf54l15 flash sizeUlf Lilleengen2025-11-141-1/+1
| | | | Both SVD and documentation agrees on 1524kB
* Merge pull request #4810 from ↵Ulf Lilleengen2025-11-141-6/+62
|\ | | | | | | | | | | de-vri-es/nrf-gpiote-enable-interrupts-before-being-polled embassy-nrf: add `gpiote::InputChannel::wait_for_high/low()`
| * embassy-nrf: add gpiote::InputChannel::wait_for_high/low()Maarten de Vries2025-10-301-6/+62
| | | | | | | | | | Also catch GPIOTE events directly when wait() is called, even before polling the future.
* | fix: more cracen secure mode onlyUlf Lilleengen2025-11-041-0/+2
| |
* | fix: cracen only in secure modeUlf Lilleengen2025-11-041-1/+1
| |
* | chore: rustfmtUlf Lilleengen2025-11-041-1/+2
| |
* | fix: warningsUlf Lilleengen2025-11-042-11/+7
| |
* | feat: add nrf54 config to set clock speedUlf Lilleengen2025-11-041-0/+30
| |
* | feat: initial support for nrf54 CRACEN peripheralUlf Lilleengen2025-11-043-1/+166
| | | | | | | | | | | | | | The CRACEN peripheral supports random number generation, digest and key generation, and key exchange. The initial support implements random number generation.
* | feat: enable missing PPI channels and groupsUlf Lilleengen2025-11-041-0/+28
|/
* Merge pull request #4801 from embassy-rs/nrf54-fixesUlf Lilleengen2025-10-302-39/+124
|\ | | | | | | nrf54 improvements and fixes
| * fix: ppi bridge channel definitionsUlf Lilleengen2025-10-291-12/+87
| |
| * fix: allow compiling without gpiote for nrf54Ulf Lilleengen2025-10-292-27/+30
| |
| * fix: add missing ppi and grtc peripheralUlf Lilleengen2025-10-291-2/+9
| |
* | nrf/gpiote: remove logsDario Nieuwenhuis2025-10-291-13/+0
|/
* Merge branch 'main' into sleep-in-anomaly-fixUlf Lilleengen2025-10-291-18/+31
|\
| * Make empty definition consistentDion Dokter2025-10-291-18/+31
| |
* | [nRF] Add delay in uart anomaly fixDion Dokter2025-10-291-0/+8
|/
* nrf5340: Do not write to UICR from non-secure worldDmitry Tarnyagin2025-10-281-1/+1
| | | | | Ref nRF5340 PS v1.6: > UICR is only accessible by secure code. Any write from non-secure code will be faulted.
* fix: convert to expected valueUlf Lilleengen2025-10-281-2/+10
|
* fix: use current freq at spim instance creation time for serial0Ulf Lilleengen2025-10-281-1/+14
|
* fix: only set detectmode in secure modeUlf Lilleengen2025-10-281-1/+1
|
* chore: make it clear which gpiotec for a channelUlf Lilleengen2025-10-282-25/+25
|
* feat: improve nrf54 support using new nrf-pacUlf Lilleengen2025-10-2828-626/+2353
| | | | | | | | | | | | | * 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]>
* Merge branch 'main' into nrf-simplepwm-configMaarten de Vries2025-10-281-0/+8
|\
| * nrf: use DETECTMODE_SEC in GPIOTE in secure modeMatthew Tran2025-10-241-0/+3
| | | | | | | | DETECTMODE only applies to pins assigned to non-secure.
| * embassy-nrf: allow direct access to the `gpiote::InputChannel` input pinMaarten de Vries2025-10-231-0/+5
| |
* | embassy_nrf::pwm: add config argument to SimplePwm constructorsMaarten de Vries2025-10-151-28/+90
| |
* | embassy_nrf::pwm: add channel idle level to configMaarten de Vries2025-10-151-50/+35
| |
* | embassy_nrf::pwm: allow setting all duty cycles of SimplePwm at onceMaarten de Vries2025-10-151-0/+16
| |