aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf/src/bin
Commit message (Collapse)AuthorAgeFilesLines
* Rename examples/nrf to examples/nrf52840Dominik Boehi2023-01-0951-3355/+0
|
* usb/cdc-ncm: add embassy-net Device implementation.Dario Nieuwenhuis2022-12-131-122/+17
|
* 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
| |
| * 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-091-0/+48
| | | | | | | | Co-authored-by: @brainstorm <[email protected]>
* | 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
|/
* 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-102-97/+43
| | | | | | | | simplify the P2P examples; correct RSSI computation.
* | Improve generics and consolidate antenna handlingceekdee2022-10-082-8/+8
| |
* | Update some outstanding questionsceekdee2022-09-281-1/+1
| |
* | Initial add for sx126xceekdee2022-09-272-0/+257
|/
* usb: move classes into the `embassy-usb` crate.Dario Nieuwenhuis2022-09-265-7/+7
|
* 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)
* net: feature-gate nightly-only async traits to allow building on stable.Dario Nieuwenhuis2022-08-301-1/+1
|
* futures: move select* and join* to separate modules.Dario Nieuwenhuis2022-08-291-1/+1
|
* sync: flatten module structure.Dario Nieuwenhuis2022-08-226-6/+6
|
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-227-14/+14
|
* Remove Forever, switch to static_cell.Dario Nieuwenhuis2022-08-225-23/+23
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-1842-66/+66
|
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-1740-79/+100
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-2942-155/+154
|
* Trait for UsbSupplyhuntc2022-07-095-90/+24
| | | | Eliminated a signal by using a simpler trait method that returns whether VBus power is available. Also includes a UsbSupply that can be signalled for use with the nRF softdevice. Includes the requirement for waiting for power to become available.
* Puts in the machinery to handle power detected/removedhuntc2022-07-071-33/+5
|