Change way of defining the reform motherboard revision before compilation
I thought there was an issue compiling the source code (see original report) but then realized I needed to uncomment a certain version of the motherboard rev. I wonder if there could be a different way of doing this, like passing some variable or using an entirely different "board" but their sources abstract from a common reform. This is just a suggestion to make it a bit more approachable for people like me who rarely touch C code, but if you don't see any value in it, then please just close the issue.
Thanks for the great work!
Original report
I get the following error when building the latest tag of the lpc firmware
src/boards/reform2/board_reform2.c: In function 'main':
src/boards/reform2/board_reform2.c:1185:9: error: 'REFORM_MOTHERBOARD_REV' undeclared (first use in this function)
1185 | if (REFORM_MOTHERBOARD_REV >= REFORM_MBREV_25_R2) {
| ^~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:404: bin/obj/board_reform2.o] Error 1
Edited by Mauro Morales