✨ Ender 3 S1 Pro/Plus stock touchscreen (#25905)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f766a90f5f
commit
b77e2a5020
@@ -545,7 +545,7 @@ static_assert(COUNT(arm) == LOGICAL_AXES, "AXIS_RELATIVE_MODES must contain " _L
|
||||
#error "You can't enable FIL_RUNOUT8_PULLUP and FIL_RUNOUT8_PULLDOWN at the same time."
|
||||
#elif FILAMENT_RUNOUT_DISTANCE_MM < 0
|
||||
#error "FILAMENT_RUNOUT_DISTANCE_MM must be greater than or equal to zero."
|
||||
#elif DISABLED(ADVANCED_PAUSE_FEATURE)
|
||||
#elif DISABLED(ADVANCED_PAUSE_FEATURE) && defined(FILAMENT_RUNOUT_SCRIPT)
|
||||
static_assert(nullptr == strstr(FILAMENT_RUNOUT_SCRIPT, "M600"), "ADVANCED_PAUSE_FEATURE is required to use M600 with FILAMENT_RUNOUT_SENSOR.");
|
||||
#endif
|
||||
#endif
|
||||
@@ -3994,6 +3994,41 @@ static_assert(_PLUS_TEST(3), "DEFAULT_MAX_ACCELERATION values must be positive."
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Require certain features for DGUS_LCD_UI E3S1PRO.
|
||||
*/
|
||||
#if DGUS_UI_IS(E3S1PRO)
|
||||
#if BUFSIZE < 4
|
||||
#error "DGUS_LCD_UI E3S1PRO requires a BUFSIZE of at least 4."
|
||||
#elif !(HOTENDS == 1)
|
||||
#error "DGUS_LCD_UI E3S1PRO requires 1 hotend."
|
||||
#elif !(EXTRUDERS == 1)
|
||||
#error "DGUS_LCD_UI E3S1PRO requires at least 1 extruder."
|
||||
#elif !HAS_HEATED_BED
|
||||
#error "DGUS_LCD_UI E3S1PRO requires a heated bed."
|
||||
#elif FAN_COUNT < 1
|
||||
#error "DGUS_LCD_UI E3S1PRO requires a fan."
|
||||
#elif !HAS_BED_PROBE
|
||||
#error "DGUS_LCD_UI E3S1PRO requires a bed probe."
|
||||
#elif !HAS_MESH
|
||||
#error "DGUS_LCD_UI E3S1PRO requires mesh leveling."
|
||||
#elif !HAS_MEDIA
|
||||
#error "DGUS_LCD_UI E3S1PRO requires SDSUPPORT."
|
||||
#elif DISABLED(POWER_LOSS_RECOVERY)
|
||||
#error "DGUS_LCD_UI E3S1PRO requires POWER_LOSS_RECOVERY."
|
||||
#elif DISABLED(LCD_BED_TRAMMING)
|
||||
#error "DGUS_LCD_UI E3S1PRO requires LCD_BED_TRAMMING."
|
||||
#elif DISABLED(BABYSTEP_ALWAYS_AVAILABLE)
|
||||
#error "DGUS_LCD_UI E3S1PRO requires BABYSTEP_ALWAYS_AVAILABLE."
|
||||
#elif DISABLED(BABYSTEP_ZPROBE_OFFSET)
|
||||
#error "DGUS_LCD_UI E3S1PRO requires BABYSTEP_ZPROBE_OFFSET."
|
||||
#elif !defined(PREHEAT_1_TEMP_HOTEND) || !defined(PREHEAT_2_TEMP_HOTEND)
|
||||
#error "DGUS_LCD_UI E3S1PRO requires 2 preheating presets."
|
||||
#elif ENABLED(AUTO_BED_LEVELING_UBL) && DISABLED(UBL_SAVE_ACTIVE_ON_M500)
|
||||
#warning "Without UBL_SAVE_ACTIVE_ON_M500, your mesh will not be saved when using the touchscreen."
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// JTAG support in the HAL
|
||||
#if ENABLED(DISABLE_DEBUG) && !defined(JTAGSWD_DISABLE)
|
||||
#error "DISABLE_DEBUG is not supported for the selected MCU/Board."
|
||||
|
Reference in New Issue
Block a user