FYSETC_F6 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 configurations
  9. #
  10. restore_configs
  11. opt_set MOTHERBOARD BOARD_FYSETC_F6_13 LCD_SERIAL_PORT 1
  12. opt_enable DGUS_LCD_UI_FYSETC
  13. exec_test $1 $2 "FYSETC F6 1.3 with DGUS" "$3"
  14. #
  15. # Delta Config (generic) + UBL + ALLEN_KEY + EEPROM_SETTINGS + OLED_PANEL_TINYBOY2
  16. #
  17. use_example_configs delta/generic
  18. opt_set MOTHERBOARD BOARD_FYSETC_F6_13 LCD_LANGUAGE ko_KR
  19. opt_enable RESTORE_LEVELING_AFTER_G28 EEPROM_SETTINGS EEPROM_CHITCHAT \
  20. Z_PROBE_ALLEN_KEY AUTO_BED_LEVELING_UBL UBL_MESH_WIZARD \
  21. OLED_PANEL_TINYBOY2 MESH_EDIT_GFX_OVERLAY DELTA_CALIBRATION_MENU
  22. exec_test $1 $2 "DELTA, FYSETC F6 1.3, UBL, Allen Key, EEPROM, OLED_PANEL_TINYBOY2..." "$3"
  23. #
  24. # Test mixed TMC config
  25. #
  26. restore_configs
  27. opt_set MOTHERBOARD BOARD_FYSETC_F6_13 \
  28. LCD_LANGUAGE vi LCD_LANGUAGE_2 fr \
  29. X_DRIVER_TYPE TMC2160 Y_DRIVER_TYPE TMC5160 Z_DRIVER_TYPE TMC2208_STANDALONE E0_DRIVER_TYPE TMC2130 \
  30. X_MIN_ENDSTOP_INVERTING true Y_MIN_ENDSTOP_INVERTING true
  31. opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER \
  32. MARLIN_BRICKOUT MARLIN_INVADERS MARLIN_SNAKE \
  33. MONITOR_DRIVER_STATUS STEALTHCHOP_XY STEALTHCHOP_Z STEALTHCHOP_E HYBRID_THRESHOLD \
  34. USE_ZMIN_PLUG SENSORLESS_HOMING TMC_DEBUG M114_DETAIL
  35. exec_test $1 $2 "RAMPS | Mixed TMC | Sensorless | RRDFGSC | Games" "$3"
  36. #
  37. # Delta Config (FLSUN AC because it's complex)
  38. #
  39. use_example_configs delta/FLSUN/auto_calibrate
  40. opt_set MOTHERBOARD BOARD_FYSETC_F6_13
  41. exec_test $1 $2 "RAMPS 1.3 | DELTA | FLSUN AC Config" "$3"
  42. #
  43. # SCARA with Mixed TMC
  44. #
  45. use_example_configs SCARA/Morgan
  46. opt_set MOTHERBOARD BOARD_FYSETC_F6_13 \
  47. LCD_LANGUAGE es \
  48. X_MAX_ENDSTOP_INVERTING false \
  49. X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2130 Z_DRIVER_TYPE TMC2130_STANDALONE E0_DRIVER_TYPE TMC2660 \
  50. X_HARDWARE_SERIAL Serial2
  51. opt_enable USE_ZMIN_PLUG FIX_MOUNTED_PROBE AUTO_BED_LEVELING_BILINEAR PAUSE_BEFORE_DEPLOY_STOW \
  52. FYSETC_242_OLED_12864 EEPROM_SETTINGS EEPROM_CHITCHAT M114_DETAIL Z_SAFE_HOMING \
  53. STEALTHCHOP_XY STEALTHCHOP_Z STEALTHCHOP_E HYBRID_THRESHOLD SENSORLESS_HOMING SQUARE_WAVE_STEPPING
  54. exec_test $1 $2 "FYSETC_F6 | SCARA | Mixed TMC | EEPROM" "$3"
  55. # clean up
  56. restore_configs