STM32F103RE_creality 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 with 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 with JyersUI" "$3"
  17. use_example_configs "Creality/Ender-3 S1"
  18. opt_disable DWIN_CREALITY_LCD Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN AUTO_BED_LEVELING_BILINEAR CONFIGURATION_EMBEDDING CANCEL_OBJECTS FWRETRACT
  19. opt_enable DWIN_LCD_PROUI INDIVIDUAL_AXIS_HOMING_SUBMENU LCD_SET_PROGRESS_MANUALLY STATUS_MESSAGE_SCROLLING \
  20. SOUND_MENU_ITEM PRINTCOUNTER NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE FILAMENT_RUNOUT_SENSOR \
  21. BLTOUCH Z_SAFE_HOMING AUTO_BED_LEVELING_UBL MESH_EDIT_MENU \
  22. LIMITED_MAX_FR_EDITING LIMITED_MAX_ACCEL_EDITING LIMITED_JERK_EDITING BAUD_RATE_GCODE
  23. opt_set PREHEAT_3_LABEL '"CUSTOM"' PREHEAT_3_TEMP_HOTEND 240 PREHEAT_3_TEMP_BED 60 PREHEAT_3_FAN_SPEED 128
  24. exec_test $1 $2 "Ender-3 S1 with ProUI" "$3"
  25. restore_configs
  26. opt_set MOTHERBOARD BOARD_CREALITY_V452 SERIAL_PORT 1
  27. opt_disable NOZZLE_TO_PROBE_OFFSET
  28. opt_enable NOZZLE_AS_PROBE Z_SAFE_HOMING Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN FAN_SOFT_PWM \
  29. PROBE_ACTIVATION_SWITCH PROBE_TARE PROBE_TARE_ONLY_WHILE_INACTIVE
  30. exec_test $1 $2 "Creality V4.5.2 PROBE_ACTIVATION_SWITCH, Probe Tare" "$3"
  31. # clean up
  32. restore_configs