Greetings,
I get the following errors when trying to compile Marlin in VS Code
I've checked the `Marlin->src->core->macros.h` file and there's no sign of a define for EITHER
Anyone any ideas on how to fix this issue?
I get the following errors when trying to compile Marlin in VS Code
Processing mega2560 (board: megaatmega2560; platform: atmelavr@~4.0.1; framework: arduino) -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option In file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:39:0, from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28, from buildroot/share/PlatformIO/scripts/common-dependencies.h:29: buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:284:11: error: missing binary operator before token "(" #if EITHER(PARKING_EXTRUDER, MAGNETIC_PARKING_EXTRUDER) ^ buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:991:11: error: missing binary operator before token "(" #if EITHER(MORGAN_SCARA, MP_SCARA) ^ buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:1798:11: error: missing binary operator before token "(" #if EITHER(MIN_SOFTWARE_ENDSTOPS, MAX_SOFTWARE_ENDSTOPS) ^ buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:2000:11: error: missing binary operator before token "(" #if EITHER(AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR) ^ In file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:39:0, from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28, from buildroot/share/PlatformIO/scripts/common-dependencies.h:29: buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:3047:11: error: missing binary operator before token "(" #if EITHER(ANYCUBIC_LCD_I3MEGA, ANYCUBIC_LCD_CHIRON) ^ buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:3335:11: error: missing binary operator before token "(" #if EITHER(RGB_LED, RGBW_LED) ^ Error: Failed to parse Marlin features. See previous error messages.
I've checked the `Marlin->src->core->macros.h` file and there's no sign of a define for EITHER
Anyone any ideas on how to fix this issue?