WebUSB NeoPixel Controller
✨ WebUSB NeoPixel Controller for RP2040 based hardware.
Installation
- Connect NeoPixel data pin to RP2040 GPIO12 pin.
- Download latest firmware build from Releases page
- Hold the BOOTSEL button while connecting your board to the computer
- Copy firmware file downloaded earlier to the RPi-RP2 disk
- Go to https://neopixel-webusb.vercel.app
- Enjoy
Building firmware
- Install rustup by following the instructions at https://rustup.rs
- Install Cortex-M0, M0+, and M1 (ARMv6-M architecture) target:
rustup target add thumbv6m-none-eabi
- Install LLVM tools:
rustup component add llvm-tools-preview
- 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) - Install elf2uf2:
cargo install elf2uf2-rs
- Clone this repo:
git clone git@github.com:dotcypress/neopixel-webusb.git && cd neopixel-webusb
- Hold the BOOTSEL button while connecting your board to the computer
- Flash microcontroller:
cargo run --release
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.