aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf52840
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'embassy-rs:master' into masterChuck Davis2023-04-263-4/+4
|\
| * Switch from probe-run to probe-rs-cli.Dario Nieuwenhuis2023-04-263-4/+4
| | | | | | | | | | - probe-run screwed up the last release 2 weeks ago and it's still not fixed (issue 391). Doesn't look well maintained. - Even when it's not broken, it lags behind probe-rs-cli in new chips support because it's slow in updating probe-rs.
* | Add nightly feature specification for lora-phy.ceekdee2023-04-261-2/+2
| |
* | Correct nightly feature specification.ceekdee2023-04-261-2/+2
| |
* | Deprecate original LoRa drivers. Update rust-lorawan releases.ceekdee2023-04-251-2/+2
| |
* | Add lora-phy examples.ceekdee2023-04-236-133/+327
| |
* | Use released lora-phy.ceekdee2023-04-211-1/+1
| |
* | Add external LoRa physical layer functionality.ceekdee2023-04-214-86/+221
|/
* enable inline-asm feature for cortex-m in examplespennae2023-04-181-1/+1
| | | | | | inline assembly is supported since rust 1.59, we're way past that. enabling this makes the compiled code more compact, and on rp2040 even decreses memory usage by not needing thunks in sram.
* update to released versionsUlf Lilleengen2023-04-171-2/+2
|
* Update to rust-lorawan with afit supportUlf Lilleengen2023-04-151-2/+2
|
* Release embassy-sync v0.2.0Dario Nieuwenhuis2023-04-131-1/+1
|
* executor: add Pender, rework Cargo features.Dario Nieuwenhuis2023-04-031-1/+1
| | | | | | | | | This introduces a `Pender` struct with enum cases for thread-mode, interrupt-mode and custom callback executors. This avoids calls through function pointers when using only the thread or interrupt executors. Faster, and friendlier to `cargo-call-stack`. `embassy-executor` now has `arch-xxx` Cargo features to select the arch and to enable the builtin executors (thread and interrupt).
* nrf/usb: switch to new interrupt binding, fix vbus detect on nrf53.Dario Nieuwenhuis2023-03-067-56/+76
|
* nrf/twis: switch to new interrupt binding.Dario Nieuwenhuis2023-03-061-5/+7
|
* nrf/temp: switch to new interrupt binding.Dario Nieuwenhuis2023-03-061-3/+6
|
* nrf/twim: switch to new interrupt binding.Dario Nieuwenhuis2023-03-062-6/+12
|
* nrf/spis: switch to new interrupt binding.Dario Nieuwenhuis2023-03-061-3/+6
|
* nrf/spim: switch to new interrupt binding.Dario Nieuwenhuis2023-03-063-9/+18
|
* nrf/saadc: switch to new interrupt binding.Dario Nieuwenhuis2023-03-062-4/+12
|
* nrf/rng: make available on all chips, use Instance trait, switch to new ↵Dario Nieuwenhuis2023-03-062-4/+12
| | | | interrupt binding.
* nrf/qspi: switch to new interrupt binding.Dario Nieuwenhuis2023-03-062-6/+12
|
* nrf/qdec: make available on all chips, use Instance trait, switch to new ↵Dario Nieuwenhuis2023-03-061-3/+6
| | | | interrupt binding.
* nrf/pdm: make available on all chips, use Instance trait, switch to new ↵Dario Nieuwenhuis2023-03-061-3/+7
| | | | interrupt binding.
* nrf/i2s: switch to new interrupt binding.Dario Nieuwenhuis2023-03-063-14/+19
|
* nrf/timer: remove awaitable.Dario Nieuwenhuis2023-03-061-26/+0
|
* nrf/uart: switch to new interrupt binding.Dario Nieuwenhuis2023-03-064-13/+26
|
* Merge pull request #1232 from embassy-rs/nrf-qspi-fixesDario Nieuwenhuis2023-03-052-7/+13
|\ | | | | nrf/qspi: nrf53 support, u32 addrs, remove const generic, add raw read/write.
| * nrf/qspi: add _raw variants of methods that don't do bounds checks.Dario Nieuwenhuis2023-03-052-0/+6
| | | | | | | | | | Useful for the nRF7002, which presents as a "fake" QSPI flash, and the "capacity" concept doesn't really apply to it.
| * nrf/qspi: remove FLASH_SIZE const generic param.Dario Nieuwenhuis2023-03-052-2/+2
| |
| * nrf/qspi: always use u32 for addresses.Dario Nieuwenhuis2023-03-051-5/+5
| |
* | nrf/buffered_uarte: make available on stable.Dario Nieuwenhuis2023-03-041-1/+1
| |
* | nrf/buffered_uarte: remove PeripheralMutex, make it work without rts/cts.Dario Nieuwenhuis2023-03-041-9/+3
|/ | | | | | | | | | | | | | | | | | | > dirbaio: so I was checking how zephyr does UARTE RX on nRF > dirbaio: because currently we have the ugly "restart DMA on line idle to flush it" hack > dirbaio: because according to the docs "For each byte received over the RXD line, an RXDRDY event will be generated. This event is likely to occur before the corresponding data has been transferred to Data RAM." > dirbaio: so as I understood it, the only way to guarantee the data is actually transferred to RAM is to stop+restart DMA > dirbaio: well, guess what? > dirbaio: they just count RXDRDY's, and process that amount of data without restarting DMA > dirbaio: with a timer configured as counter https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/serial/uart_nrfx_uarte.c#L650-L692 > dirbaio: 🤔🤷⁉️ > dirbaio: someone saying you can do the "hook up rxdrdy to a counter" trick, someone else saying it's wrong 🤪 https://devzone.nordicsemi.com/f/nordic-q-a/28420/uarte-in-circular-mode So we're going to do just that! - BufferedUarte is lock-free now. No PeripheralMutex. - The "restart DMA on line idle to flush it" hack is GONE. This means - It'll work correctly without RTS/CTS now. - It'll have better throughput when using RTS/CTS.
* Merge pull request #1244 from embassy-rs/interruptexecutorDario Nieuwenhuis2023-03-011-11/+21
|\ | | | | cortex-m/executor: don't use the owned interrupts system.
| * cortex-m/executor: don't use the owned interrupts system.Dario Nieuwenhuis2023-02-281-11/+21
| | | | | | | | Preparation for #1224.
* | Example fixes.Dario Nieuwenhuis2023-03-011-23/+0
|/
* fix h7 examplesDario Nieuwenhuis2023-02-101-0/+23
|
* usb: use InterfaceNumber in msos.Dario Nieuwenhuis2023-02-081-1/+2
|
* usb: unify ControlHandler+DeviceStateHandler, route all control requests to ↵Dario Nieuwenhuis2023-02-086-17/+13
| | | | | | | | all handlers. - Allows classes to handle vendor requests. - Allows classes to use a single handler for multiple interfaces. - Allows classes to access the other events (previously only `reset` was available).
* Lazily encode UTF16 values and add docsalexmoon2023-02-071-17/+8
|
* Convert MS OS descriptor builder to a writer APIalexmoon2023-02-072-1/+145
| | | | | | This brings it inline with the other embassy-usb descriptor APIs and allows it to integrate well with the Builder to allow class constructors to add MS OS descriptors. Also adds a `usb_serial_winusb` example to demonstrate how to use the API.
* nrf: docs.Dario Nieuwenhuis2023-02-0110-25/+25
|
* Changed crates' names for nrf examples since they were conflictingDavide Della Giustina2023-01-241-1/+1
|
* net: allocate space for 2 sockets, needed for dhcp.Dario Nieuwenhuis2023-01-191-1/+1
|
* Add smoltcp dhcp socket configurationPaweł Jan Czochański2023-01-191-8/+3
|
* Rename examples/nrf to examples/nrf52840Dominik Boehi2023-01-0955-0/+3443