3c31236c10
rp: remove leftovers from #1414
...
forgot to remove these when they were no longer necessary or useful. oops.
2023-05-02 07:40:12 +02:00
b58b9ff390
rp/uart: report errors from dma receive
2023-05-01 15:36:53 +02:00
861f49cfd4
rp/uart: report errors from buffered uart
...
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.
2023-05-01 15:32:58 +02:00
1c8492bab2
tests/rp: test error conditions for uart
2023-05-01 15:22:56 +02:00
bcbe3040a1
tests/rp: fix buffered uart test
...
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.
2023-05-01 13:00:40 +02:00
a4866ad278
rp: add PWM api
2023-04-23 22:49:15 +02:00
fdd6e08ed6
rp: hook up softfloat rom intrinsics
...
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.
2023-04-19 23:04:47 +02:00
7be63b3468
fix: spi transfer bug and additions to test
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com >
2023-03-26 18:14:17 +03:00
cd2f28d2ab
chore: add spi_async tests for uneven buffers
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com >
2023-03-24 12:14:38 +02:00
89a371d10c
Add HIL test for into_buffered uart on embassy-rp
2023-03-14 12:46:58 +01:00
13d9d8fde1
Refactor after review
2022-12-13 13:49:51 +01:00
54c153673d
rp: add OutputOpenDrain input test.
2022-12-06 21:09:27 +01:00
7b838d0336
rp/uart: use lockfree ringbuffer.
...
This gets rid of another PeripheralMutex usage.
2022-11-25 22:30:47 +01:00
bc21b6efaf
Add delay to flash test to allow time to parse RTT header
2022-10-27 12:49:20 +02:00
a7b90c7fb6
Remove unused imports from test
2022-10-27 11:36:46 +02:00
80e58426fc
Add flash example & flash HIL test
2022-10-26 12:24:04 +02:00
e129a97d48
Fix bufferedUart read and write tests
2022-09-27 07:45:10 +02:00
93354b812c
Extend buffered-uart test to transmit 32 bytes
2022-09-27 05:54:31 +02:00
f76444bdc4
Add HIL test for bufferedUart
2022-09-26 20:34:55 +02:00
10d1ad2343
Replace futures::future::join -> embassy_futures::join::join.
2022-09-22 16:48:35 +02:00
9ff5c50774
Cleanup examples
2022-09-01 15:12:44 +02:00
7954cbc4e7
Add HIL tests
2022-09-01 15:12:44 +02:00
bd27b9080f
Add HIL tests of DMA & UART, and correctly set DREQ for uart DMA
2022-08-26 12:55:15 +02:00
5daa173ce4
Split embassy-time from embassy-executor.
2022-08-18 01:22:30 +02:00
fc6e1e06b3
Remove HAL initialization from #[embassy::main] macro.
2022-08-17 22:16:46 +02:00
a0f1b0ee01
Split embassy crate into embassy-executor, embassy-util.
2022-07-29 23:40:36 +02:00
8979959dd1
Add embedded_hal_async support for embassy-rp
...
This commit adds support for embedded-hal-async to the Embassy
Raspberry PI crate.
2022-07-14 13:52:22 +02:00
ccf57cfab6
rp: add GPIO HIL test.
2022-07-09 02:14:30 +02:00