TC66C custom firmware

A clean-room replacement firmware for the RuiDeng TC66C USB-C power meter, written in no_std Rust for its GD32F150 microcontroller. It self-flashes over USB, emulates a ChargerLAB POWER-Z KM003C so the mainline Linux powerz driver binds to it, and triggers fast-charge protocols on command from a PC.

Write-up • GitHub