aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/chips/nrf5340_app.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat: improve nrf54 support using new nrf-pacUlf Lilleengen2025-10-281-32/+39
| | | | | | | | | | | | | * 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]>
* code review changesRobin Mueller2025-09-221-0/+2
|
* add basic RTC driver for nRFRobin Mueller2025-09-221-0/+3
|
* Replace SAADC input pins with correct mappingsIke2025-08-251-8/+8
|
* nrf: Add IPC peripheral for nRF5340Alessandro Gasbarroni2025-05-101-0/+5
|
* nrf53: add WDT supportMatthew Tran2025-04-201-1/+5
|
* remove redundant cfgMatthew Tran2025-02-221-4/+4
|
* nrf5340: configure LFCLKMatthew Tran2025-02-221-0/+4
|
* nrf: Add NFCT driver.Dario Nieuwenhuis2024-11-201-0/+3
| | | | | Co-Authored-By: turbocool3r <[email protected]> Co-Authored-By: ferris <[email protected]>
* Update nrf-pac.Dario Nieuwenhuis2024-11-151-217/+146
|
* fix(nrf5340-app): added SPIM4 peripheralGiona Imperatori2024-11-091-0/+2
|
* nrf: port to chiptool-based `nrf-pac`.Dario Nieuwenhuis2024-11-041-21/+22
|
* add HAL and example for using nRF EGU peripheralUlf Lilleengen2024-06-181-0/+15
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-291-1/+0
|
* nrf/pac: reeport s and ns peripherals always independently of the current mode.Dario Nieuwenhuis2023-10-161-152/+166
| | | | | You sometimes need this, for example for using nrf91 modem from S mode you need to acces IPC_NS.
* Rename embassy-hal-common to embassy-hal-internal, document it's for ↵Dario Nieuwenhuis2023-07-281-2/+2
| | | | internal use only. (#1700)
* Remove embassy-cortex-m crate, move stuff to embassy-hal-common.Dario Nieuwenhuis2023-06-091-1/+1
|
* Reexport NVIC_PRIO_BITS at HAL root.Dario Nieuwenhuis2023-06-081-0/+2
| | | | This allows using RTIC with `#[rtic::app(device = embassy_nrf, ...)]`
* Make interrupt module more standard.Dario Nieuwenhuis2023-06-081-47/+43
| | | | | | | | | | | | - 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`.
* nrf/qdec: make available on all chips, use Instance trait, switch to new ↵Dario Nieuwenhuis2023-03-061-1/+8
| | | | interrupt binding.
* nrf/pdm: make available on all chips, use Instance trait, switch to new ↵Dario Nieuwenhuis2023-03-061-1/+6
| | | | interrupt binding.
* nrf/qspi: add nrf53 support.Dario Nieuwenhuis2023-03-051-0/+5
|
* nrf: rename UARTETWISPIn -> SERIALnDario Nieuwenhuis2023-02-211-28/+28
| | | | | The UARTETWISPIn naming is quite horrible. With the nRF53, Nordic realized this and renamed the interrupts to SERIALn. Let's copy that for our peripheral names, in nrf53 and nrf91.
* nrf: add support for UICR configuration.Dario Nieuwenhuis2023-02-201-0/+4
| | | | | | | | | - APPROTECT enable/disable. Notably this fixes issues with nrf52-rev3 and nrf53 from locking itself at reset. - Use NFC pins as GPIO. - Use RESET pin as GPIO. NFC and RESET pins singletons are made available only when usable as GPIO, for compile-time checking.
* nrf: docs.Dario Nieuwenhuis2023-02-011-0/+1
|
* Merge branch 'master' into nrf91/53-nvmcDion Dokter2022-12-091-0/+10
|\
| * Merge #1056bors[bot]2022-11-221-0/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | 1056: embassy-nrf: Add TWIS module r=Dirbaio a=kalkyl Verified to be working on nrf9160 Co-authored-by: kalkyl <[email protected]> Co-authored-by: Henrik Alsér <[email protected]>
| | * embassy-nrf: Add TWIS modulekalkyl2022-11-131-0/+5
| | |
| * | embassy-nrf: Add SPIS moduleHenrik Alsér2022-11-051-0/+5
| |/
* / Adapted nvmc so it can be used for all nrf targetsDion Dokter2022-11-101-0/+5
|/
* Update nrf pacsDion Dokter2022-10-261-8/+8
|
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-171-1/+1
|
* Run rustfmt.Dario Nieuwenhuis2022-06-121-1/+2
|
* Add embassy-cortex-m crate.Dario Nieuwenhuis2022-06-121-1/+1
| | | | | | - 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`.
* usb: add -usb-serial crate, fix warnings and stable build.Dario Nieuwenhuis2022-04-061-0/+1
|
* docs: prevent inline doc spam for reexports.Dario Nieuwenhuis2022-03-041-0/+3
|
* enable USB peripheral for relevant chipsJacob Rosenthal2021-12-151-0/+5
|
* nrf: add initial nrf5340 supportDario Nieuwenhuis2021-10-281-0/+506