Installation
You need a Pimoroni Galactic Unicorn with a Raspberry Pi Pico 2 W (the RP2350 version) and a USB cable.
Web installer
Open the installer in Chrome or Edge: they can talk to USB devices (WebUSB), so there's nothing to install.
- Plug the board into your computer and click Connect a board.
- Click Flash firmware. The board restarts into its boot mode, and the browser asks once more: pick RP2350 Boot.
- It erases, writes and checks, then the board starts again with the new firmware. Settings stay as they are.
A board that doesn't run magicbar yet: unplug it, hold its BOOTSEL button (on the Pico, at the back) while plugging it in again, then choose My board doesn't run magicbar yet.
Command line
The magicbar command flashes and sets up boards over USB, and reaches them
through a server. For now, build it from source (releases are coming):
$ rustup target add thumbv8m.main-none-eabihf
$ cargo install --git https://github.com/xfbs/magicbar magicbar-cli --features flash
$ magicbar usb flash
$ magicbar usb setup
setup joins Wi-Fi and sets the clock and time zone from your computer.
magicbar usb settings lists every setting; magicbar --help the rest.
Through a server
A server lets you reach the board from anywhere. Point the board at one (over USB), then log in:
$ magicbar usb server set api.magicbar.org <KEY>
$ magicbar login desk 7Q2K-M9XD-4H6P
$ magicbar desk info
The login code is on the Network app's last screen; the board asks you to hold C
to let the login in. Plugged in, magicbar usb login desk logs in without a code.