aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix warningsUlf Lilleengen2024-01-251-0/+4
|
* feat: add basic support for nRF51 chips to embassy-nrfUlf Lilleengen2024-01-241-3/+16
|
* stm32,nrf: add warning on docs.rs directing the user to docs.embassy.dev.Dario Nieuwenhuis2024-01-111-0/+4
|
* [embassy-nrf] auto-documented featuresBarnaby Walters2023-12-221-0/+3
|
* stm32: more docs.Dario Nieuwenhuis2023-12-191-1/+5
|
* Document how to bind multiple interrupts and handlers in `bind_interrupts!`.Dario Nieuwenhuis2023-12-081-0/+22
|
* minimum build code for new APPROTECT is chip type-specificPeter Hansen2023-12-031-2/+3
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-291-3/+1
|
* Re-add impl_trait_projectionsDániel Buga2023-10-301-1/+2
|
* Remove impl_trait_projections.Dario Nieuwenhuis2023-10-021-1/+1
|
* Make irq token Copy+CloneDario Nieuwenhuis2023-09-251-0/+1
|
* Rename embassy-hal-common to embassy-hal-internal, document it's for ↵Dario Nieuwenhuis2023-07-281-2/+2
| | | | internal use only. (#1700)
* Update probe-rs-cli -> probe-rsDario Nieuwenhuis2023-06-291-3/+3
|
* Remove embassy-cortex-m crate, move stuff to embassy-hal-common.Dario Nieuwenhuis2023-06-091-1/+1
|
* Remove executor dep+reexports from HALs.Dario Nieuwenhuis2023-06-091-1/+0
| | | | Closes #1547
* Reexport NVIC_PRIO_BITS at HAL root.Dario Nieuwenhuis2023-06-081-2/+3
| | | | This allows using RTIC with `#[rtic::app(device = embassy_nrf, ...)]`
* Make interrupt module more standard.Dario Nieuwenhuis2023-06-081-19/+12
| | | | | | | | | | | | - 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 Nieuwenhuis2023-06-011-1/+1
|
* Update Rust nightly.Dario Nieuwenhuis2023-05-191-1/+0
|
* Remove unused `feature(type_alias_impl_trait)`.Dario Nieuwenhuis2023-05-141-4/+1
|
* Add support for setting up the nRFs internal DCDCsEmil Fresk2023-04-261-0/+80
|
* nrf/uicr: only check lowest bit.Dario Nieuwenhuis2023-03-071-13/+9
| | | | | This mirrors what nrfx does. Also it won't reboot/warn if NFCPINS is set to either 0xFFFF_FFFE or 0x0000_0000, which are all valid.
* nrf/interrupt: do not reexport `take!` macro.Dario Nieuwenhuis2023-03-061-1/+1
|
* nrf/rng: make available on all chips, use Instance trait, switch to new ↵Dario Nieuwenhuis2023-03-061-1/+1
| | | | interrupt binding.
* nrf/qdec: make available on all chips, use Instance trait, switch to new ↵Dario Nieuwenhuis2023-03-061-1/+1
| | | | interrupt binding.
* nrf/pdm: make available on all chips, use Instance trait, switch to new ↵Dario Nieuwenhuis2023-03-061-0/+2
| | | | interrupt binding.
* nrf: add new interrupt binding traits and macro.Dario Nieuwenhuis2023-03-061-4/+29
|
* Merge pull request #1232 from embassy-rs/nrf-qspi-fixesDario Nieuwenhuis2023-03-051-1/+1
|\ | | | | nrf/qspi: nrf53 support, u32 addrs, remove const generic, add raw read/write.
| * nrf/qspi: add nrf53 support.Dario Nieuwenhuis2023-03-051-1/+1
| |
* | nrf/buffered_uarte: make available on stable.Dario Nieuwenhuis2023-03-041-1/+0
|/
* nrf: warn if uicr configuration could not be written.Dario Nieuwenhuis2023-02-201-13/+65
| | | | | | | | If the user requests some configuration, but UICR is already programmed to something else, detect this and warn the user. We don't do it for the debug port settings, because if they are wrong then the user will simply not be able to read debug logs.
* nrf: add support for UICR configuration.Dario Nieuwenhuis2023-02-201-0/+156
| | | | | | | | | - 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-44/+2
|
* Merge branch 'master' into nrf91/53-nvmcDion Dokter2022-12-091-1/+16
|\
| * Merge #1049bors[bot]2022-12-091-0/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]>
| | * Interrupts, async, sine oscillatorChristian Perez Llamas2022-11-121-1/+1
| | |
| | * Cargo fmtRoman Valls Guimera2022-11-111-5/+1
| | |
| | * Restrict to pacs supporting i2sChristian Perez Llamas2022-11-101-1/+5
| | |
| | * Draft: Initial support for I2S with a working example.Christian Perez Llamas2022-11-091-0/+2
| | | | | | | | | | | | Co-authored-by: @brainstorm <[email protected]>
| * | Switch to async-fn-in-traitDario Nieuwenhuis2022-11-251-1/+5
| | |
| * | Merge #1056bors[bot]2022-11-221-0/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]>
| | * | config write, docs, add address_match_indexHenrik Alsér2022-11-221-6/+0
| | | |
| | * | embassy-nrf: Add TWIS modulekalkyl2022-11-131-0/+7
| | |/
| * | Merge #1042bors[bot]2022-11-221-0/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1042: embassy-nrf: Add SPIS module r=Dirbaio a=kalkyl Verified to be working on nrf9160 Co-authored-by: Henrik Alsér <[email protected]> Co-authored-by: Henrik Alsér <[email protected]> Co-authored-by: kalkyl <[email protected]>
| | * | Remove nrf9160 UARTE fixHenrik Alsér2022-11-221-7/+0
| | | |
| | * | Feature gate UARTE disableHenrik Alsér2022-11-131-0/+1
| | | |
| | * | Disable UARTE in embassy-nrf::initHenrik Alsér2022-11-131-0/+6
| | | |
| | * | embassy-nrf: Add SPIS moduleHenrik Alsér2022-11-051-0/+1
| | |/
| * / embassy-nrf: Default disable UARTE (nrf9160)Henrik Alsér2022-11-221-0/+7
| |/
* / Adapted nvmc so it can be used for all nrf targetsDion Dokter2022-11-101-1/+0
|/