mirror of
https://github.com/Noltari/pico-uart-bridge.git
synced 2024-12-28 18:26:05 +00:00
206b612bae
tud_cdc_n_write() may not be able to write the full buffer, so we need to handle that by moving the remaining bytes in the buffer to the buffer start. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> |
||
---|---|---|
.github/workflows | ||
pico-sdk@2d5789eca8 | ||
.gitignore | ||
.gitmodules | ||
build.sh | ||
CMakeLists.txt | ||
LICENSE.md | ||
README.md | ||
tusb_config.h | ||
uart-bridge.c | ||
usb-descriptors.c |
Raspberry Pi Pico USB-UART Bridge
This program bridges the Raspberry Pi Pico HW UARTs to two independent USB CDC serial devices in order to behave like any other USB-to-UART Bridge controllers.
Disclaimer
This software is provided without warranty, according to the MIT License, and should therefore not be used where it may endanger life, financial stakes, or cause discomfort and inconvenience to others.
Raspberry Pi Pico Pinout
Raspberry Pi Pico GPIO | Function |
---|---|
GPIO0 (Pin 1) | UART0 TX |
GPIO1 (Pin 2) | UART0 RX |
GPIO4 (Pin 6) | UART1 TX |
GPIO5 (Pin 7) | UART1 RX |