| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Use saturating_sub to make sure we don't overflow | Jomer.Dev | 2024-01-29 | 1 | -2/+2 |
| | | |||||
| * | A rebase ate my doc comment! | James Munns | 2024-01-19 | 1 | -0/+4 |
| | | |||||
| * | Fun Learning about the RP2040 UART impl! | James Munns | 2024-01-19 | 1 | -40/+41 |
| | | |||||
| * | Debugging RSR | James Munns | 2024-01-19 | 1 | -48/+80 |
| | | |||||
| * | A little more cleanup | James Munns | 2024-01-19 | 1 | -1/+4 |
| | | |||||
| * | Update with more docs and less panics | James Munns | 2024-01-19 | 1 | -23/+95 |
| | | |||||
| * | Add a basic "read to break" function | James Munns | 2024-01-19 | 1 | -0/+88 |
| | | |||||
| * | docs: document all embassy-rp public apis | Ulf Lilleengen | 2023-12-19 | 2 | -1/+3 |
| | | | | | Enable missing doc warnings. | ||||
| * | docs: document spi, rtc and rest of uart for embassy-rp | Ulf Lilleengen | 2023-12-19 | 1 | -2/+46 |
| | | |||||
| * | docs: embassy-rp rustdoc and refactoring | Ulf Lilleengen | 2023-12-19 | 2 | -0/+24 |
| | | |||||
| * | Fix nb on rp uart | James Munns | 2023-12-18 | 1 | -3/+5 |
| | | |||||
| * | Remove nightly and unstable-traits features in preparation for 1.75. | Dario Nieuwenhuis | 2023-11-29 | 2 | -217/+192 |
| | | |||||
| * | time: Update examples, tests, and other code to use new Timer::after_x ↵ | Adam Greig | 2023-10-15 | 2 | -4/+4 |
| | | | | | convenience methods | ||||
| * | Remove a few ultra-verbose logs. | Dario Nieuwenhuis | 2023-10-03 | 1 | -2/+0 |
| | | | | | | | They're heavily spamming logs for HIL tests, and I don't believe they're valuable now that the thing they helped debug in their young age is now solid and mature. | ||||
| * | Update embedded-hal to 1.0.0-rc.1 (#1783) | Dario Nieuwenhuis | 2023-08-16 | 2 | -52/+12 |
| | | |||||
| * | Update to embedded-io 0.5 (#1752) | Dario Nieuwenhuis | 2023-08-07 | 1 | -13/+13 |
| | | |||||
| * | rp: rename gpio::Pin::io to gpio::Pin::gpio | pennae | 2023-07-31 | 1 | -4/+4 |
| | | | | | | | we'll need access to the pin io bank registers for an upcoming fix, and having both `io` and `io_bank` or similar can get confusing quickly. rename `io` to `gpio` to avoid this, and also match the type while there. | ||||
| * | Rename embassy-hal-common to embassy-hal-internal, document it's for ↵ | Dario Nieuwenhuis | 2023-07-28 | 2 | -2/+2 |
| | | | | | internal use only. (#1700) | ||||
| * | rp: update rp-pac. | Dario Nieuwenhuis | 2023-06-16 | 2 | -309/+267 |
| | | |||||
| * | Make interrupt module more standard. | Dario Nieuwenhuis | 2023-06-08 | 2 | -8/+8 |
| | | | | | | | | | | | | | - Move typelevel interrupts to a special-purpose mod: `embassy_xx::interrupt::typelevel`. - Reexport the PAC interrupt enum in `embassy_xx::interrupt`. This has a few advantages: - The `embassy_xx::interrupt` module is now more "standard". - It works with `cortex-m` functions for manipulating interrupts, for example. - It works with RTIC. - the interrupt enum allows holding value that can be "any interrupt at runtime", this can't be done with typelevel irqs. - When "const-generics on enums" is stable, we can remove the typelevel interrupts without disruptive changes to `embassy_xx::interrupt`. | ||||
| * | cortex-m: remove owned interrupts. | Dario Nieuwenhuis | 2023-06-01 | 2 | -15/+13 |
| | | |||||
| * | Fix return definition | Alpha3__0 | 2023-05-25 | 1 | -2/+2 |
| | | |||||
| * | Implement eh 0.2.* serial::Write for Uart/UartTx | Alpha3__0 | 2023-05-25 | 1 | -0/+38 |
| | | |||||
| * | rp: remove take!, add bind_interrupts! | pennae | 2023-05-15 | 2 | -141/+169 |
| | | |||||
| * | Fix some typos | Dirk Stolle | 2023-05-08 | 2 | -3/+3 |
| | | |||||
| * | rp: remove leftovers from #1414 | pennae | 2023-05-02 | 1 | -5/+3 |
| | | | | | forgot to remove these when they were no longer necessary or useful. oops. | ||||
| * | rp/uart: report errors from dma receive | pennae | 2023-05-01 | 2 | -14/+139 |
| | | |||||
| * | rp/uart: extract fifo draining from blocking_read | pennae | 2023-05-01 | 1 | -23/+27 |
| | | | | | this will also be needed for dma operations. | ||||
| * | rp/uart: make dma multicore-safe | pennae | 2023-05-01 | 1 | -2/+2 |
| | | | | | | running rx and tx on different cores could lead to hangs if the dmacr register modifys run concurrently. this is bad. | ||||
| * | rp/uart: report errors from buffered uart | pennae | 2023-05-01 | 1 | -14/+72 |
| | | | | | | | | | | 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. | ||||
| * | rp/uart: extract common code from async and blocking buffered reads | pennae | 2023-05-01 | 1 | -47/+39 |
| | | | | | | once we add error propagation the common code will become even larger, so it makes sense to move it out. | ||||
| * | rp/uart: rename state to buffered_state | pennae | 2023-05-01 | 2 | -14/+14 |
| | | | | | we'll add a dma state soon as well. | ||||
| * | rp/uart: add set-break functions | pennae | 2023-05-01 | 2 | -1/+95 |
| | | | | | | | | sending break conditions is necessary to implement some protocols, and the hardware supports this natively. we do have to make sure that we don't assert a break condition while the uart is busy though, otherwise the break may be inserted before the last character in the tx fifo. | ||||
| * | rp/uart: add UartRx::new_blocking | pennae | 2023-05-01 | 1 | -0/+10 |
| | | |||||
| * | Merge #1378 | bors[bot] | 2023-04-18 | 1 | -6/+47 |
| |\ | | | | | | | | | | | | | | | | | | | 1378: Add ability to invert UART pins, take 2 r=Dirbaio a=jakewins Same PR as before, except this now works :) There was a minor hiccup in the UartRx code where the rx pin got passed as the tx argument, so the invert settings didn't get applied. With this fix, my local setup at least is happily reading inverted uart data. Co-authored-by: Jacob Davis-Hansson <[email protected]> | ||||
| | * | Pass rx pin to right init arg | Jacob Davis-Hansson | 2023-04-18 | 1 | -7/+23 |
| | | | |||||
| | * | outover instead of inover | Jacob Davis-Hansson | 2023-04-15 | 1 | -3/+3 |
| | | | |||||
| | * | Add ability to invert UART pins | Jacob Davis-Hansson | 2023-04-14 | 1 | -4/+29 |
| | | | | | | | | | | | | | This is useful in some cases where the surrounding circuit for some reason inverts the UART signal, for instance if you're talking to a device via an optocoupler. | ||||
| * | | Remove the _todo_embedded_hal_serial impls. EH will probably not have these ↵ | Dario Nieuwenhuis | 2023-04-15 | 2 | -110/+0 |
| |/ | | | | serial traits. | ||||
| * | Merge #1318 | bors[bot] | 2023-04-02 | 1 | -0/+16 |
| |\ | | | | | | | | | | | | | | | | | | | 1318: rp: Allow zero len reads for buffered uart r=Dirbaio a=timokroeger Prevents the read methods from getting stuck forever. cc `@MathiasKoch` can you test if this fixes the problem you described in the chat? Co-authored-by: Timo Kröger <[email protected]> | ||||
| | * | rp: Allow zero len writes for buffered uart | Timo Kröger | 2023-04-02 | 1 | -0/+8 |
| | | | | | | | | | Prevents the write methods from getting stuck forever. | ||||
| | * | rp: Allow zero len reads for buffered uart | Timo Kröger | 2023-04-01 | 1 | -0/+8 |
| | | | | | | | | | Prevents the read methods from getting stuck forever. | ||||
| * | | Fix set_baudrate on RP-PICO | Thierry Fleury | 2023-04-01 | 1 | -4/+4 |
| |/ | |||||
| * | Fix return type for EH-nb traits | Mathias | 2023-03-23 | 1 | -4/+4 |
| | | |||||
| * | Add embedded-io blocking Read + Write for BufferedUart | Mathias | 2023-03-23 | 1 | -10/+56 |
| | | |||||
| * | Add HIL test for into_buffered uart on embassy-rp | Mathias | 2023-03-14 | 1 | -2/+1 |
| | | |||||
| * | Allow upgrading a blocking uart to a BufferedUart, and implement blocking ↵ | Mathias | 2023-03-14 | 2 | -50/+340 |
| | | | | | serial traits for BufferedUart | ||||
| * | RP-PICO UART adding set_baudrate: missing to run rust-fmt | Andres Hurtado Lopez | 2023-02-26 | 1 | -14/+10 |
| | | |||||
| * | RP-PICO UART adding set_baudrate: Changing static call from specific type to ↵ | Andres Hurtado Lopez | 2023-02-26 | 1 | -2/+2 |
| | | | | | a Self (requires adding lifetime specifier) | ||||
| * | RP-PICO UART adding set_baudrate: refactoring of methods | Andres Hurtado Lopez | 2023-02-26 | 1 | -28/+23 |
| | | |||||
