aboutsummaryrefslogtreecommitdiff
path: root/tests/rp
Commit message (Collapse)AuthorAgeFilesLines
...
* tests/rp: enable run-from-ram.Dario Nieuwenhuis2023-06-061-1/+1
| | | | Otherwise the flash test is flaky because it attempts to use boot2.
* ci: run HIL tests in parallel.Dario Nieuwenhuis2023-05-3018-2/+34
|
* Add HIL testkalkyl2023-05-161-0/+9
|
* rp: remove take!, add bind_interrupts!pennae2023-05-153-20/+32
|
* Merge #1423bors[bot]2023-05-021-0/+63
|\ | | | | | | | | | | | | | | 1423: rp: fix gpio InputFuture and inefficiencies r=pennae a=pennae InputFuture could not wait for edges without breaking due to a broken From impl, but even if the impl had been correct it would not have worked correctly because raw edge interrupts are sticky and must be cleared from software. also replace critical sections with atomic accesses, and do nvic setup only once. Co-authored-by: pennae <[email protected]>
| * rp/gpio: set up gpio interrupts only oncepennae2023-05-021-0/+63
| | | | | | | | | | | | doing this setup work repeatedly, on every wait, is unnecessary. with nothing ever disabling the interrupt it is sufficient to enable it once during device init and never touch it again.
* | rp: remove leftovers from #1414pennae2023-05-021-4/+0
|/ | | | forgot to remove these when they were no longer necessary or useful. oops.
* rp/uart: report errors from dma receivepennae2023-05-011-10/+228
|
* rp/uart: report errors from buffered uartpennae2023-05-011-20/+229
| | | | | | | | | this reports errors at the same location the blocking uart would, which works out to being mostly exact (except in the case of overruns, where one extra character is dropped). this is actually easier than going nuclear in the case of errors and nuking both the buffer contents and the rx fifo, both of which are things we'd have to do in addition to what's added here, and neither are needed for correctness.
* tests/rp: test error conditions for uartpennae2023-05-011-11/+148
|
* tests/rp: fix buffered uart testpennae2023-05-011-3/+3
| | | | | | the rp uart receive fifo is 32 entries deep, so the 31 byte test data fits into it without needing any buffering. extend to 48 bytes to fill the entire fifo and the 16 byte test buffer.
* Bump versions preparing for -macros and -executor releaseUlf Lilleengen2023-04-271-1/+1
|
* rp: add PWM apipennae2023-04-231-0/+142
|
* rp: hook up softfloat rom intrinsicspennae2023-04-193-3/+58
| | | | | | rp-hal has done this very well already, so we'll just copy their entire impl again. only div.rs needed some massaging because our sio access works a little differently, everything else worked as is.
* Release embassy-sync v0.2.0Dario Nieuwenhuis2023-04-131-1/+1
|
* Update embedded-hal crates.Dario Nieuwenhuis2023-04-061-2/+2
|
* 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).
* fix: spi transfer bug and additions to testLachezar Lechev2023-03-261-3/+23
| | | | Signed-off-by: Lachezar Lechev <[email protected]>
* chore: add spi_async tests for uneven buffersLachezar Lechev2023-03-241-4/+40
| | | | Signed-off-by: Lachezar Lechev <[email protected]>
* Add HIL test for into_buffered uart on embassy-rpMathias2023-03-141-0/+54
|
* Refactor after reviewkalkyl2022-12-131-0/+47
|
* Feature gate critical-section-implkalkyl2022-12-101-1/+1
|
* Select critical-section in testskalkyl2022-12-101-1/+1
|
* rp: add OutputOpenDrain input test.Dario Nieuwenhuis2022-12-061-3/+25
|
* Bump defmt-rtt to 0.4Dario Nieuwenhuis2022-11-291-1/+1
|
* rp/uart: use lockfree ringbuffer.Dario Nieuwenhuis2022-11-251-8/+5
| | | | This gets rid of another PeripheralMutex usage.
* Switch to async-fn-in-traitDario Nieuwenhuis2022-11-251-2/+2
|
* Add delay to flash test to allow time to parse RTT headerMathias2022-10-271-0/+7
|
* Remove unused imports from testMathias2022-10-271-1/+0
|
* Rebase on masterMathias2022-10-271-2/+2
|\
| * Update Rust nightly.Dario Nieuwenhuis2022-10-261-2/+2
| |
* | Add flash example & flash HIL testMathias2022-10-262-0/+49
|/
* all Cargo.toml: Add license to all crate Cargo.toml fileschrysn2022-10-071-0/+1
| | | | Closes: https://github.com/embassy-rs/embassy/issues/1002
* Update embedded-hal versions and explicitly pinUlf Lilleengen2022-09-291-2/+2
|
* Fix bufferedUart read and write testsMathias2022-09-271-4/+5
|
* Extend buffered-uart test to transmit 32 bytesMathias2022-09-271-2/+8
|
* rp: set correct teleprobe target for rpi-pico tests.Dario Nieuwenhuis2022-09-261-1/+1
|
* Add HIL test for bufferedUartMathias2022-09-262-0/+38
|
* rp: enable time-driver in Cargo.toml instead of ci.shDario Nieuwenhuis2022-09-261-1/+1
|
* Replace futures::future::join -> embassy_futures::join::join.Dario Nieuwenhuis2022-09-222-1/+2
|
* Cleanup examplesHenrik Alsér2022-09-012-4/+4
|
* Add HIL testsHenrik Alsér2022-09-012-0/+56
|
* Add HIL tests of DMA & UART, and correctly set DREQ for uart DMAMathias2022-08-263-0/+105
|
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-221-1/+1
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-183-4/+5
|
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-172-4/+4
|
* Update to critical-section 1.0, atomic-polyfill 1.0Dario Nieuwenhuis2022-08-171-1/+1
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-293-6/+7
|
* Add embedded_hal_async support for embassy-rpDaniel Bevenius2022-07-142-0/+149
| | | | | This commit adds support for embedded-hal-async to the Embassy Raspberry PI crate.
* rp: add GPIO HIL test.Dario Nieuwenhuis2022-07-095-0/+531