| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove atomic-polyfill | Bjorn Beishline | 2025-11-25 | 1 | -3/+10 |
| | | |||||
| * | Remove some forgotten commented out code | Marc | 2025-05-02 | 1 | -2/+0 |
| | | |||||
| * | Removed instance from uart types | Marc | 2025-05-02 | 1 | -146/+160 |
| | | |||||
| * | BufferedUart initialization | Michael Gomez | 2025-04-04 | 1 | -2/+2 |
| | | | | | | | | This change modifies UART initialization throughout Embassy to take pins before interrupts. Related to #1304. | ||||
| * | Remove Peripheral trait, rename PeripheralRef->Peri. | Dario Nieuwenhuis | 2025-03-27 | 1 | -39/+27 |
| | | |||||
| * | Add split_ref fn to uart, allowing a mutable reference split into RX & TX ↵ | Mathias | 2024-07-17 | 1 | -2/+14 |
| | | | | | handles. Also change order of RX and TX handles in split fn, to streamline with other HALs | ||||
| * | rustfmt | rafael | 2024-07-10 | 1 | -2/+2 |
| | | |||||
| * | implement read_ready method in BufferedUart | rafael | 2024-07-10 | 1 | -0/+18 |
| | | |||||
| * | fix(embassy-rp): fix drop implementation of BufferedUartRx and BufferedUartTx | tact1m4n3 | 2024-05-17 | 1 | -68/+78 |
| | | |||||
| * | Merge branch 'embassy-rs:main' into barafael/minor_clippy_lints_rp | Rafael Bachmann | 2024-03-25 | 1 | -8/+2 |
| |\ | |||||
| | * | Fix warnings in recent nightly. | Dario Nieuwenhuis | 2024-03-20 | 1 | -8/+2 |
| | | | |||||
| * | | fix minor clippy lints in embassy_rp | Rafael Bachmann | 2024-03-18 | 1 | -2/+2 |
| |/ | |||||
| * | docs: document all embassy-rp public apis | Ulf Lilleengen | 2023-12-19 | 1 | -0/+1 |
| | | | | | Enable missing doc warnings. | ||||
| * | docs: embassy-rp rustdoc and refactoring | Ulf Lilleengen | 2023-12-19 | 1 | -0/+20 |
| | | |||||
| * | Remove nightly and unstable-traits features in preparation for 1.75. | Dario Nieuwenhuis | 2023-11-29 | 1 | -87/+78 |
| | | |||||
| * | time: Update examples, tests, and other code to use new Timer::after_x ↵ | Adam Greig | 2023-10-15 | 1 | -2/+2 |
| | | | | | 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 | 1 | -23/+3 |
| | | |||||
| * | Update to embedded-io 0.5 (#1752) | Dario Nieuwenhuis | 2023-08-07 | 1 | -13/+13 |
| | | |||||
| * | Rename embassy-hal-common to embassy-hal-internal, document it's for ↵ | Dario Nieuwenhuis | 2023-07-28 | 1 | -1/+1 |
| | | | | | internal use only. (#1700) | ||||
| * | rp: update rp-pac. | Dario Nieuwenhuis | 2023-06-16 | 1 | -144/+125 |
| | | |||||
| * | Make interrupt module more standard. | Dario Nieuwenhuis | 2023-06-08 | 1 | -3/+3 |
| | | | | | | | | | | | | | - 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 | 1 | -7/+7 |
| | | |||||
| * | rp: remove take!, add bind_interrupts! | pennae | 2023-05-15 | 1 | -100/+109 |
| | | |||||
| * | Fix some typos | Dirk Stolle | 2023-05-08 | 1 | -1/+1 |
| | | |||||
| * | rp/uart: report errors from dma receive | pennae | 2023-05-01 | 1 | -1/+1 |
| | | |||||
| * | 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 | 1 | -12/+12 |
| | | | | | we'll add a dma state soon as well. | ||||
| * | rp/uart: add set-break functions | pennae | 2023-05-01 | 1 | -0/+47 |
| | | | | | | | | 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. | ||||
| * | Remove the _todo_embedded_hal_serial impls. EH will probably not have these ↵ | Dario Nieuwenhuis | 2023-04-15 | 1 | -55/+0 |
| | | | | | serial traits. | ||||
| * | 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 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 |
| | | |||||
| * | Allow upgrading a blocking uart to a BufferedUart, and implement blocking ↵ | Mathias | 2023-03-14 | 1 | -49/+291 |
| | | | | | serial traits for BufferedUart | ||||
| * | rp: Fix formatting string to please CI | Timo Kröger | 2023-01-05 | 1 | -1/+1 |
| | | |||||
| * | rp: Improve BufferedUart interrupt handling | Timo Kröger | 2023-01-05 | 1 | -21/+58 |
| | | | | | | | * Only clear interrupt flags that have fired (so that we do not lose any error flags) * Enable RX interrupt when a read is requested, disable it when the RX buffer is full * Rework TX interrupt handling: its "edge" triggered by a FIFO threshold | ||||
| * | rp: Disable RX interrupts when ring buffer is full | Timo Kröger | 2023-01-04 | 1 | -52/+35 |
| | | | | | | | | | When data is in the RX fifo the RX timeout interrupt goes high again even after clearing it. The result is a deadlock because execution is stuck in the interrupt handler. No other code can run to clear the receive buffer. Enable and disable RX interrupts based on the buffer fill level. Use the same approach for the TX code path. | ||||
| * | rp: Fix BufferedUart drop code | Timo Kröger | 2023-01-04 | 1 | -25/+26 |
| | | | | | Only unregister the interrupt handler when both parts are inactive | ||||
| * | rp: Common init function for BufferedUart | Timo Kröger | 2023-01-04 | 1 | -122/+64 |
| | | | | | BufferedUart, BufferedUartRx and BufferedUartTX can all use the same init code. | ||||
| * | rp: Fill and empty FIFOs in buffered uart interrupt | Timo Kröger | 2022-12-27 | 1 | -10/+28 |
| | | | | | | Fixes an issue where only the first byte was transmitted. Should improve throughput aswell. | ||||
| * | embassy-rp: Add split() to BufferedUart | kalkyl | 2022-12-22 | 1 | -0/+7 |
| | | |||||
| * | rp/uart: use lockfree ringbuffer. | Dario Nieuwenhuis | 2022-11-25 | 1 | -314/+342 |
| | | | | | This gets rid of another PeripheralMutex usage. | ||||
| * | Switch to async-fn-in-trait | Dario Nieuwenhuis | 2022-11-25 | 1 | -43/+17 |
| | | |||||
| * | Update Rust nightly. | Dario Nieuwenhuis | 2022-10-26 | 1 | -8/+8 |
| | | |||||
| * | Fix bufferedUart read and write tests | Mathias | 2022-09-27 | 1 | -48/+40 |
| | | |||||
| * | Rename from {Rx,Tx}BufferedUart to BufferedUart{Rx,Tx} to be compliant with ↵ | Mathias | 2022-09-27 | 1 | -13/+13 |
| | | | | | stm32 and nrf implementations | ||||
| * | Add HIL test for bufferedUart | Mathias | 2022-09-26 | 1 | -2/+1 |
| | | |||||
| * | Remove code-duplication in async bufferedUart implementations | Mathias | 2022-09-21 | 1 | -126/+89 |
| | | |||||
