This is the custom LED firmware that goes along with the custom QMK firmware for Anne Pro 2.
This firmware is still in early development. And will probably, but it provides the flexibility for creating custom effects.
Warning: This will not work with the Obins Stock firmware
init/update git submodules with according versions:
- chibios:
commit 313416b8fda90d9973a749a0a35970956852c286 (HEAD, tag: ver19.1.3, tag: breaking_2020_q1) - chibios-contrib:
commit ec9aec1231a9d43e4304c8158a49e42785811854 (HEAD, origin/feat-ht32_support)
To build both C15 and C18 versions run
make
to build just C15 run
make C15
to build just C18 run
make C18
The resulting .bin
files will be in the build
directory
named annepro2-shine-C15.bin
and annepro2-shine-C18.bin
respectively
You can debug the chip using jlink debugger or, in a limited way using a Black Magic Probe (BMP) debugger - which can be flashed onto a cheap and available STM evaluation boards.
LED chip is to the left from the spacebar switch and has 5 pads to solder the SWD port, from the left: Unused?, reset, ground, clk, io.
BMP can stop the program and investigate the current variables, but can't set breakpoints or step.
Thanks to @Stanley00 on the Anne Pro Dev discord for implementing the key mapping for the C18 revision, and @Rusty for mapping out the physical connection.