Skip to content

Noltari/pico-uart-bridge

Repository files navigation

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
GPIO16 (Pin 21) UART0 TX
GPIO17 (Pin 22) UART0 RX
GPIO4 (Pin 6) UART1 TX
GPIO5 (Pin 7) UART1 RX

Build for Raspberry Pi Pico / Pico 2

Prerequisites:

  • CMake
  • ARM GCC toolchain (e.g. arm-none-eabi-gcc)
  • Python 3

Build steps:

  1. Initialize submodules if you haven't already:
    • git submodule update --init --recursive
  2. 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

About

Raspberry Pi Pico UART-USB bridge

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •