aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf
Commit message (Collapse)AuthorAgeFilesLines
* Rename examples/nrf to examples/nrf52840Dominik Boehi2023-01-0955-3443/+0
|
* net: split driver trait to a separate crate.Dario Nieuwenhuis2022-12-261-1/+1
|
* net: remove unused pool-x featuresDario Nieuwenhuis2022-12-261-1/+1
|
* usb/cdc-ncm: add embassy-net Device implementation.Dario Nieuwenhuis2022-12-132-123/+18
|
* nrf: add manually_create_executor example.Dario Nieuwenhuis2022-12-091-0/+49
|
* Merge #1049bors[bot]2022-12-093-0/+383
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]>
| * Move the responsibility to manage buffers to the I2S streamChristian Perez Llamas2022-12-083-17/+241
| |
| * Optimization to be able to work with only 2 buffersChristian Perez Llamas2022-11-291-11/+9
| |
| * Buffer management in line with other peripherals. Constructor and config ↵Christian Perez Llamas2022-11-191-42/+61
| | | | | | | | redesign
| * Fix formatChristian Perez Llamas2022-11-191-2/+1
| |
| * Add missing parts and CleanupChristian Perez Llamas2022-11-191-47/+26
| |
| * Fix buffer overrunsChristian Perez Llamas2022-11-171-34/+52
| |
| * Mono channelsChristian Perez Llamas2022-11-131-6/+6
| |
| * Minor changesChristian Perez Llamas2022-11-131-4/+5
| |
| * Investigating discontinuities in the signalChristian Perez Llamas2022-11-131-9/+18
| |
| * Interrupts, async, sine oscillatorChristian Perez Llamas2022-11-121-21/+111
| |
| * Restrict to pacs supporting i2sChristian Perez Llamas2022-11-101-1/+1
| |
| * Buffer trait. Simpler config.Christian Perez Llamas2022-11-101-5/+2
| |
| * Apply configChristian Perez Llamas2022-11-091-1/+1
| |
| * Make bors grin ;)Roman Valls Guimera2022-11-091-8/+9
| |
| * Draft: Initial support for I2S with a working example.Christian Perez Llamas2022-11-092-1/+49
| | | | | | | | Co-authored-by: @brainstorm <[email protected]>
* | Bump defmt-rtt to 0.4Dario Nieuwenhuis2022-11-291-1/+1
| |
* | Switch to async-fn-in-traitDario Nieuwenhuis2022-11-251-2/+2
| |
* | Merge #1056bors[bot]2022-11-221-0/+46
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 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]>
| * | Rename write to respond_to_readHenrik Alsér2022-11-221-5/+6
| | |
| * | Return number of bytes written, add address match getterkalkyl2022-11-141-1/+1
| | |
| * | embassy-nrf: Add TWIS modulekalkyl2022-11-131-0/+45
| |/
* | Disable UARTE in embassy-nrf::initHenrik Alsér2022-11-131-3/+5
| |
* | rustfmtHenrik Alsér2022-11-051-1/+1
| |
* | Add status checksHenrik Alsér2022-11-051-2/+2
| |
* | embassy-nrf: Add SPIS moduleHenrik Alsér2022-11-051-0/+25
|/
* Update Rust nightly.Dario Nieuwenhuis2022-10-261-1/+1
|
* Merge #855bors[bot]2022-10-211-0/+33
|\ | | | | | | | | | | | | | | 855: PDM microphone support for nrf r=Dirbaio a=pbert519 PDM microphones have a long startup phase, therefore the driver samples continuously and only switches the target buffer if the user requests sampling. Co-authored-by: pbert <[email protected]>
| * add support for pdm microphones in nrf driverpbert2022-10-131-0/+33
| |
| |
| \
*-. \ Merge #984 #1006bors[bot]2022-10-121-3/+4
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 984: rp pico async i2c implementation r=Dirbaio a=jsgf This implements an interrupt-driven async i2c master. It is based on https://github.com/embassy-rs/embassy/pull/914, a bit of https://github.com/embassy-rs/embassy/pull/978 and `@ithinuel's` https://github.com/ithinuel/rp2040-async-i2c.git This is still work-in-progress, and is currently untested. 1006: Removes some of the code duplication for UarteWithIdle r=Dirbaio a=huntc This PR removes some of the code duplications for `UarteWithIdle` at the slight expense of requiring a split when using idle processing. As the nRF example illustrates though given the LoC removed, this expense seems worth the benefit in terms of maintenance, and the avoidance of copying over methods. My main motivation for this PR was actually due to the `event_endtx` method not having been copied across to the idle-related code. Tested the uart_idle example on my nRF52840-dk, and from within my app. Both appear to work fine. Co-authored-by: Jeremy Fitzhardinge <[email protected]> Co-authored-by: huntc <[email protected]>
| | * Removes some of the code duplication for UarteWithIdlehuntc2022-10-091-3/+4
| | | | | | | | | | | | This commit removes some of the code duplication for UarteWithIdle at the expense of requiring a split. As the example illustrates though, this expense seems worth the benefit in terms of maintenance, and the avoidance of copying over methods. My main motivation for this commit was actually due to the `event_endtx` method not having been copied across.
* | | Change rak4631 feature to sx126x, removing use in board-specific processing; ↵ceekdee2022-10-103-98/+44
| | | | | | | | | | | | simplify the P2P examples; correct RSSI computation.
* | | Merge branch 'embassy-rs:master' into masterChuck Davis2022-10-081-0/+1
|\ \ \ | | |/ | |/|
| * | all Cargo.toml: Add license to all crate Cargo.toml fileschrysn2022-10-071-0/+1
| |/ | | | | | | Closes: https://github.com/embassy-rs/embassy/issues/1002
* | Improve generics and consolidate antenna handlingceekdee2022-10-082-8/+8
| |
* | Update some outstanding questionsceekdee2022-09-281-1/+1
| |
* | Initial add for sx126xceekdee2022-09-273-1/+263
|/
* usb: move classes into the `embassy-usb` crate.Dario Nieuwenhuis2022-09-266-11/+8
|
* Remove default, reorder generic paramsivmarkov2022-09-251-1/+2
|
* Parameterize Signal with RawMutexivmarkov2022-09-241-1/+1
|
* Replace futures::future::join -> embassy_futures::join::join.Dario Nieuwenhuis2022-09-223-3/+3
|
* Replace futures::future::poll_fn -> core::future::poll_fn.Dario Nieuwenhuis2022-09-221-1/+2
|
* Update Rust nightly.Dario Nieuwenhuis2022-09-225-5/+0
| | | | Removes feature(generic_associated_types)
* usbd-hid: 0.5.2 -> 0.6.0Alex Martens2022-09-041-1/+1
|
* net: feature-gate nightly-only async traits to allow building on stable.Dario Nieuwenhuis2022-08-302-2/+2
|