greatscottgadgets / apollo

microcontroller-based FPGA / JTAG programmer
BSD 3-Clause "New" or "Revised" License
61 stars 29 forks source link

Support static bitmasks as LED patterns #23

Closed martinling closed 6 months ago

martinling commented 1 year ago

This PR allows static bitmasks to be applied to the LEDs, as well as dynamic blink patterns.

Conveniently, none of the existing blink patterns have enum values of less than the maximum bitmask.

Required for Cynthion factory test.

mossmann commented 11 months ago

Please add documentation (at least code comments) explaining meaning of the pattern argument.