dotcypress / usb2sbus

RP2040 USB to SBUS bridge

Repository from Github https://github.comdotcypress/usb2sbusRepository from Github https://github.comdotcypress/usb2sbus

RP2040 USB to SBUS bridge

Pinout

  • GPIO0 - SBUS TX
  • GPIO1 - SBUS RX

Building firmware

  1. Install rustup by following the instructions at https://rustup.rs
  2. Install Cortex-M0, M0+, and M1 (ARMv6-M architecture) target: rustup target add thumbv6m-none-eabi
  3. Install LLVM tools: rustup component add llvm-tools-preview
  4. Install cargo-binutils: cargo install cargo-binutils (Note: on some Linux distros (e.g. Ubuntu) you may need to install the packages build-essential, gcc-arm-none-eabi, libssl-dev and pkg-config prior to installing cargo-binutils)
  5. Install elf2uf2: cargo install elf2uf2-rs
  6. Clone this repo: git clone git@github.com:dotcypress/usb2sbus.git && cd usb2sbus
  7. Hold the BOOTSEL button while connecting your board to the computer
  8. Flash microcontroller: cargo run --release

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

RP2040 USB to SBUS bridge

License:Apache License 2.0


Languages

Language:Rust 97.2%Language:Linker Script 2.8%