STM32F103RE_creality 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for STM32F103RE_creality
  4. #
  5. # exit on first failure
  6. set -e
  7. #
  8. # Build with configs included in the PR
  9. #
  10. use_example_configs "Creality/Ender-3 V2/CrealityV422/CrealityUI"
  11. opt_enable MARLIN_DEV_MODE BUFFER_MONITORING BLTOUCH AUTO_BED_LEVELING_BILINEAR Z_SAFE_HOMING
  12. exec_test $1 $2 "Ender-3 V2 - CrealityUI" "$3"
  13. use_example_configs "Creality/Ender-3 V2/CrealityV422/CrealityUI"
  14. opt_disable DWIN_CREALITY_LCD
  15. opt_enable DWIN_CREALITY_LCD_JYERSUI AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
  16. exec_test $1 $2 "Ender-3 V2 - JyersUI (ABL Bilinear/Manual)" "$3"
  17. use_example_configs "Creality/Ender-3 V2/CrealityV422/CrealityUI"
  18. opt_disable DWIN_CREALITY_LCD PIDTEMP
  19. opt_enable DWIN_MARLINUI_LANDSCAPE LCD_ENDSTOP_TEST AUTO_BED_LEVELING_UBL BLTOUCH Z_SAFE_HOMING MPCTEMP MPC_AUTOTUNE
  20. exec_test $1 $2 "Ender-3 V2 - MarlinUI (UBL+BLTOUCH, MPCTEMP, LCD_ENDSTOP_TEST)" "$3"
  21. use_example_configs "Creality/Ender-3 S1/STM32F1"
  22. opt_disable DWIN_CREALITY_LCD Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN AUTO_BED_LEVELING_BILINEAR CANCEL_OBJECTS FWRETRACT EVENT_GCODE_SD_ABORT
  23. opt_enable DWIN_LCD_PROUI INDIVIDUAL_AXIS_HOMING_SUBMENU SET_PROGRESS_MANUALLY SET_PROGRESS_PERCENT STATUS_MESSAGE_SCROLLING \
  24. SOUND_MENU_ITEM PRINTCOUNTER NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE FILAMENT_RUNOUT_SENSOR \
  25. BLTOUCH Z_SAFE_HOMING AUTO_BED_LEVELING_UBL MESH_EDIT_MENU LCD_BED_TRAMMING \
  26. LIMITED_MAX_FR_EDITING LIMITED_MAX_ACCEL_EDITING LIMITED_JERK_EDITING BAUD_RATE_GCODE \
  27. CASE_LIGHT_ENABLE CASE_LIGHT_MENU CASE_LIGHT_NO_BRIGHTNESS
  28. opt_set PREHEAT_3_LABEL '"CUSTOM"' PREHEAT_3_TEMP_HOTEND 240 PREHEAT_3_TEMP_BED 60 PREHEAT_3_FAN_SPEED 128 BOOTSCREEN_TIMEOUT 1100 CASE_LIGHT_PIN 4
  29. exec_test $1 $2 "Ender-3 S1 - ProUI (PIDTEMP)" "$3"
  30. restore_configs
  31. opt_set MOTHERBOARD BOARD_CREALITY_V452 SERIAL_PORT 1
  32. opt_disable NOZZLE_TO_PROBE_OFFSET
  33. opt_enable NOZZLE_AS_PROBE Z_SAFE_HOMING Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN FAN_SOFT_PWM \
  34. PROBE_ACTIVATION_SWITCH PROBE_TARE PROBE_TARE_ONLY_WHILE_INACTIVE
  35. exec_test $1 $2 "Creality V4.5.2 PROBE_ACTIVATION_SWITCH, Probe Tare" "$3"
  36. restore_configs
  37. opt_set MOTHERBOARD BOARD_CREALITY_V422 SERIAL_PORT 1 DGUS_LCD_UI IA_CREALITY
  38. opt_enable NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE LCD_BED_TRAMMING CLASSIC_JERK BABYSTEPPING \
  39. AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY FAN_SOFT_PWM
  40. opt_add NO_CREALITY_422_DRIVER_WARNING
  41. opt_add NO_AUTO_ASSIGN_WARNING
  42. exec_test $1 $2 "Creality V4.2.2 with IA_CREALITY" "$3"