aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/chips
Commit message (Collapse)AuthorAgeFilesLines
* fix warningsUlf Lilleengen2024-01-251-1/+0
|
* cleanupUlf Lilleengen2024-01-241-3/+5
|
* feat: add basic support for nRF51 chips to embassy-nrfUlf Lilleengen2024-01-241-0/+168
|
* minimum build code for new APPROTECT is chip type-specificPeter Hansen2023-12-037-0/+7
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-294-4/+0
|
* nrf/pac: reeport s and ns peripherals always independently of the current mode.Dario Nieuwenhuis2023-10-163-269/+298
| | | | | 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-2810-20/+20
| | | | internal use only. (#1700)
* Remove embassy-cortex-m crate, move stuff to embassy-hal-common.Dario Nieuwenhuis2023-06-0910-10/+10
|
* Reexport NVIC_PRIO_BITS at HAL root.Dario Nieuwenhuis2023-06-083-0/+6
| | | | This allows using RTIC with `#[rtic::app(device = embassy_nrf, ...)]`
* Make interrupt module more standard.Dario Nieuwenhuis2023-06-0810-377/+337
| | | | | | | | | | | | - 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/rng: make available on all chips, use Instance trait, switch to new ↵Dario Nieuwenhuis2023-03-068-0/+19
| | | | interrupt binding.
* nrf/qdec: make available on all chips, use Instance trait, switch to new ↵Dario Nieuwenhuis2023-03-068-1/+22
| | | | interrupt binding.
* nrf/pdm: make available on all chips, use Instance trait, switch to new ↵Dario Nieuwenhuis2023-03-067-1/+21
| | | | interrupt binding.
* nrf/qspi: add nrf53 support.Dario Nieuwenhuis2023-03-051-0/+5
|
* nrf: rename UARTETWISPIn -> SERIALnDario Nieuwenhuis2023-02-213-61/+61
| | | | | 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-208-0/+44
| | | | | | | | | - 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-013-0/+3
|
* Merge branch 'master' into nrf91/53-nvmcDion Dokter2022-12-0910-3/+80
|\
| * Merge #1049bors[bot]2022-12-093-3/+18
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1049: embassy-nrf: Add I2S module r=lulf a=chris-zen This PR adds I2S support for the nrf52 series (`nrf52832`, `nrf52833`, `nrf52840`). We could only test it in a `nrf52840` in master mode for an output stream (see `i2s_waveform` example), using a clone of the [Adafruit I2S Stereo Decoder - UDA1334A](https://learn.adafruit.com/adafruit-i2s-stereo-decoder-uda1334a/overview). We were wondering if this could be a welcome addition to embassy, as we are working on this very informally and don't have much free time for it. <img src="https://user-images.githubusercontent.com/932644/202316127-a8cf90ef-1e1a-4e1d-b796-961b8ad6cef5.png" width="600"> https://user-images.githubusercontent.com/932644/202316609-e53cd912-e463-4e01-839e-0bbdf37020da.mp4 Co-authored-by: `@brainstorm` <[email protected]> Co-authored-by: Christian Perez Llamas <[email protected]> Co-authored-by: Roman Valls Guimera <[email protected]>
| | * Fix buildChristian Perez Llamas2022-11-193-3/+13
| | |
| | * Draft: Initial support for I2S with a working example.Christian Perez Llamas2022-11-091-0/+5
| | | | | | | | | | | | Co-authored-by: @brainstorm <[email protected]>
| * | Merge #1056bors[bot]2022-11-2210-0/+29
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1310-0/+29
| | |/
| * / embassy-nrf: Add SPIS moduleHenrik Alsér2022-11-0510-0/+33
| |/
* / Adapted nvmc so it can be used for all nrf targetsDion Dokter2022-11-103-0/+15
|/
* Update nrf pacsDion Dokter2022-10-268-58/+58
|
* add support for pdm microphones in nrf driverpbert2022-10-135-0/+15
|
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-1710-10/+10
|
* Run rustfmt.Dario Nieuwenhuis2022-06-1210-10/+20
|
* Add embassy-cortex-m crate.Dario Nieuwenhuis2022-06-1210-10/+10
| | | | | | - 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`.
* Add qdec moduleHenrik Alsér2022-05-077-0/+21
|
* usb: add -usb-serial crate, fix warnings and stable build.Dario Nieuwenhuis2022-04-064-0/+4
|
* nrf: nrf52832 doesn't have SPI3Dario Nieuwenhuis2022-03-221-1/+0
|
* docs: prevent inline doc spam for reexports.Dario Nieuwenhuis2022-03-043-0/+7
|
* fix nrf52820Jacob Rosenthal2021-12-151-0/+2
|
* enable USB peripheral for relevant chipsJacob Rosenthal2021-12-154-0/+18
|
* cleanupJacob Rosenthal2021-12-141-1/+0
|
* dont expose embedded_hal_common::usbJacob Rosenthal2021-12-141-5/+0
|
* stub out the embassy registers for usbdJacob Rosenthal2021-12-131-0/+6
|
* nrf/gpiote: fix build for nrf9160Dario Nieuwenhuis2021-12-021-3/+3
|
* nrf: add initial nrf5340 supportDario Nieuwenhuis2021-10-283-5/+886
|
* nrf91: support running in both S and NS mode.Dario Nieuwenhuis2021-10-261-29/+139
|
* Fewer channel traits, more cfg to make the system workDion Dokter2021-10-268-230/+230
|
* Another redo using the feedback.Dion Dokter2021-10-268-230/+230
| | | | | PPI is now split up into PPI and DPPI under the name 'interconnect'. The tasks and events are tracked and reset in the drop function.
* - Added _ppi and _dppi to distinguish between the new and the old peripheral.Dion Dokter2021-10-267-214/+214
| | | | | | - Removed ConfigurableChannel and added capacity numbers to the channels - Replaced the PPI api with a new one using the DPPI terminology (publish & subscribe) - Updated all tasks and event registers for DPPI
* nrf: add NVMC driver.Dario Nieuwenhuis2021-10-227-0/+39
|
* Add support for temperature sensor peripheralUlf Lilleengen2021-10-197-0/+21
| | | | | | * Add TEMP peripheral to all nRF52 chips * Add async HAL for reading temperature values * Add example application reading temperature values
* Undoing unnecessary changesDion Dokter2021-10-121-31/+44
|
* Made all PPI channels not configurable (even though they are) so they can't ↵Dion Dokter2021-10-111-16/+16
| | | | use unimplemented features
* Merge remote-tracking branch 'upstream/master'Dion Dokter2021-10-118-3/+295
|\