Raspberry Pi Pico UART-USB bridge
Find a file
Álvaro Fernández Rojas 206b612bae uart-bridge: improve usb_write_bytes
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>
2021-02-06 12:05:47 +01:00
.github/workflows github: add CI 2021-02-06 11:37:55 +01:00
pico-sdk@2d5789eca8 Import project files 2021-02-03 13:21:20 +01:00
.gitignore Import project files 2021-02-03 13:21:20 +01:00
.gitmodules github: add CI 2021-02-06 11:37:55 +01:00
build.sh build: automatically checkout pico-sdk 2021-02-06 11:27:34 +01:00
CMakeLists.txt uart-bridge: expose both HW UARTs 2021-02-04 09:08:41 +01:00
LICENSE.md Import project files 2021-02-03 13:21:20 +01:00
README.md Update README with multiple UARTs support 2021-02-04 09:15:03 +01:00
tusb_config.h tusb_config: refactor code 2021-02-06 11:27:34 +01:00
uart-bridge.c uart-bridge: improve usb_write_bytes 2021-02-06 12:05:47 +01:00
usb-descriptors.c usb-descriptors: refactor code 2021-02-06 11:27:34 +01:00

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