reform

MNT Reform: Open Source Portable Computer
Log (Feed) | Files | Refs (Tags) | README

commit 24ea7cd81916ab12dba6b0f9a5f5262aa820a490
parent 932aaf28ef709f7cdc797d498eefee2da47a25f9
Author: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
Date:   Mon,  6 Nov 2023 07:39:07 +0100

reform2-lpc-fw: write out descriptive error if REFORM_MOTHERBOARD_REV is missing

Diffstat:
Mreform2-lpc-fw/src/boards/reform2/board_reform2.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/reform2-lpc-fw/src/boards/reform2/board_reform2.c b/reform2-lpc-fw/src/boards/reform2/board_reform2.c @@ -43,6 +43,10 @@ // if you have a motherboard made before 2023 (2.0 R-3): //#define REFORM_MOTHERBOARD_REV REFORM_MBREV_20_R3 +#ifndef REFORM_MOTHERBOARD_REV +# error You must have REFORM_MOTHERBOARD_REV set to the firmware you intend to build +#endif + //#define REF2_DEBUG 1 #define FW_STRING1 "MREF2LPC" #if REFORM_MOTHERBOARD_REV == 2