2019-08-19 04:29:59 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
|
|
|
# Build tests for AVR ATmega FYSETC F6 1.3
|
|
|
|
#
|
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
|
|
|
#
|
2023-03-07 02:04:47 +00:00
|
|
|
# Build with the default config plus DGUS_LCD_UI FYSETC
|
2019-08-19 04:29:59 +00:00
|
|
|
#
|
|
|
|
restore_configs
|
2023-01-01 02:38:13 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_FYSETC_F6_13 LCD_SERIAL_PORT 1 DGUS_LCD_UI FYSETC
|
2023-05-08 11:50:21 +00:00
|
|
|
exec_test $1 $2 "DGUS (FYSETC)" "$3"
|
2023-02-18 09:49:57 +00:00
|
|
|
|
|
|
|
#
|
2023-03-07 02:04:47 +00:00
|
|
|
# Test DGUS_LCD_UI RELOADED
|
2023-02-18 09:49:57 +00:00
|
|
|
#
|
|
|
|
restore_configs
|
2023-03-07 02:04:47 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_FYSETC_F6_13 TEMP_SENSOR_BED 2 LCD_SERIAL_PORT 1 DGUS_LCD_UI RELOADED GRID_MAX_POINTS_X 5
|
|
|
|
opt_enable ADVANCED_PAUSE_FEATURE LCD_BED_TRAMMING CLASSIC_JERK BABYSTEPPING BABYSTEP_ALWAYS_AVAILABLE BABYSTEP_ZPROBE_OFFSET \
|
|
|
|
BLTOUCH Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR NOZZLE_PARK_FEATURE
|
2023-05-08 11:50:21 +00:00
|
|
|
exec_test $1 $2 "ABL | DGUS (RELOADED)" "$3"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Delta Config (FLSUN AC because it's complex)
|
|
|
|
#
|
|
|
|
use_example_configs delta/FLSUN/auto_calibrate
|
|
|
|
opt_set MOTHERBOARD BOARD_FYSETC_F6_13
|
|
|
|
exec_test $1 $2 "DELTA / FLSUN Auto-Calibrate" "$3"
|
2019-08-19 04:29:59 +00:00
|
|
|
|
2020-12-17 12:18:07 +00:00
|
|
|
#
|
|
|
|
# Delta Config (generic) + UBL + ALLEN_KEY + EEPROM_SETTINGS + OLED_PANEL_TINYBOY2
|
|
|
|
#
|
|
|
|
use_example_configs delta/generic
|
2022-07-14 03:16:22 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_FYSETC_F6_13 LCD_LANGUAGE ko_KR
|
2020-12-17 12:18:07 +00:00
|
|
|
opt_enable RESTORE_LEVELING_AFTER_G28 EEPROM_SETTINGS EEPROM_CHITCHAT \
|
2021-05-02 21:38:55 +00:00
|
|
|
Z_PROBE_ALLEN_KEY AUTO_BED_LEVELING_UBL UBL_MESH_WIZARD \
|
2023-05-08 11:50:21 +00:00
|
|
|
OLED_PANEL_TINYBOY2 MESH_EDIT_GFX_OVERLAY DELTA_CALIBRATION_MENU BABYSTEPPING
|
|
|
|
exec_test $1 $2 "DELTA | UBL | Allen Key | EEPROM | OLED_PANEL_TINYBOY2..." "$3"
|
2020-12-17 12:18:07 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test mixed TMC config
|
|
|
|
#
|
|
|
|
restore_configs
|
2021-03-03 06:15:56 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_FYSETC_F6_13 \
|
|
|
|
LCD_LANGUAGE vi LCD_LANGUAGE_2 fr \
|
|
|
|
X_DRIVER_TYPE TMC2160 Y_DRIVER_TYPE TMC5160 Z_DRIVER_TYPE TMC2208_STANDALONE E0_DRIVER_TYPE TMC2130 \
|
2023-03-26 09:00:12 +00:00
|
|
|
X_MIN_ENDSTOP_HIT_STATE LOW Y_MIN_ENDSTOP_HIT_STATE LOW
|
2020-12-17 12:18:07 +00:00
|
|
|
opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER \
|
|
|
|
MARLIN_BRICKOUT MARLIN_INVADERS MARLIN_SNAKE \
|
|
|
|
MONITOR_DRIVER_STATUS STEALTHCHOP_XY STEALTHCHOP_Z STEALTHCHOP_E HYBRID_THRESHOLD \
|
2023-04-26 19:56:23 +00:00
|
|
|
SENSORLESS_HOMING TMC_DEBUG M114_DETAIL
|
2023-05-08 11:50:21 +00:00
|
|
|
exec_test $1 $2 "Mixed TMC | Sensorless | RRDFGSC | Games" "$3"
|
2020-12-17 12:18:07 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# SCARA with Mixed TMC
|
|
|
|
#
|
|
|
|
use_example_configs SCARA/Morgan
|
2021-03-03 06:15:56 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_FYSETC_F6_13 \
|
|
|
|
LCD_LANGUAGE es \
|
2023-03-26 09:00:12 +00:00
|
|
|
X_MAX_ENDSTOP_HIT_STATE HIGH \
|
2021-03-03 06:15:56 +00:00
|
|
|
X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2130 Z_DRIVER_TYPE TMC2130_STANDALONE E0_DRIVER_TYPE TMC2660 \
|
|
|
|
X_HARDWARE_SERIAL Serial2
|
2023-04-26 19:56:23 +00:00
|
|
|
opt_enable FIX_MOUNTED_PROBE AUTO_BED_LEVELING_BILINEAR PAUSE_BEFORE_DEPLOY_STOW \
|
2020-12-17 12:18:07 +00:00
|
|
|
FYSETC_242_OLED_12864 EEPROM_SETTINGS EEPROM_CHITCHAT M114_DETAIL Z_SAFE_HOMING \
|
2023-03-18 07:22:17 +00:00
|
|
|
STEALTHCHOP_XY STEALTHCHOP_Z STEALTHCHOP_E HYBRID_THRESHOLD SENSORLESS_HOMING EDGE_STEPPING
|
2023-05-08 11:50:21 +00:00
|
|
|
exec_test $1 $2 "SCARA | Mixed TMC | EEPROM" "$3"
|
2020-12-17 12:18:07 +00:00
|
|
|
|
2019-08-19 04:29:59 +00:00
|
|
|
# clean up
|
|
|
|
restore_configs
|