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.
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 GPIO | Function |
|---|---|
| GPIO16 (Pin 21) | UART0 TX |
| GPIO17 (Pin 22) | UART0 RX |
| GPIO4 (Pin 6) | UART1 TX |
| GPIO5 (Pin 7) | UART1 RX |
Prerequisites:
- CMake
- ARM GCC toolchain (e.g.
arm-none-eabi-gcc) - Python 3
Build steps:
- Initialize submodules if you haven't already:
git submodule update --init --recursive
- Run the build script (defaults to Pico 1):
./build.sh
The .uf2 output will be created at build/uart_bridge.uf2.
Board override:
- To build for Pico 2, set
PICO_BOARD:PICO_BOARD=pico2 ./build.sh