aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf52840/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1763 from rubdos/sender-receiver-with-ctxDario Nieuwenhuis2023-08-223-3/+3
|\ | | | | | | Refactor Channel/Sender/Receiver poll methods
| * Deprecate *recv* in favor of *receive*Ruben De Smet2023-08-223-3/+3
| |
* | net-esp-hosted: sane error handling in control requests.Dario Nieuwenhuis2023-08-171-2/+2
| |
* | Update embedded-hal to 1.0.0-rc.1 (#1783)Dario Nieuwenhuis2023-08-161-1/+1
| |
* | net-enc28j60: add example.Dario Nieuwenhuis2023-08-151-0/+124
|/
* Update to embedded-io 0.5 (#1752)Dario Nieuwenhuis2023-08-073-3/+3
|
* cargo fmtQuentin Smith2023-07-182-35/+38
|
* Merge remote-tracking branch 'origin/main' into nrf-pdmQuentin Smith2023-07-172-13/+111
|
* Remove wifi envvars. They're annoying, they cause rust-analyzer errors when ↵Dario Nieuwenhuis2023-07-051-1/+4
| | | | opening the examples.
* update embedded-hal crates.Dario Nieuwenhuis2023-07-041-2/+3
|
* Update probe-rs-cli -> probe-rsDario Nieuwenhuis2023-06-292-2/+2
|
* Modify an exampleDániel Buga2023-06-251-1/+5
|
* esp-hosted: add perf hil test.Dario Nieuwenhuis2023-06-221-4/+4
|
* esp-hosted: fix warnings.Dario Nieuwenhuis2023-06-221-1/+0
|
* esp-hosted: wait for esp firmware init.Dario Nieuwenhuis2023-06-221-3/+0
|
* wip: esp-hosted net driver.Dario Nieuwenhuis2023-06-221-0/+143
|
* examples: use nicer InterrupExt to set irq priority in multprio.Dario Nieuwenhuis2023-06-091-9/+5
|
* Remove executor dep+reexports from HALs.Dario Nieuwenhuis2023-06-091-1/+1
| | | | Closes #1547
* net: Support dual stack IPRuben De Smet2023-06-071-3/+3
|
* Rename StaticConfig to StaticConfigV4Ruben De Smet2023-06-061-1/+1
|
* Use make_static! from static-cell v1.1Dario Nieuwenhuis2023-06-012-34/+21
|
* net: do not use smoltcp Instant/Duration in public API.Dario Nieuwenhuis2023-05-151-1/+1
|
* Fix some typosDirk Stolle2023-05-084-5/+5
|
* Merge branch 'embassy-rs:master' into masterChuck Davis2023-04-262-2/+2
|\
| * Switch from probe-run to probe-rs-cli.Dario Nieuwenhuis2023-04-262-2/+2
| | | | | | | | | | - 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 lora-phy examples.ceekdee2023-04-236-133/+327
| |
* | Add external LoRa physical layer functionality.ceekdee2023-04-213-81/+216
|/
* nrf/usb: switch to new interrupt binding, fix vbus detect on nrf53.Dario Nieuwenhuis2023-03-066-50/+75
|
* 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
|/