Skip to content

Conversation

@drosseau
Copy link

This is a much simpler version of #1009 , but it still depends on #1010. Re-opening this pull request before I forget. I've tested this a few times alongside the JTAGulator and they both have similar results. If #1010 isn't accepted I can update this to use whatever scheme is proposed instead of that.

Adds a uart-pinout applet that functions similar to the JTAGulator
implementation for determining UART pinouts. Essentially this just sends data
to the selected pins at various baud rates and looks for an echo.  The default
just sends a carriage return (0x0d) if no data is set, but the user can send
arbitrary binary data up to 0xFF bytes long.

The previous `UART` implementation required being connected to physical
pins, but this change allows specifying an arbitrary `UARTBus`
implementation for `UART`s that make no assumptions about what they're
connected to.
Adds a uart-pinout applet that functions similar to the JTAGulator
implementation for determining UART pinouts. Essentially this just sends
data to the selected pins at various baud rates and looks for an echo.
The default just sends a carriage return (0x0d) if no data is set, but
the user can send arbitrary binary data up to 0xFF bytes long.
@whitequark whitequark added the waiting-on-review Status: Waiting for review label Oct 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-on-review Status: Waiting for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants