Skip to content

v0.1.0

Choose a tag to compare

@Inriconus Inriconus released this 20 Sep 20:15
· 38 commits to main since this release

Firmware for an nRF52840 puck: a Steam Controller in over Valve's own RF
protocol, a Pro Controller out over USB to a Switch 2, and a BLE wake for a
sleeping console.

Flashing

Check the SoftDevice first. Open INFO_UF2.TXT on the board's bootloader
drive and confirm it reads SoftDevice: S140 version 6.1.1. The README explains
what happens if it does not, and how to restore it.

  • switch2_ll.uf2: copy onto the NICENANO drive. Double-tap reset to get
    there. The drive disappears and the board reboots as the puck.
  • switch2_ll.zip: the same firmware as a serial-DFU package, for a board
    sitting in serial DFU with adafruit-nrfutil.

In this release

  • Steam Controller over RF, presented to the console as a Pro Controller:
    buttons, both sticks, motion, rumble, and the right trackpad as a mouse.
  • Hold QAM to wake a sleeping Switch 2 over BLE, then straight back to RF.
  • Chimes on the controller's haptics before a wake, and before a USB-mode
    switch. Notes, lengths, per-note haptic and volume are all editable.
  • A config page served by the puck itself in dongle mode, over WebSerial in
    Chrome or Edge.

Building it yourself

Built against nRF Connect SDK v3.4.0, with the link-layer patch in patches/
applied to the SDK's Zephyr tree. Firmware built without that patch never
completes a connection to the console.

A rebuild of this tag reproduces switch2_ll.uf2 byte for byte. The .zip
will differ: adafruit-nrfutil writes a fresh manifest and archive timestamps
on every run, around the same firmware image.

SHA-256

cd293f2dbca77e69c755a5bd80cd4ae1bc5640a84f7001f238e02d3c187ccf5c  switch2_ll.uf2
03531dbf997bd8e8841a942549dcc37b80721d81afd7c00c78409fa64ab34ec0  switch2_ll.zip