rhapsodyv / Marlin

Optimized firmware for RepRap 3D printers based on the Arduino platform.
http://marlinfw.org
GNU General Public License v3.0
82 stars 428 forks source link

Not compiling for XY-3se #55

Open bstabens opened 10 months ago

bstabens commented 10 months ago

Trying to compile marlin software for the XY-3SE. This is what I get: PIO Core Call Error: "Processing chitu_f103 (board: genericSTM32F103ZE; platform: ststm32@~12.1; framework: arduino)\n--------------------------------------------------------------------------------\nVerbose mode can be enabled via-v, --verboseoption\n\n\n\nIn file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:39,\n from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,\n from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:561:11: error: missing binary operator before token \"(\"\n 561 | #if EITHER(PARKING_EXTRUDER, MAGNETIC_PARKING_EXTRUDER)\n | ^\nIn file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:39,\n from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,\n from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:1709:11: error: missing binary operator before token \"(\"\n 1709 | #if EITHER(MIN_SOFTWARE_ENDSTOPS, MAX_SOFTWARE_ENDSTOPS)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:1896:11: error: missing binary operator before token \"(\"\n 1896 | #if EITHER(AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR)\n | ^\nIn file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:39,\n from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,\n from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:2863:11: error: missing binary operator before token \"(\"\n 2863 | #if EITHER(ANYCUBIC_LCD_I3MEGA, ANYCUBIC_LCD_CHIRON)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:3042:11: error: missing binary operator before token \"(\"\n 3042 | #if BOTH(TOUCH_SCREEN_CALIBRATION, EEPROM_SETTINGS)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:3148:11: error: missing binary operator before token \"(\"\n 3148 | #if EITHER(RGB_LED, RGBW_LED)\n | ^\nIn file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:56,\n from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,\n from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:245:11: error: missing binary operator before token \"(\"\n 245 | #if BOTH(ADAPTIVE_FAN_SLOWING, PIDTEMP)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1109:11: error: missing binary operator before token \"(\"\n 1109 | #if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1138:11: error: missing binary operator before token \"(\"\n 1138 | #if EITHER(IS_ULTIPANEL, EXTENSIBLE_UI)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1228:15: error: missing binary operator before token \"(\"\n 1228 | #if EITHER(HAS_MARLINUI_U8GLIB, TFT_COLOR_UI)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1246:11: error: missing binary operator before token \"(\"\n 1246 | #if EITHER(SDSUPPORT, LCD_SET_PROGRESS_MANUALLY) && ANY(HAS_MARLINUI_U8GLIB, HAS_MARLINUI_HD44780, IS_TFTGLCD_PANEL, EXTENSIBLE_UI)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1864:11: error: missing binary operator before token \"(\"\n 1864 | #if EITHER(AUTO_BED_LEVELING_3POINT, AUTO_BED_LEVELING_UBL)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1899:11: error: missing binary operator before token \"(\"\n 1899 | #if EITHER(MESH_BED_LEVELING, AUTO_BED_LEVELING_UBL)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1907:9: error: missing binary operator before token \"(\"\n 1907 | #if BOTH(AUTO_BED_LEVELING_UBL, EEPROM_SETTINGS)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:2092:9: error: missing binary operator before token \"(\"\n 2092 | #if BOTH(SDSUPPORT, DIRECT_STEPPING)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:3169:11: error: missing binary operator before token \"(\"\n 3169 | #if EITHER(SPINDLE_FEATURE, LASER_FEATURE)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:3868:11: error: missing binary operator before token \"(\"\n 3868 | #if EITHER(WIFISUPPORT, ESP3D_WIFISUPPORT)\n | ^\nError: Failed to parse Marlin features. See previous error messages.\n========================== [FAILED] Took 0.80 seconds ==========================\nEnvironment Status Duration\n------------- -------- ------------\nchitu_f103 FAILED 00:00:00.799\n==================== 1 failed, 0 succeeded in 00:00:00.799 ====================" Trying to compile with Platform.io in Visual Code.