FYSETC_F6 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for AVR ATmega FYSETC F6 1.3
  4. #
  5. # exit on first failure
  6. set -e
  7. #
  8. # Build with the default config plus DGUS_LCD_UI FYSETC
  9. #
  10. restore_configs
  11. opt_set MOTHERBOARD BOARD_FYSETC_F6_13 LCD_SERIAL_PORT 1 DGUS_LCD_UI FYSETC
  12. exec_test $1 $2 "DGUS (FYSETC)" "$3"
  13. #
  14. # Test DGUS_LCD_UI RELOADED
  15. #
  16. restore_configs
  17. opt_set MOTHERBOARD BOARD_FYSETC_F6_13 TEMP_SENSOR_BED 2 LCD_SERIAL_PORT 1 DGUS_LCD_UI RELOADED GRID_MAX_POINTS_X 5
  18. opt_enable ADVANCED_PAUSE_FEATURE LCD_BED_TRAMMING CLASSIC_JERK BABYSTEPPING BABYSTEP_ALWAYS_AVAILABLE BABYSTEP_ZPROBE_OFFSET \
  19. BLTOUCH Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR NOZZLE_PARK_FEATURE
  20. exec_test $1 $2 "ABL | DGUS (RELOADED)" "$3"
  21. #
  22. # Delta Config (FLSUN AC because it's complex)
  23. #
  24. use_example_configs delta/FLSUN/auto_calibrate
  25. opt_set MOTHERBOARD BOARD_FYSETC_F6_13
  26. exec_test $1 $2 "DELTA / FLSUN Auto-Calibrate" "$3"
  27. #
  28. # Delta Config (generic) + UBL + ALLEN_KEY + EEPROM_SETTINGS + OLED_PANEL_TINYBOY2
  29. #
  30. use_example_configs delta/generic
  31. opt_set MOTHERBOARD BOARD_FYSETC_F6_13 LCD_LANGUAGE ko_KR
  32. opt_enable RESTORE_LEVELING_AFTER_G28 EEPROM_SETTINGS EEPROM_CHITCHAT \
  33. Z_PROBE_ALLEN_KEY AUTO_BED_LEVELING_UBL UBL_MESH_WIZARD \
  34. OLED_PANEL_TINYBOY2 MESH_EDIT_GFX_OVERLAY DELTA_CALIBRATION_MENU BABYSTEPPING
  35. exec_test $1 $2 "DELTA | UBL | Allen Key | EEPROM | OLED_PANEL_TINYBOY2..." "$3"
  36. #
  37. # Test mixed TMC config
  38. #
  39. restore_configs
  40. opt_set MOTHERBOARD BOARD_FYSETC_F6_13 \
  41. LCD_LANGUAGE vi LCD_LANGUAGE_2 fr \
  42. X_DRIVER_TYPE TMC2160 Y_DRIVER_TYPE TMC5160 Z_DRIVER_TYPE TMC2208_STANDALONE E0_DRIVER_TYPE TMC2130 \
  43. X_MIN_ENDSTOP_HIT_STATE LOW Y_MIN_ENDSTOP_HIT_STATE LOW
  44. opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER \
  45. MARLIN_BRICKOUT MARLIN_INVADERS MARLIN_SNAKE \
  46. MONITOR_DRIVER_STATUS STEALTHCHOP_XY STEALTHCHOP_Z STEALTHCHOP_E HYBRID_THRESHOLD \
  47. SENSORLESS_HOMING X_STALL_SENSITIVITY Y_STALL_SENSITIVITY TMC_DEBUG M114_DETAIL
  48. exec_test $1 $2 "Mixed TMC | Sensorless | RRDFGSC | Games" "$3"
  49. #
  50. # Delta Config (FLSUN AC because it's complex)
  51. #
  52. use_example_configs delta/FLSUN/auto_calibrate
  53. opt_set MOTHERBOARD BOARD_FYSETC_F6_13
  54. exec_test $1 $2 "RAMPS 1.3 | DELTA | FLSUN AC Config" "$3"
  55. #
  56. # SCARA with Mixed TMC
  57. #
  58. use_example_configs SCARA/Morgan
  59. opt_set MOTHERBOARD BOARD_FYSETC_F6_13 \
  60. LCD_LANGUAGE es \
  61. X_MAX_ENDSTOP_HIT_STATE HIGH \
  62. X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2130 Z_DRIVER_TYPE TMC2130_STANDALONE E0_DRIVER_TYPE TMC2660 \
  63. X_HARDWARE_SERIAL Serial2
  64. opt_enable FIX_MOUNTED_PROBE AUTO_BED_LEVELING_BILINEAR PAUSE_BEFORE_DEPLOY_STOW \
  65. FYSETC_242_OLED_12864 EEPROM_SETTINGS EEPROM_CHITCHAT M114_DETAIL Z_SAFE_HOMING \
  66. STEALTHCHOP_XY STEALTHCHOP_Z STEALTHCHOP_E HYBRID_THRESHOLD SENSORLESS_HOMING X_STALL_SENSITIVITY Y_STALL_SENSITIVITY EDGE_STEPPING
  67. exec_test $1 $2 "SCARA | Mixed TMC | EEPROM" "$3"