commit 6ee0601d324b7933dc1fb73749efca13a3b17e02 parent 3274fc6acfd1dde111ec6b2d46c12da07bdcdf6f Author: Lukas F. Hartmann <lukas@mntre.com> Date: Wed, 6 Sep 2023 14:34:17 +0200 lpc: don't assume mb revision Diffstat:
M | reform2-lpc-fw/src/boards/reform2/board_reform2.c | | | 12 | ++++++------ |
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/reform2-lpc-fw/src/boards/reform2/board_reform2.c b/reform2-lpc-fw/src/boards/reform2/board_reform2.c @@ -37,13 +37,13 @@ #define REFORM_MBREV_20_R3 13 // R2 with "NTC instead of RNG/SS" fix #define REFORM_MBREV_25_R2 25 // motherboard 2.5 -#define REFORM_MOTHERBOARD_REV REFORM_MBREV_25_R2 - // don't forget to set this to the correct rev for your motherboard! -#ifndef REFORM_MOTHERBOARD_REV -# define REFORM_MOTHERBOARD_REV REFORM_MBREV_20_R3 -#endif -#define REF2_DEBUG 1 +// if you have a motherboard made in 2023 (2.5 R-2): +//#define REFORM_MOTHERBOARD_REV REFORM_MBREV_25_R2 +// if you have a motherboard made before 2023 (2.0 R-3): +//#define REFORM_MOTHERBOARD_REV REFORM_MBREV_20_R3 + +//#define REF2_DEBUG 1 #define FW_STRING1 "MREF2LPC" #if REFORM_MOTHERBOARD_REV == 2 # define FW_STRING2 "D2"