greatscottgadgets / apollo

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

firmware: Add support for hardware revision detection #32

Closed mndza closed 2 months ago

mndza commented 8 months ago

This PR adds support for performing optional board-specific revision detection at startup.

It also adds Cynthion-specific code for reading the pin straps. This feature only works for Cynthion revisions >=0.6.