Browse Source

Improve opt_set (etc.) used for tests

Scott Lahteine 3 years ago
parent
commit
369ffe518d
41 changed files with 229 additions and 475 deletions
  1. 2
    2
      buildroot/bin/opt_enable
  2. 9
    5
      buildroot/bin/opt_set
  3. 1
    1
      buildroot/bin/pins_set
  4. 1
    2
      buildroot/tests/ARMED-tests
  5. 4
    4
      buildroot/tests/BIGTREE_BTT002-tests
  6. 14
    44
      buildroot/tests/BIGTREE_GTR_V1_0-tests
  7. 11
    34
      buildroot/tests/BIGTREE_GTR_V1_0_usb_flash_drive-tests
  8. 8
    17
      buildroot/tests/BIGTREE_SKR_PRO-tests
  9. 9
    18
      buildroot/tests/DUE-tests
  10. 1
    4
      buildroot/tests/FLYF407ZG-tests
  11. 14
    27
      buildroot/tests/FYSETC_F6-tests
  12. 1
    2
      buildroot/tests/FYSETC_S6-tests
  13. 1
    2
      buildroot/tests/LERDGEX-tests
  14. 9
    14
      buildroot/tests/LPC1768-tests
  15. 6
    12
      buildroot/tests/LPC1769-tests
  16. 1
    4
      buildroot/tests/NUCLEO_F767ZI-tests
  17. 8
    14
      buildroot/tests/SAMD51_grandcentral_m4-tests
  18. 1
    2
      buildroot/tests/STM32F070CB_malyan-tests
  19. 2
    7
      buildroot/tests/STM32F103RC_btt-tests
  20. 1
    3
      buildroot/tests/STM32F103RC_btt_USB-tests
  21. 2
    7
      buildroot/tests/STM32F103RC_meeb-tests
  22. 1
    3
      buildroot/tests/STM32F103RE-tests
  23. 3
    4
      buildroot/tests/STM32F103RET6_creality-tests
  24. 4
    6
      buildroot/tests/STM32F103RE_btt-tests
  25. 2
    7
      buildroot/tests/STM32F103RE_btt_USB-tests
  26. 1
    2
      buildroot/tests/STM32F401VE_STEVAL-tests
  27. 6
    17
      buildroot/tests/esp32-tests
  28. 1
    2
      buildroot/tests/linux_native-tests
  29. 6
    10
      buildroot/tests/mega1280-tests
  30. 21
    56
      buildroot/tests/mega2560-tests
  31. 2
    4
      buildroot/tests/mks_robin_lite-tests
  32. 1
    3
      buildroot/tests/mks_robin_mini-tests
  33. 1
    3
      buildroot/tests/mks_robin_nano35-tests
  34. 1
    3
      buildroot/tests/mks_robin_nano35_stm32-tests
  35. 5
    7
      buildroot/tests/mks_robin_pro-tests
  36. 27
    44
      buildroot/tests/rambo-tests
  37. 5
    13
      buildroot/tests/rumba32-tests
  38. 3
    3
      buildroot/tests/sanguino1284p-tests
  39. 4
    5
      buildroot/tests/teensy31-tests
  40. 15
    30
      buildroot/tests/teensy35-tests
  41. 14
    28
      buildroot/tests/teensy41-tests

+ 2
- 2
buildroot/bin/opt_enable View File

@@ -7,7 +7,7 @@ SED=$(which gsed || which sed)
7 7
 
8 8
 for opt in "$@" ; do
9 9
   # Logic for returning nonzero based on answer here: https://stackoverflow.com/a/15966279/104648
10
-  eval "${SED} -i '/\(\/\/\)*[[:blank:]]*\(#define \b${opt}\b\)/{s//\2/;h};\${x;/./{x;q0};x;q9}' Marlin/Configuration.h" ||
11
-  eval "${SED} -i '/\(\/\/\)*[[:blank:]]*\(#define \b${opt}\b\)/{s//\2/;h};\${x;/./{x;q0};x;q9}' Marlin/Configuration_adv.h" ||
10
+  eval "${SED} -i '/^[[:blank:]]*\(\/\/\)*[[:blank:]]*\(#define \b${opt}\b\)/{s//\2/;h};\${x;/./{x;q0};x;q9}' Marlin/Configuration.h" ||
11
+  eval "${SED} -i '/^[[:blank:]]*\(\/\/\)*[[:blank:]]*\(#define \b${opt}\b\)/{s//\2/;h};\${x;/./{x;q0};x;q9}' Marlin/Configuration_adv.h" ||
12 12
   (echo "ERROR: opt_enable Can't find ${opt}" >&2 && exit 9)
13 13
 done

+ 9
- 5
buildroot/bin/opt_set View File

@@ -5,8 +5,12 @@ set -e
5 5
 
6 6
 SED=$(which gsed || which sed)
7 7
 
8
-# Logic for returning nonzero based on answer here: https://stackoverflow.com/a/15966279/104648
9
-eval "${SED} -i '/\(\/\/\)*\([[:blank:]]*\)\(#define\s\+\b${1}\b\).*$/{s//\2\3 ${2}/;h};\${x;/./{x;q0};x;q9}' Marlin/Configuration.h" ||
10
-eval "${SED} -i '/\(\/\/\)*\([[:blank:]]*\)\(#define\s\+\b${1}\b\).*$/{s//\2\3 ${2}/;h};\${x;/./{x;q0};x;q9}' Marlin/Configuration_adv.h" ||
11
-eval "echo '#define ${@}' >>Marlin/Configuration_adv.h" ||
12
-(echo "ERROR: opt_set Can't set or add ${1}" >&2 && exit 9)
8
+ARGC=$#
9
+while [[ $# > 1 ]]; do
10
+  # Logic for returning nonzero based on answer here: https://stackoverflow.com/a/15966279/104648
11
+  eval "${SED} -i '/^[[:blank:]]*\(\/\/\)*\([[:blank:]]*\)\(#define\s\+\b${1}\b\).*$/{s//\2\3 ${2}/;h};\${x;/./{x;q0};x;q9}' Marlin/Configuration.h" ||
12
+  eval "${SED} -i '/^[[:blank:]]*\(\/\/\)*\([[:blank:]]*\)\(#define\s\+\b${1}\b\).*$/{s//\2\3 ${2}/;h};\${x;/./{x;q0};x;q9}' Marlin/Configuration_adv.h" ||
13
+  eval "echo '#define ${1} ${2}' >>Marlin/Configuration.h" ||
14
+  (echo "ERROR: opt_set Can't set or add ${1}" >&2 && exit 9)
15
+  shift 2
16
+done

+ 1
- 1
buildroot/bin/pins_set View File

@@ -7,5 +7,5 @@ PIN=$2
7 7
 VAL=$3
8 8
 
9 9
 SED=$(which gsed || which sed)
10
-eval "${SED} -i '/\(\/\/\)*\(#define \+${PIN}\b\).*$/{s//\2 ${VAL}/;h};\${x;/./{x;q0};x;q9}' Marlin/src/pins/$DIR/pins_${NAM}.h" ||
10
+eval "${SED} -i '/^[[:blank:]]*\(\/\/\)*[[:blank:]]*\(#define \+${PIN}\b\).*$/{s//\2 ${VAL}/;h};\${x;/./{x;q0};x;q9}' Marlin/src/pins/$DIR/pins_${NAM}.h" ||
11 11
 (echo "ERROR: pins_set Can't find ${PIN}" >&2 && exit 9)

+ 1
- 2
buildroot/tests/ARMED-tests View File

@@ -11,8 +11,7 @@ set -e
11 11
 #
12 12
 restore_configs
13 13
 use_example_configs ArmEd
14
-opt_set X_DRIVER_TYPE TMC2130
15
-opt_set Y_DRIVER_TYPE TMC2208
14
+opt_set X_DRIVER_TYPE TMC2130 Y_DRIVER_TYPE TMC2208
16 15
 exec_test $1 $2 "ArmEd Example Configuration with mixed TMC Drivers" "$3"
17 16
 
18 17
 # clean up

+ 4
- 4
buildroot/tests/BIGTREE_BTT002-tests View File

@@ -10,10 +10,10 @@ set -e
10 10
 # Build with the default configurations
11 11
 #
12 12
 restore_configs
13
-opt_set MOTHERBOARD BOARD_BTT_BTT002_V1_0
14
-opt_set SERIAL_PORT 1
15
-opt_set X_DRIVER_TYPE TMC2209
16
-opt_set Y_DRIVER_TYPE TMC2130
13
+opt_set MOTHERBOARD BOARD_BTT_BTT002_V1_0 \
14
+        SERIAL_PORT 1 \
15
+        X_DRIVER_TYPE TMC2209 \
16
+        Y_DRIVER_TYPE TMC2130
17 17
 exec_test $1 $2 "BigTreeTech BTT002 Default Configuration plus TMC steppers" "$3"
18 18
 
19 19
 # clean up

+ 14
- 44
buildroot/tests/BIGTREE_GTR_V1_0-tests View File

@@ -7,54 +7,24 @@
7 7
 set -e
8 8
 
9 9
 restore_configs
10
-opt_set MOTHERBOARD BOARD_BTT_GTR_V1_0
11
-opt_set SERIAL_PORT -1
12
-opt_set EXTRUDERS 8
13
-opt_set TEMP_SENSOR_1 1
14
-opt_set TEMP_SENSOR_2 1
15
-opt_set TEMP_SENSOR_3 1
16
-opt_set TEMP_SENSOR_4 1
17
-opt_set TEMP_SENSOR_5 1
18
-opt_set TEMP_SENSOR_6 1
19
-opt_set TEMP_SENSOR_7 1
10
+opt_set MOTHERBOARD BOARD_BTT_GTR_V1_0 SERIAL_PORT -1 \
11
+        EXTRUDERS 8 TEMP_SENSOR_1 1 TEMP_SENSOR_2 1 TEMP_SENSOR_3 1 TEMP_SENSOR_4 1 TEMP_SENSOR_5 1 TEMP_SENSOR_6 1 TEMP_SENSOR_7 1
20 12
 # Not necessary to enable auto-fan for all extruders to hit problematic code paths
21
-opt_set E0_AUTO_FAN_PIN PC10
22
-opt_set E1_AUTO_FAN_PIN PC11
23
-opt_set E2_AUTO_FAN_PIN PC12
24
-opt_set X_DRIVER_TYPE TMC2208
25
-opt_set Y_DRIVER_TYPE TMC2130
26
-opt_set NEOPIXEL_PIN PF13
27
-opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER BLTOUCH NEOPIXEL_LED Z_SAFE_HOMING
28
-opt_enable FILAMENT_RUNOUT_SENSOR NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE
29
-opt_set FIL_RUNOUT_PIN 3
30
-opt_set FIL_RUNOUT2_PIN 4
31
-opt_set FIL_RUNOUT3_PIN 5
32
-opt_set FIL_RUNOUT4_PIN 6
33
-opt_set FIL_RUNOUT5_PIN 7
34
-opt_set FIL_RUNOUT6_PIN 8
35
-opt_set FIL_RUNOUT7_PIN 9
36
-opt_set FIL_RUNOUT8_PIN 10
37
-opt_set FIL_RUNOUT4_STATE HIGH
38
-opt_enable FIL_RUNOUT4_PULLUP
39
-opt_set FIL_RUNOUT8_STATE HIGH
40
-opt_enable FIL_RUNOUT8_PULLUP
41
-exec_test $1 $2 "BigTreeTech GTR 8 Extruders with Auto-Fan, Mixed TMC Drivers, and Runout Sensors with distinct states" "$3"
13
+opt_set E0_AUTO_FAN_PIN PC10 E1_AUTO_FAN_PIN PC11 E2_AUTO_FAN_PIN PC12 NEOPIXEL_PIN PF13 \
14
+        X_DRIVER_TYPE TMC2208 Y_DRIVER_TYPE TMC2130 \
15
+        FIL_RUNOUT_PIN 3 FIL_RUNOUT2_PIN 4 FIL_RUNOUT3_PIN 5 FIL_RUNOUT4_PIN 6 FIL_RUNOUT5_PIN 7 FIL_RUNOUT6_PIN 8 FIL_RUNOUT7_PIN 9 FIL_RUNOUT8_PIN 10 \
16
+        FIL_RUNOUT4_STATE HIGH FIL_RUNOUT8_STATE HIGH
17
+opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER BLTOUCH NEOPIXEL_LED Z_SAFE_HOMING NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE \
18
+           FILAMENT_RUNOUT_SENSOR FIL_RUNOUT4_PULLUP FIL_RUNOUT8_PULLUP
19
+exec_test $1 $2 "BigTreeTech GTR | 8 Extruders | Auto-Fan | Mixed TMC Drivers | Runout Sensors w/ distinct states" "$3"
42 20
 
43 21
 restore_configs
44
-opt_set MOTHERBOARD BOARD_BTT_GTR_V1_0
45
-opt_set SERIAL_PORT -1
46
-opt_set EXTRUDERS 6
47
-opt_set TEMP_SENSOR_1 1
48
-opt_set TEMP_SENSOR_2 1
49
-opt_set TEMP_SENSOR_3 1
50
-opt_set TEMP_SENSOR_4 1
51
-opt_set TEMP_SENSOR_5 1
52
-opt_set NUM_Z_STEPPER_DRIVERS 3
53
-opt_set DEFAULT_Kp_LIST "{ 22.2, 20.0, 21.0, 19.0, 18.0, 17.0 }"
54
-opt_set DEFAULT_Ki_LIST "{ 1.08 }"
55
-opt_set DEFAULT_Kd_LIST "{ 114.0, 112.0, 110.0, 108.0 }"
22
+opt_set MOTHERBOARD BOARD_BTT_GTR_V1_0 SERIAL_PORT -1 \
23
+        EXTRUDERS 6 TEMP_SENSOR_1 1 TEMP_SENSOR_2 1 TEMP_SENSOR_3 1 TEMP_SENSOR_4 1 TEMP_SENSOR_5 1 \
24
+        NUM_Z_STEPPER_DRIVERS 3 \
25
+        DEFAULT_Kp_LIST '{ 22.2, 20.0, 21.0, 19.0, 18.0, 17.0 }' DEFAULT_Ki_LIST '{ 1.08 }' DEFAULT_Kd_LIST '{ 114.0, 112.0, 110.0, 108.0 }'
56 26
 opt_enable TOOLCHANGE_FILAMENT_SWAP TOOLCHANGE_MIGRATION_FEATURE TOOLCHANGE_FS_INIT_BEFORE_SWAP TOOLCHANGE_FS_PRIME_FIRST_USED PID_PARAMS_PER_HOTEND
57
-exec_test $1 $2 "BigTreeTech GTR 6 Extruders Triple Z" "$3"
27
+exec_test $1 $2 "BigTreeTech GTR | 6 Extruders | Triple Z" "$3"
58 28
 
59 29
 # clean up
60 30
 restore_configs

+ 11
- 34
buildroot/tests/BIGTREE_GTR_V1_0_usb_flash_drive-tests View File

@@ -7,41 +7,18 @@
7 7
 set -e
8 8
 
9 9
 restore_configs
10
-opt_set MOTHERBOARD BOARD_BTT_GTR_V1_0
11
-opt_set SERIAL_PORT 3
12
-opt_set EXTRUDERS 8
13
-opt_set TEMP_SENSOR_1 1
14
-opt_set TEMP_SENSOR_2 1
15
-opt_set TEMP_SENSOR_3 1
16
-opt_set TEMP_SENSOR_4 1
17
-opt_set TEMP_SENSOR_5 1
18
-opt_set TEMP_SENSOR_6 1
19
-opt_set TEMP_SENSOR_7 1
20
-opt_set SDSUPPORT
21
-opt_set USB_FLASH_DRIVE_SUPPORT
22
-opt_set USE_OTG_USB_HOST
10
+opt_set MOTHERBOARD BOARD_BTT_GTR_V1_0 SERIAL_PORT 3 \
11
+        EXTRUDERS 8 TEMP_SENSOR_1 1 TEMP_SENSOR_2 1 TEMP_SENSOR_3 1 TEMP_SENSOR_4 1 TEMP_SENSOR_5 1 TEMP_SENSOR_6 1 TEMP_SENSOR_7 1
12
+opt_enable SDSUPPORT USB_FLASH_DRIVE_SUPPORT USE_OTG_USB_HOST \
13
+           REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER BLTOUCH NEOPIXEL_LED Z_SAFE_HOMING \
14
+           FILAMENT_RUNOUT_SENSOR NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE
23 15
 # Not necessary to enable auto-fan for all extruders to hit problematic code paths
24
-opt_set E0_AUTO_FAN_PIN PC10
25
-opt_set E1_AUTO_FAN_PIN PC11
26
-opt_set E2_AUTO_FAN_PIN PC12
27
-opt_set X_DRIVER_TYPE TMC2208
28
-opt_set Y_DRIVER_TYPE TMC2130
29
-opt_set NEOPIXEL_PIN PF13
30
-opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER BLTOUCH NEOPIXEL_LED Z_SAFE_HOMING
31
-opt_enable FILAMENT_RUNOUT_SENSOR NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE
32
-opt_set FIL_RUNOUT_PIN 3
33
-opt_set FIL_RUNOUT2_PIN 4
34
-opt_set FIL_RUNOUT3_PIN 5
35
-opt_set FIL_RUNOUT4_PIN 6
36
-opt_set FIL_RUNOUT5_PIN 7
37
-opt_set FIL_RUNOUT6_PIN 8
38
-opt_set FIL_RUNOUT7_PIN 9
39
-opt_set FIL_RUNOUT8_PIN 10
40
-opt_set FIL_RUNOUT4_STATE HIGH
41
-opt_enable FIL_RUNOUT4_PULLUP
42
-opt_set FIL_RUNOUT8_STATE HIGH
43
-opt_enable FIL_RUNOUT8_PULLUP
44
-exec_test $1 $2 "BigTreeTech GTR + OTG USB Flash Drive + Extruders with Auto-Fan, Mixed TMC Drivers, and Runout Sensors with distinct states" "$3"
16
+opt_set E0_AUTO_FAN_PIN PC10 E1_AUTO_FAN_PIN PC11 E2_AUTO_FAN_PIN PC12 NEOPIXEL_PIN PF13 \
17
+        X_DRIVER_TYPE TMC2208 Y_DRIVER_TYPE TMC2130 \
18
+        FIL_RUNOUT_PIN 3 FIL_RUNOUT2_PIN 4 FIL_RUNOUT3_PIN 5 FIL_RUNOUT4_PIN 6 FIL_RUNOUT5_PIN 7 FIL_RUNOUT6_PIN 8 FIL_RUNOUT7_PIN 9 FIL_RUNOUT8_PIN 10 \
19
+        FIL_RUNOUT4_STATE HIGH FIL_RUNOUT8_STATE HIGH
20
+opt_enable FIL_RUNOUT4_PULLUP FIL_RUNOUT8_PULLUP
21
+exec_test $1 $2 "GTT GTR | OTG USB Flash Drive | 8 Extruders | Auto-Fan | Mixed TMC Drivers | Runout Sensors (distinct)" "$3"
45 22
 
46 23
 # clean up
47 24
 restore_configs

+ 8
- 17
buildroot/tests/BIGTREE_SKR_PRO-tests View File

@@ -10,31 +10,22 @@ set -e
10 10
 # Build with the default configurations
11 11
 #
12 12
 restore_configs
13
-opt_set MOTHERBOARD BOARD_BTT_SKR_PRO_V1_1
14
-opt_set SERIAL_PORT 1
13
+opt_set MOTHERBOARD BOARD_BTT_SKR_PRO_V1_1 SERIAL_PORT 1
15 14
 exec_test $1 $2 "BigTreeTech SKR Pro Default Configuration" "$3"
16 15
 
17 16
 restore_configs
18
-opt_set MOTHERBOARD BOARD_BTT_SKR_PRO_V1_1
19
-opt_set SERIAL_PORT -1
20
-opt_set EXTRUDERS 3
21
-opt_set TEMP_SENSOR_1 1
22
-opt_set TEMP_SENSOR_2 1
23
-opt_set E0_AUTO_FAN_PIN PC10
24
-opt_set E1_AUTO_FAN_PIN PC11
25
-opt_set E2_AUTO_FAN_PIN PC12
26
-opt_set X_DRIVER_TYPE TMC2209
27
-opt_set Y_DRIVER_TYPE TMC2130
17
+opt_set MOTHERBOARD BOARD_BTT_SKR_PRO_V1_1 SERIAL_PORT -1 \
18
+        EXTRUDERS 3 TEMP_SENSOR_1 1 TEMP_SENSOR_2 1 \
19
+        E0_AUTO_FAN_PIN PC10 E1_AUTO_FAN_PIN PC11 E2_AUTO_FAN_PIN PC12 \
20
+        X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2130
28 21
 opt_enable BLTOUCH EEPROM_SETTINGS AUTO_BED_LEVELING_3POINT Z_SAFE_HOMING PINS_DEBUGGING
29 22
 exec_test $1 $2 "BigTreeTech SKR Pro 3 Extruders, Auto-Fan, BLTOUCH, mixed TMC drivers" "$3"
30 23
 
31 24
 restore_configs
32
-opt_set MOTHERBOARD BOARD_BTT_SKR_PRO_V1_1
33
-opt_set SERIAL_PORT -1
25
+opt_set MOTHERBOARD BOARD_BTT_SKR_PRO_V1_1 SERIAL_PORT -1 \
26
+        CUTTER_POWER_UNIT PERCENT \
27
+        SPINDLE_LASER_PWM_PIN HEATER_1_PIN SPINDLE_LASER_ENA_PIN HEATER_2_PIN
34 28
 opt_enable LASER_FEATURE REPRAP_DISCOUNT_SMART_CONTROLLER
35
-opt_set CUTTER_POWER_UNIT PERCENT
36
-opt_add SPINDLE_LASER_PWM_PIN HEATER_1_PIN
37
-opt_add SPINDLE_LASER_ENA_PIN HEATER_2_PIN
38 29
 exec_test $1 $2 "Laser, LCD, PERCENT power unit" "$3"
39 30
 
40 31
 # clean up

+ 9
- 18
buildroot/tests/DUE-tests View File

@@ -7,12 +7,12 @@
7 7
 set -e
8 8
 
9 9
 restore_configs
10
-opt_set LCD_LANGUAGE bg
11
-opt_set MOTHERBOARD BOARD_RAMPS4DUE_EFB
12
-opt_set TEMP_SENSOR_0 -2
13
-opt_set TEMP_SENSOR_BED 2
14
-opt_set GRID_MAX_POINTS_X 16
15
-opt_set FANMUX0_PIN 53
10
+opt_set MOTHERBOARD BOARD_RAMPS4DUE_EFB \
11
+        LCD_LANGUAGE bg \
12
+        TEMP_SENSOR_0 -2 TEMP_SENSOR_BED 2 \
13
+        GRID_MAX_POINTS_X 16 \
14
+        E0_AUTO_FAN_PIN 8 FANMUX0_PIN 53 EXTRUDER_AUTO_FAN_SPEED 100 \
15
+        TEMP_SENSOR_CHAMBER 3 TEMP_CHAMBER_PIN 6 HEATER_CHAMBER_PIN 45
16 16
 opt_enable S_CURVE_ACCELERATION EEPROM_SETTINGS GCODE_MACROS \
17 17
            FIX_MOUNTED_PROBE Z_SAFE_HOMING CODEPENDENT_XY_HOMING \
18 18
            ASSISTED_TRAMMING ASSISTED_TRAMMING_WIZARD REPORT_TRAMMING_MM ASSISTED_TRAMMING_WAIT_POSITION \
@@ -28,23 +28,17 @@ opt_enable S_CURVE_ACCELERATION EEPROM_SETTINGS GCODE_MACROS \
28 28
            PIDTEMPBED SLOW_PWM_HEATERS THERMAL_PROTECTION_CHAMBER \
29 29
            PINS_DEBUGGING MAX7219_DEBUG M114_DETAIL \
30 30
            EXTENSIBLE_UI
31
-opt_add    EXTUI_EXAMPLE
32
-opt_set E0_AUTO_FAN_PIN 8
33
-opt_set EXTRUDER_AUTO_FAN_SPEED 100
34
-opt_set TEMP_SENSOR_CHAMBER 3
35
-opt_add TEMP_CHAMBER_PIN 6
36
-opt_set HEATER_CHAMBER_PIN 45
31
+opt_add EXTUI_EXAMPLE
37 32
 exec_test $1 $2 "RAMPS4DUE_EFB with ABL (Bilinear), ExtUI, S-Curve, many options." "$3"
38 33
 
39 34
 #
40 35
 # RADDS with BLTouch, ABL(B), 3 x Z auto-align
41 36
 #
42 37
 restore_configs
43
-opt_set MOTHERBOARD BOARD_RADDS
38
+opt_set MOTHERBOARD BOARD_RADDS NUM_Z_STEPPER_DRIVERS 3
44 39
 opt_enable USE_XMAX_PLUG USE_YMAX_PLUG ENDSTOPPULLUPS BLTOUCH AUTO_BED_LEVELING_BILINEAR \
45 40
            Z_STEPPER_AUTO_ALIGN Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS Z_SAFE_HOMING
46 41
            #TOUCH_UI_FTDI_EVE LCD_ALEPHOBJECTS_CLCD_UI OTHER_PIN_LAYOUT
47
-opt_set NUM_Z_STEPPER_DRIVERS 3
48 42
 pins_set ramps/RAMPS X_MAX_PIN -1
49 43
 pins_set ramps/RAMPS Y_MAX_PIN -1
50 44
 exec_test $1 $2 "RADDS with ABL (Bilinear), Triple Z Axis, Z_STEPPER_AUTO_ALIGN" "$3"
@@ -53,9 +47,6 @@ exec_test $1 $2 "RADDS with ABL (Bilinear), Triple Z Axis, Z_STEPPER_AUTO_ALIGN"
53 47
 # Test SWITCHING_EXTRUDER
54 48
 #
55 49
 restore_configs
56
-opt_set LCD_LANGUAGE fi
57
-opt_set MOTHERBOARD BOARD_RAMPS4DUE_EEF
58
-opt_set EXTRUDERS 2
59
-opt_set NUM_SERVOS 1
50
+opt_set MOTHERBOARD BOARD_RAMPS4DUE_EEF LCD_LANGUAGE fi EXTRUDERS 2 NUM_SERVOS 1
60 51
 opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER BEEP_ON_FEEDRATE_CHANGE POWER_LOSS_RECOVERY
61 52
 exec_test $1 $2 "RAMPS4DUE_EEF with SWITCHING_EXTRUDER, POWER_LOSS_RECOVERY" "$3"

+ 1
- 4
buildroot/tests/FLYF407ZG-tests View File

@@ -8,10 +8,7 @@ set -e
8 8
 
9 9
 # Build examples
10 10
 restore_configs
11
-opt_set MOTHERBOARD BOARD_FLYF407ZG
12
-opt_set SERIAL_PORT -1
13
-opt_set X_DRIVER_TYPE TMC2208
14
-opt_set Y_DRIVER_TYPE TMC2130
11
+opt_set MOTHERBOARD BOARD_FLYF407ZG SERIAL_PORT -1 X_DRIVER_TYPE TMC2208 Y_DRIVER_TYPE TMC2130
15 12
 exec_test $1 $2 "FLYF407ZG Default Config with mixed TMC Drivers" "$3"
16 13
 
17 14
 # cleanup

+ 14
- 27
buildroot/tests/FYSETC_F6-tests View File

@@ -18,34 +18,24 @@ exec_test $1 $2 "FYSETC F6 1.3 with DGUS" "$3"
18 18
 # Delta Config (generic) + UBL + ALLEN_KEY + EEPROM_SETTINGS + OLED_PANEL_TINYBOY2
19 19
 #
20 20
 use_example_configs delta/generic
21
-opt_set MOTHERBOARD BOARD_FYSETC_F6_13
21
+opt_set MOTHERBOARD BOARD_FYSETC_F6_13 \
22
+        LCD_LANGUAGE ko_KR \
23
+        X_DRIVER_TYPE L6470 Y_DRIVER_TYPE L6470 Z_DRIVER_TYPE L6470 \
24
+        L6470_CHAIN_SCK_PIN 53 L6470_CHAIN_MISO_PIN 49 L6470_CHAIN_MOSI_PIN 40 L6470_CHAIN_SS_PIN 42 \
25
+        'ENABLE_RESET_L64XX_CHIPS(V)' NOOP
22 26
 opt_enable RESTORE_LEVELING_AFTER_G28 EEPROM_SETTINGS EEPROM_CHITCHAT \
23 27
            Z_PROBE_ALLEN_KEY AUTO_BED_LEVELING_UBL \
24 28
            OLED_PANEL_TINYBOY2 MESH_EDIT_GFX_OVERLAY DELTA_CALIBRATION_MENU
25
-opt_set LCD_LANGUAGE ko_KR
26
-opt_set X_DRIVER_TYPE L6470
27
-opt_set Y_DRIVER_TYPE L6470
28
-opt_set Z_DRIVER_TYPE L6470
29
-opt_add L6470_CHAIN_SCK_PIN  53
30
-opt_add L6470_CHAIN_MISO_PIN 49
31
-opt_add L6470_CHAIN_MOSI_PIN 40
32
-opt_add L6470_CHAIN_SS_PIN   42
33
-opt_add "ENABLE_RESET_L64XX_CHIPS(V) NOOP"
34 29
 exec_test $1 $2 "DELTA, RAMPS, L6470, UBL, Allen Key, EEPROM, OLED_PANEL_TINYBOY2..." "$3"
35 30
 
36 31
 #
37 32
 # Test mixed TMC config
38 33
 #
39 34
 restore_configs
40
-opt_set MOTHERBOARD BOARD_FYSETC_F6_13
41
-opt_set LCD_LANGUAGE vi
42
-opt_set LCD_LANGUAGE_2 fr
43
-opt_set X_DRIVER_TYPE TMC2160
44
-opt_set Y_DRIVER_TYPE TMC5160
45
-opt_set Z_DRIVER_TYPE TMC2208_STANDALONE
46
-opt_set E0_DRIVER_TYPE TMC2130
47
-opt_set X_MIN_ENDSTOP_INVERTING true
48
-opt_set Y_MIN_ENDSTOP_INVERTING true
35
+opt_set MOTHERBOARD BOARD_FYSETC_F6_13 \
36
+        LCD_LANGUAGE vi LCD_LANGUAGE_2 fr \
37
+        X_DRIVER_TYPE TMC2160 Y_DRIVER_TYPE TMC5160 Z_DRIVER_TYPE TMC2208_STANDALONE E0_DRIVER_TYPE TMC2130 \
38
+        X_MIN_ENDSTOP_INVERTING true Y_MIN_ENDSTOP_INVERTING true
49 39
 opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER \
50 40
            MARLIN_BRICKOUT MARLIN_INVADERS MARLIN_SNAKE \
51 41
            MONITOR_DRIVER_STATUS STEALTHCHOP_XY STEALTHCHOP_Z STEALTHCHOP_E HYBRID_THRESHOLD \
@@ -63,17 +53,14 @@ exec_test $1 $2 "RAMPS 1.3 | DELTA | FLSUN AC Config" "$3"
63 53
 # SCARA with Mixed TMC
64 54
 #
65 55
 use_example_configs SCARA/Morgan
66
-opt_set MOTHERBOARD BOARD_FYSETC_F6_13
67
-opt_set LCD_LANGUAGE es
56
+opt_set MOTHERBOARD BOARD_FYSETC_F6_13 \
57
+        LCD_LANGUAGE es \
58
+        X_MAX_ENDSTOP_INVERTING false \
59
+        X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2130 Z_DRIVER_TYPE TMC2130_STANDALONE E0_DRIVER_TYPE TMC2660 \
60
+        X_HARDWARE_SERIAL Serial2
68 61
 opt_enable USE_ZMIN_PLUG FIX_MOUNTED_PROBE AUTO_BED_LEVELING_BILINEAR PAUSE_BEFORE_DEPLOY_STOW \
69 62
            FYSETC_242_OLED_12864 EEPROM_SETTINGS EEPROM_CHITCHAT M114_DETAIL Z_SAFE_HOMING \
70 63
            STEALTHCHOP_XY STEALTHCHOP_Z STEALTHCHOP_E HYBRID_THRESHOLD SENSORLESS_HOMING SQUARE_WAVE_STEPPING
71
-opt_set X_MAX_ENDSTOP_INVERTING false
72
-opt_set X_DRIVER_TYPE TMC2209
73
-opt_set Y_DRIVER_TYPE TMC2130
74
-opt_set Z_DRIVER_TYPE TMC2130_STANDALONE
75
-opt_set E0_DRIVER_TYPE TMC2660
76
-opt_add X_HARDWARE_SERIAL Serial2
77 64
 exec_test $1 $2 "FYSETC_F6 | SCARA | Mixed TMC | EEPROM" "$3"
78 65
 
79 66
 # clean up

+ 1
- 2
buildroot/tests/FYSETC_S6-tests View File

@@ -10,8 +10,7 @@ set -e
10 10
 restore_configs
11 11
 use_example_configs FYSETC/S6
12 12
 opt_enable MEATPACK
13
-opt_set Y_DRIVER_TYPE TMC2209
14
-opt_set Z_DRIVER_TYPE TMC2130
13
+opt_set Y_DRIVER_TYPE TMC2209 Z_DRIVER_TYPE TMC2130
15 14
 exec_test $1 $2 "FYSETC S6 Example" "$3"
16 15
 
17 16
 # cleanup

+ 1
- 2
buildroot/tests/LERDGEX-tests View File

@@ -10,8 +10,7 @@ set -e
10 10
 # Build with the default configurations
11 11
 #
12 12
 restore_configs
13
-opt_set MOTHERBOARD BOARD_LERDGE_X
14
-opt_set SERIAL_PORT 1
13
+opt_set MOTHERBOARD BOARD_LERDGE_X SERIAL_PORT 1
15 14
 exec_test $1 $2 "LERDGE X with Default Configuration" "$3"
16 15
 
17 16
 # clean up

+ 9
- 14
buildroot/tests/LPC1768-tests View File

@@ -14,9 +14,8 @@ set -e
14 14
 #exec_test $1 $2 "Default Configuration" "$3"
15 15
 
16 16
 restore_configs
17
-opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
17
+opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB NEOPIXEL_PIN P1_16
18 18
 opt_enable VIKI2 SDSUPPORT SDCARD_READONLY SERIAL_PORT_2 NEOPIXEL_LED
19
-opt_set NEOPIXEL_PIN P1_16
20 19
 exec_test $1 $2 "ReARM EFB VIKI2, SDSUPPORT, 2 Serial ports (USB CDC + UART0), NeoPixel" "$3"
21 20
 
22 21
 #restore_configs
@@ -24,19 +23,18 @@ exec_test $1 $2 "ReARM EFB VIKI2, SDSUPPORT, 2 Serial ports (USB CDC + UART0), N
24 23
 #exec_test $1 $2 "MKS SBASE Example Config" "$3"
25 24
 
26 25
 restore_configs
27
-opt_set MOTHERBOARD BOARD_MKS_SBASE
28
-opt_set EXTRUDERS 2
29
-opt_set TEMP_SENSOR_1 1
30
-opt_set NUM_SERVOS 2
31
-opt_set SERVO_DELAY "{ 300, 300 }"
26
+opt_set MOTHERBOARD BOARD_MKS_SBASE \
27
+        EXTRUDERS 2 TEMP_SENSOR_1 1 \
28
+        NUM_SERVOS 2 SERVO_DELAY '{ 300, 300 }'
32 29
 opt_enable SWITCHING_NOZZLE SWITCHING_NOZZLE_E1_SERVO_NR ULTIMAKERCONTROLLER
33 30
 exec_test $1 $2 "MKS SBASE with SWITCHING_NOZZLE" "$3"
34 31
 
35 32
 restore_configs
36
-opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EEB
37
-opt_set EXTRUDERS 2
38
-opt_set TEMP_SENSOR_1 -1
39
-opt_set TEMP_SENSOR_BED 5
33
+opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EEB \
34
+        EXTRUDERS 2 TEMP_SENSOR_1 -1 TEMP_SENSOR_BED 5 \
35
+        GRID_MAX_POINTS_X 16 \
36
+        NOZZLE_TO_PROBE_OFFSET '{ 0, 0, 0 }' \
37
+        NOZZLE_CLEAN_MIN_TEMP 170
40 38
 opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER ADAPTIVE_FAN_SLOWING NO_FAN_SLOWING_IN_PID_TUNING \
41 39
            FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY PID_EXTRUSION_SCALING SOUND_MENU_ITEM \
42 40
            NOZZLE_AS_PROBE AUTO_BED_LEVELING_BILINEAR PREHEAT_BEFORE_LEVELING G29_RETRY_AND_RECOVER Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
@@ -46,9 +44,6 @@ opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER ADAPTIVE_FAN_SLOWING NO
46 44
            HOST_KEEPALIVE_FEATURE HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT \
47 45
            LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES \
48 46
            SDSUPPORT SDCARD_SORT_ALPHA AUTO_REPORT_SD_STATUS EMERGENCY_PARSER
49
-opt_set GRID_MAX_POINTS_X 16
50
-opt_set NOZZLE_TO_PROBE_OFFSET "{ 0, 0, 0 }"
51
-opt_set NOZZLE_CLEAN_MIN_TEMP 170
52 47
 exec_test $1 $2 "Re-ARM with NOZZLE_AS_PROBE and many features." "$3"
53 48
 
54 49
 # clean up

+ 6
- 12
buildroot/tests/LPC1769-tests View File

@@ -13,17 +13,15 @@ use_example_configs Azteeg/X5GT
13 13
 exec_test $1 $2 "Azteeg X5GT Example Configuration" "$3"
14 14
 
15 15
 restore_configs
16
-opt_set MOTHERBOARD BOARD_SMOOTHIEBOARD
17
-opt_set EXTRUDERS 2
18
-opt_set TEMP_SENSOR_1 -1
19
-opt_set TEMP_SENSOR_BED 5
16
+opt_set MOTHERBOARD BOARD_SMOOTHIEBOARD \
17
+        EXTRUDERS 2 TEMP_SENSOR_1 -1 TEMP_SENSOR_BED 5 \
18
+        GRID_MAX_POINTS_X 16
20 19
 opt_enable TFTGLCD_PANEL_SPI SDSUPPORT ADAPTIVE_FAN_SLOWING NO_FAN_SLOWING_IN_PID_TUNING \
21 20
            FIX_MOUNTED_PROBE AUTO_BED_LEVELING_BILINEAR G29_RETRY_AND_RECOVER Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
22 21
            BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET LEVEL_CORNERS_USE_PROBE LEVEL_CORNERS_VERIFY_RAISED \
23 22
            PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT \
24 23
            Z_SAFE_HOMING ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE \
25 24
            LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES SDCARD_SORT_ALPHA EMERGENCY_PARSER
26
-opt_set GRID_MAX_POINTS_X 16
27 25
 exec_test $1 $2 "Smoothieboard with TFTGLCD_PANEL_SPI and many features" "$3"
28 26
 
29 27
 #restore_configs
@@ -36,17 +34,13 @@ exec_test $1 $2 "Smoothieboard with TFTGLCD_PANEL_SPI and many features" "$3"
36 34
 #           SD_ABORT_ON_ENDSTOP_HIT ADVANCED_OK GCODE_MACROS \
37 35
 #           VOLUMETRIC_DEFAULT_ON NO_WORKSPACE_OFFSETS \
38 36
 #           EXTRA_FAN_SPEED FWRETRACT MENU_ADDAUTOSTART SDCARD_SORT_ALPHA
39
-#opt_set FAN_MIN_PWM 50
40
-#opt_set FAN_KICKSTART_TIME 100
41
-#opt_set XY_FREQUENCY_LIMIT  15
37
+#opt_set FAN_MIN_PWM 50 FAN_KICKSTART_TIME 100 XY_FREQUENCY_LIMIT  15
42 38
 #exec_test $1 $2 "Azteeg X5 MINI WIFI Many less common options" "$3"
43 39
 
44 40
 restore_configs
45 41
 use_example_configs delta/generic
46
-opt_set MOTHERBOARD BOARD_COHESION3D_REMIX
47
-opt_set X_DRIVER_TYPE TMC2130
48
-opt_set Y_DRIVER_TYPE TMC2130
49
-opt_set Z_DRIVER_TYPE TMC2130
42
+opt_set MOTHERBOARD BOARD_COHESION3D_REMIX \
43
+        X_DRIVER_TYPE TMC2130 Y_DRIVER_TYPE TMC2130 Z_DRIVER_TYPE TMC2130
50 44
 opt_enable AUTO_BED_LEVELING_BILINEAR EEPROM_SETTINGS EEPROM_CHITCHAT MECHANICAL_GANTRY_CALIBRATION \
51 45
            TMC_USE_SW_SPI MONITOR_DRIVER_STATUS STEALTHCHOP_XY STEALTHCHOP_Z HYBRID_THRESHOLD \
52 46
            SENSORLESS_PROBING Z_SAFE_HOMING X_STALL_SENSITIVITY Y_STALL_SENSITIVITY Z_STALL_SENSITIVITY TMC_DEBUG \

+ 1
- 4
buildroot/tests/NUCLEO_F767ZI-tests View File

@@ -10,11 +10,8 @@ set -e
10 10
 # Build with the default configurations
11 11
 #
12 12
 restore_configs
13
-opt_set MOTHERBOARD BOARD_NUCLEO_F767ZI
14
-opt_set SERIAL_PORT -1
13
+opt_set MOTHERBOARD BOARD_NUCLEO_F767ZI SERIAL_PORT -1 X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2208
15 14
 opt_enable BLTOUCH Z_SAFE_HOMING SPEAKER SOFTWARE_DRIVER_ENABLE
16
-opt_set X_DRIVER_TYPE TMC2209
17
-opt_set Y_DRIVER_TYPE TMC2208
18 15
 exec_test $1 $2 "Mixed timer usage" "$3"
19 16
 
20 17
 # clean up

+ 8
- 14
buildroot/tests/SAMD51_grandcentral_m4-tests View File

@@ -10,20 +10,14 @@ set -e
10 10
 # Build with the default configurations
11 11
 #
12 12
 restore_configs
13
-opt_set SERIAL_PORT -1
14
-opt_set MOTHERBOARD BOARD_AGCM4_RAMPS_144
15
-opt_set TEMP_SENSOR_0 11
16
-opt_set TEMP_SENSOR_BED 11
17
-opt_set X_DRIVER_TYPE TMC2209
18
-opt_set Y_DRIVER_TYPE TMC2209
19
-opt_set Z_DRIVER_TYPE TMC2209
20
-opt_set Z2_DRIVER_TYPE TMC2209
21
-opt_set E0_DRIVER_TYPE TMC2209
22
-opt_set RESTORE_LEVELING_AFTER_G28 false
23
-opt_set LCD_LANGUAGE it
24
-opt_set NUM_Z_STEPPER_DRIVERS 2
25
-opt_set HOMING_BUMP_MM "{ 0, 0, 0 }"
26
-opt_set SDCARD_CONNECTION LCD
13
+opt_set MOTHERBOARD BOARD_AGCM4_RAMPS_144 SERIAL_PORT -1 \
14
+        TEMP_SENSOR_0 11 TEMP_SENSOR_BED 11 \
15
+        X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2209 Z_DRIVER_TYPE TMC2209 Z2_DRIVER_TYPE TMC2209 E0_DRIVER_TYPE TMC2209 \
16
+        RESTORE_LEVELING_AFTER_G28 false \
17
+        LCD_LANGUAGE it \
18
+        SDCARD_CONNECTION LCD \
19
+        NUM_Z_STEPPER_DRIVERS 2 \
20
+        HOMING_BUMP_MM '{ 0, 0, 0 }'
27 21
 opt_enable ENDSTOP_INTERRUPTS_FEATURE S_CURVE_ACCELERATION BLTOUCH Z_MIN_PROBE_REPEATABILITY_TEST \
28 22
            FILAMENT_RUNOUT_SENSOR G26_MESH_VALIDATION MESH_EDIT_GFX_OVERLAY Z_SAFE_HOMING \
29 23
            EEPROM_SETTINGS NOZZLE_PARK_FEATURE SDSUPPORT SD_CHECK_AND_RETRY \

+ 1
- 2
buildroot/tests/STM32F070CB_malyan-tests View File

@@ -7,8 +7,7 @@
7 7
 set -e
8 8
 
9 9
 restore_configs
10
-opt_set MOTHERBOARD BOARD_MALYAN_M200_V2
11
-opt_set SERIAL_PORT -1
10
+opt_set MOTHERBOARD BOARD_MALYAN_M200_V2 SERIAL_PORT -1
12 11
 exec_test $1 $2 "Malyan M200 v2 Default Config" "$3"
13 12
 
14 13
 # cleanup

+ 2
- 7
buildroot/tests/STM32F103RC_btt-tests View File

@@ -10,13 +10,8 @@ set -e
10 10
 # Build with the default configurations
11 11
 #
12 12
 restore_configs
13
-opt_set MOTHERBOARD BOARD_BTT_SKR_MINI_E3_V1_0
14
-opt_set SERIAL_PORT 1
15
-opt_set SERIAL_PORT_2 -1
16
-opt_set X_DRIVER_TYPE TMC2209
17
-opt_set Y_DRIVER_TYPE TMC2209
18
-opt_set Z_DRIVER_TYPE TMC2209
19
-opt_set E0_DRIVER_TYPE TMC2209
13
+opt_set MOTHERBOARD BOARD_BTT_SKR_MINI_E3_V1_0 SERIAL_PORT 1 SERIAL_PORT_2 -1 \
14
+        X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2209 Z_DRIVER_TYPE TMC2209 E0_DRIVER_TYPE TMC2209
20 15
 opt_enable PINS_DEBUGGING Z_IDLE_HEIGHT
21 16
 
22 17
 exec_test $1 $2 "BigTreeTech SKR Mini E3 1.0 - Basic Config with TMC2209 HW Serial" "$3"

+ 1
- 3
buildroot/tests/STM32F103RC_btt_USB-tests View File

@@ -10,9 +10,7 @@ set -e
10 10
 # Build with the default configurations
11 11
 #
12 12
 restore_configs
13
-opt_set MOTHERBOARD BOARD_BTT_SKR_MINI_V1_1
14
-opt_set SERIAL_PORT 1
15
-opt_set SERIAL_PORT_2 -1
13
+opt_set MOTHERBOARD BOARD_BTT_SKR_MINI_V1_1 SERIAL_PORT 1 SERIAL_PORT_2 -1
16 14
 exec_test $1 $2 "BigTreeTech SKR Mini v1.1 - Basic Configuration" "$3"
17 15
 
18 16
 # clean up

+ 2
- 7
buildroot/tests/STM32F103RC_meeb-tests View File

@@ -10,13 +10,8 @@ set -e
10 10
 # Build with the default configurations
11 11
 #
12 12
 restore_configs
13
-opt_set MOTHERBOARD BOARD_CCROBOT_MEEB_3DP
14
-opt_set SERIAL_PORT 1
15
-opt_set SERIAL_PORT_2 -1
16
-opt_set X_DRIVER_TYPE TMC2208
17
-opt_set Y_DRIVER_TYPE TMC2208
18
-opt_set Z_DRIVER_TYPE TMC2208
19
-opt_set E0_DRIVER_TYPE TMC2208
13
+opt_set MOTHERBOARD BOARD_CCROBOT_MEEB_3DP SERIAL_PORT 1 SERIAL_PORT_2 -1 \
14
+        X_DRIVER_TYPE TMC2208 Y_DRIVER_TYPE TMC2208 Z_DRIVER_TYPE TMC2208 E0_DRIVER_TYPE TMC2208
20 15
 exec_test $1 $2 "MEEB_3DP - Basic Config with TMC2208 SW Serial" "$3"
21 16
 
22 17
 # clean up

+ 1
- 3
buildroot/tests/STM32F103RE-tests View File

@@ -10,9 +10,7 @@ set -e
10 10
 # Build with the default configurations
11 11
 #
12 12
 restore_configs
13
-opt_set MOTHERBOARD BOARD_STM32F103RE
14
-opt_set EXTRUDERS 2
15
-opt_set SERIAL_PORT -1
13
+opt_set MOTHERBOARD BOARD_STM32F103RE SERIAL_PORT -1 EXTRUDERS 2
16 14
 opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT \
17 15
            PAREN_COMMENTS GCODE_MOTION_MODES SINGLENOZZLE TOOLCHANGE_FILAMENT_SWAP TOOLCHANGE_PARK \
18 16
            BAUD_RATE_GCODE GCODE_MACROS NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE

+ 3
- 4
buildroot/tests/STM32F103RET6_creality-tests View File

@@ -19,11 +19,10 @@ opt_add SDCARD_EEPROM_EMULATION
19 19
 exec_test $1 $2 "Ender 3 v2, SD EEPROM, w/o CLASSIC_JERK" "$3"
20 20
 
21 21
 restore_configs
22
-opt_set SERIAL_PORT 1
23
-opt_set MOTHERBOARD BOARD_CREALITY_V452
22
+opt_set MOTHERBOARD BOARD_CREALITY_V452 SERIAL_PORT 1
24 23
 opt_disable NOZZLE_TO_PROBE_OFFSET
25
-opt_enable NOZZLE_AS_PROBE Z_SAFE_HOMING Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
26
-opt_enable PROBE_ACTIVATION_SWITCH PROBE_TARE PROBE_TARE_ONLY_WHILE_INACTIVE
24
+opt_enable NOZZLE_AS_PROBE Z_SAFE_HOMING Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN \
25
+           PROBE_ACTIVATION_SWITCH PROBE_TARE PROBE_TARE_ONLY_WHILE_INACTIVE
27 26
 exec_test $1 $2 "Creality V4.5.2 PROBE_ACTIVATION_SWITCH, Probe Tare" "$3"
28 27
 
29 28
 # clean up

+ 4
- 6
buildroot/tests/STM32F103RE_btt-tests View File

@@ -10,12 +10,10 @@ set -e
10 10
 # Build with the default configurations
11 11
 #
12 12
 restore_configs
13
-opt_set MOTHERBOARD BOARD_BTT_SKR_E3_DIP
14
-opt_set SERIAL_PORT 1
15
-opt_set SERIAL_PORT_2 -1
16
-opt_set X_DRIVER_TYPE TMC2209
17
-opt_set Y_DRIVER_TYPE TMC2130
18
-exec_test $1 $2 "BigTreeTech SKR E3 DIP v1.0 - Basic Config with mixed TMC Drivers" "$3"
13
+opt_set MOTHERBOARD BOARD_BTT_SKR_E3_DIP \
14
+        SERIAL_PORT 1 SERIAL_PORT_2 -1 \
15
+        X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2130
16
+exec_test $1 $2 "BTT SKR E3 DIP 1.0 | Mixed TMC Drivers" "$3"
19 17
 
20 18
 # clean up
21 19
 restore_configs

+ 2
- 7
buildroot/tests/STM32F103RE_btt_USB-tests View File

@@ -10,16 +10,11 @@ set -e
10 10
 # Build with the default configurations
11 11
 #
12 12
 restore_configs
13
-opt_set MOTHERBOARD BOARD_BTT_SKR_E3_DIP
14
-opt_set SERIAL_PORT 1
15
-opt_set SERIAL_PORT_2 -1
13
+opt_set MOTHERBOARD BOARD_BTT_SKR_E3_DIP SERIAL_PORT 1 SERIAL_PORT_2 -1
16 14
 exec_test $1 $2 "BigTreeTech SKR E3 DIP v1.0 - Basic Configuration" "$3"
17 15
 
18 16
 restore_configs
19
-opt_set MOTHERBOARD BOARD_BTT_SKR_CR6
20
-opt_set SERIAL_PORT -1
21
-opt_set SERIAL_PORT_2 2
22
-opt_set TEMP_SENSOR_BED 1
17
+opt_set MOTHERBOARD BOARD_BTT_SKR_CR6 SERIAL_PORT -1 SERIAL_PORT_2 2 TEMP_SENSOR_BED 1
23 18
 opt_enable CR10_STOCKDISPLAY \
24 19
            NOZZLE_AS_PROBE Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN Z_SAFE_HOMING \
25 20
            PROBE_ACTIVATION_SWITCH PROBE_TARE PROBE_TARE_ONLY_WHILE_INACTIVE \

+ 1
- 2
buildroot/tests/STM32F401VE_STEVAL-tests View File

@@ -8,8 +8,7 @@ set -e
8 8
 
9 9
 # Build examples
10 10
 restore_configs
11
-opt_set MOTHERBOARD BOARD_STEVAL_3DP001V1
12
-opt_set SERIAL_PORT -1
11
+opt_set MOTHERBOARD BOARD_STEVAL_3DP001V1 SERIAL_PORT -1
13 12
 exec_test $1 $2 "STM32F401VE_STEVAL Default Config" "$3"
14 13
 
15 14
 # cleanup

+ 6
- 17
buildroot/tests/esp32-tests View File

@@ -10,30 +10,19 @@ set -e
10 10
 # Build with the default configurations
11 11
 #
12 12
 restore_configs
13
-opt_set MOTHERBOARD BOARD_ESPRESSIF_ESP32
13
+opt_set MOTHERBOARD BOARD_ESPRESSIF_ESP32 TX_BUFFER_SIZE 64 \
14
+        WIFI_SSID '"ssid"' WIFI_PWD '"password"'
14 15
 opt_enable WIFISUPPORT WEBSUPPORT GCODE_MACROS BAUD_RATE_GCODE M115_GEOMETRY_REPORT REPETIER_GCODE_M360
15
-opt_add WIFI_SSID "\"ssid\""
16
-opt_add WIFI_PWD "\"password\""
17
-opt_set TX_BUFFER_SIZE 64
18 16
 exec_test $1 $2 "ESP32 with WIFISUPPORT and WEBSUPPORT" "$3"
19 17
 
20 18
 #
21 19
 # Build with TMC drivers using hardware serial
22 20
 #
23 21
 restore_configs
24
-opt_set MOTHERBOARD BOARD_ESPRESSIF_ESP32
25
-opt_set X_DRIVER_TYPE TMC2209
26
-opt_set Y_DRIVER_TYPE TMC2208
27
-opt_set Z_DRIVER_TYPE TMC2209
28
-opt_set E0_DRIVER_TYPE TMC2209
29
-opt_set X_HARDWARE_SERIAL Serial1
30
-opt_set Y_HARDWARE_SERIAL Serial1
31
-opt_set Z_HARDWARE_SERIAL Serial1
32
-opt_set E0_HARDWARE_SERIAL Serial1
33
-opt_set X_SLAVE_ADDRESS 0
34
-opt_set Y_SLAVE_ADDRESS 1
35
-opt_set Z_SLAVE_ADDRESS 2
36
-opt_set E0_SLAVE_ADDRESS 3
22
+opt_set MOTHERBOARD BOARD_ESPRESSIF_ESP32 \
23
+        X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2208 Z_DRIVER_TYPE TMC2209 E0_DRIVER_TYPE TMC2209 \
24
+        X_HARDWARE_SERIAL Serial1 Y_HARDWARE_SERIAL Serial1 Z_HARDWARE_SERIAL Serial1 E0_HARDWARE_SERIAL Serial1 \
25
+        X_SLAVE_ADDRESS 0 Y_SLAVE_ADDRESS 1 Z_SLAVE_ADDRESS 2 E0_SLAVE_ADDRESS 3
37 26
 opt_enable HOTEND_IDLE_TIMEOUT SOFTWARE_DRIVER_ENABLE
38 27
 exec_test $1 $2 "ESP32, TMC HW Serial, Hotend Idle" "$3"
39 28
 

+ 1
- 2
buildroot/tests/linux_native-tests View File

@@ -10,8 +10,7 @@ set -e
10 10
 # Build with the default configurations
11 11
 #
12 12
 restore_configs
13
-opt_set MOTHERBOARD BOARD_LINUX_RAMPS
14
-opt_set TEMP_SENSOR_BED 1
13
+opt_set MOTHERBOARD BOARD_LINUX_RAMPS TEMP_SENSOR_BED 1
15 14
 opt_enable PIDTEMPBED EEPROM_SETTINGS BAUD_RATE_GCODE
16 15
 exec_test $1 $2 "Linux with EEPROM" "$3"
17 16
 

+ 6
- 10
buildroot/tests/mega1280-tests View File

@@ -16,29 +16,25 @@ set -e
16 16
 # Test MESH_BED_LEVELING feature, with LCD
17 17
 #
18 18
 restore_configs
19
-opt_set LCD_LANGUAGE an
19
+opt_set LCD_LANGUAGE an \
20
+        POWER_MONITOR_CURRENT_PIN 14 POWER_MONITOR_VOLTAGE_PIN 15 \
21
+        CLOSED_LOOP_ENABLE_PIN 44 CLOSED_LOOP_MOVE_COMPLETE_PIN 45
20 22
 opt_enable SPINDLE_FEATURE ULTIMAKERCONTROLLER LCD_BED_LEVELING \
21 23
            EEPROM_SETTINGS EEPROM_BOOT_SILENT EEPROM_AUTO_INIT \
22 24
            SENSORLESS_BACKOFF_MM HOMING_BACKOFF_POST_MM HOME_Y_BEFORE_X CODEPENDENT_XY_HOMING \
23 25
            MESH_BED_LEVELING ENABLE_LEVELING_FADE_HEIGHT MESH_G28_REST_ORIGIN \
24 26
            G26_MESH_VALIDATION MESH_EDIT_MENU GCODE_QUOTED_STRINGS \
25 27
            EXTERNAL_CLOSED_LOOP_CONTROLLER POWER_MONITOR_CURRENT POWER_MONITOR_VOLTAGE
26
-opt_set POWER_MONITOR_CURRENT_PIN 14
27
-opt_set POWER_MONITOR_VOLTAGE_PIN 15
28
-opt_set CLOSED_LOOP_ENABLE_PIN 44
29
-opt_set CLOSED_LOOP_MOVE_COMPLETE_PIN 45
30 28
 exec_test $1 $2 "Spindle, MESH_BED_LEVELING, closed loop, Power Monitor, and LCD" "$3"
31 29
 
32 30
 #
33 31
 # Test DUAL_X_CARRIAGE
34 32
 #
35 33
 restore_configs
36
-opt_set MOTHERBOARD BOARD_ZRIB_V52
37
-opt_set LCD_LANGUAGE pt
38
-opt_set EXTRUDERS 2
39
-opt_set TEMP_SENSOR_1 1
34
+opt_set MOTHERBOARD BOARD_ZRIB_V52 \
35
+        LCD_LANGUAGE pt REPRAPWORLD_KEYPAD_MOVE_STEP 10.0 \
36
+        EXTRUDERS 2 TEMP_SENSOR_1 1
40 37
 opt_enable USE_XMAX_PLUG DUAL_X_CARRIAGE REPRAPWORLD_KEYPAD
41
-opt_set REPRAPWORLD_KEYPAD_MOVE_STEP 10.0
42 38
 exec_test $1 $2 "ZRIB_V52 | DUAL_X_CARRIAGE" "$3"
43 39
 
44 40
 #

+ 21
- 56
buildroot/tests/mega2560-tests View File

@@ -16,17 +16,10 @@ set -e
16 16
 # Test a probeless build of AUTO_BED_LEVELING_UBL, with lots of extruders
17 17
 #
18 18
 use_example_configs AnimationExample
19
-opt_set SHOW_CUSTOM_BOOTSCREEN
20
-opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
21
-opt_set LCD_LANGUAGE fr
22
-opt_set EXTRUDERS 5
23
-opt_set TEMP_SENSOR_1 1
24
-opt_set TEMP_SENSOR_2 5
25
-opt_set TEMP_SENSOR_3 20
26
-opt_set TEMP_SENSOR_4 1000
27
-opt_set TEMP_SENSOR_BED 1
19
+opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO LCD_LANGUAGE fr \
20
+        EXTRUDERS 5 TEMP_SENSOR_1 1 TEMP_SENSOR_2 5 TEMP_SENSOR_3 20 TEMP_SENSOR_4 1000 TEMP_SENSOR_BED 1
28 21
 opt_enable AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 DEBUG_LEVELING_FEATURE G26_MESH_VALIDATION ENABLE_LEVELING_FADE_HEIGHT SKEW_CORRECTION \
29
-           REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LIGHTWEIGHT_UI STATUS_MESSAGE_SCROLLING BOOT_MARLIN_LOGO_SMALL \
22
+           REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LIGHTWEIGHT_UI STATUS_MESSAGE_SCROLLING SHOW_CUSTOM_BOOTSCREEN BOOT_MARLIN_LOGO_SMALL \
30 23
            SDSUPPORT SDCARD_SORT_ALPHA USB_FLASH_DRIVE_SUPPORT AUTO_REPORT_SD_STATUS SCROLL_LONG_FILENAMES CANCEL_OBJECTS SOUND_MENU_ITEM \
31 24
            EEPROM_SETTINGS EEPROM_CHITCHAT GCODE_MACROS CUSTOM_USER_MENUS \
32 25
            MULTI_NOZZLE_DUPLICATION CLASSIC_JERK LIN_ADVANCE EXTRA_LIN_ADVANCE_K QUICK_HOME \
@@ -38,26 +31,18 @@ exec_test $1 $2 "Azteeg X3 Pro | EXTRUDERS 5 | RRDFGSC | UBL | LIN_ADVANCE ..."
38 31
 # Add a Sled Z Probe, use UBL Cartesian moves, use Japanese language
39 32
 #
40 33
 use_example_configs AnimationExample
41
-opt_set SHOW_CUSTOM_BOOTSCREEN
42
-opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
43
-opt_set LCD_LANGUAGE fr
44
-opt_set EXTRUDERS 5
45
-opt_set TEMP_SENSOR_1 1
46
-opt_set TEMP_SENSOR_2 5
47
-opt_set TEMP_SENSOR_3 20
48
-opt_set TEMP_SENSOR_4 1000
49
-opt_set TEMP_SENSOR_BED 1
50
-opt_enable AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 DEBUG_LEVELING_FEATURE G26_MESH_VALIDATION ENABLE_LEVELING_FADE_HEIGHT SKEW_CORRECTION \
51
-           REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LIGHTWEIGHT_UI STATUS_MESSAGE_SCROLLING BOOT_MARLIN_LOGO_SMALL \
52
-           SDSUPPORT SDCARD_SORT_ALPHA USB_FLASH_DRIVE_SUPPORT SCROLL_LONG_FILENAMES CANCEL_OBJECTS NO_SD_AUTOSTART \
34
+opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO LCD_LANGUAGE jp_kana \
35
+        EXTRUDERS 5 TEMP_SENSOR_1 1 TEMP_SENSOR_2 5 TEMP_SENSOR_3 20 TEMP_SENSOR_4 1000 TEMP_SENSOR_BED 1
36
+opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LIGHTWEIGHT_UI SHOW_CUSTOM_BOOTSCREEN BOOT_MARLIN_LOGO_SMALL \
37
+           LCD_SET_PROGRESS_MANUALLY PRINT_PROGRESS_SHOW_DECIMALS SHOW_REMAINING_TIME STATUS_MESSAGE_SCROLLING SCROLL_LONG_FILENAMES \
38
+           SDSUPPORT SDCARD_SORT_ALPHA NO_SD_AUTOSTART USB_FLASH_DRIVE_SUPPORT CANCEL_OBJECTS \
39
+           Z_PROBE_SLED AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 DEBUG_LEVELING_FEATURE G26_MESH_VALIDATION ENABLE_LEVELING_FADE_HEIGHT \
53 40
            EEPROM_SETTINGS EEPROM_CHITCHAT GCODE_MACROS CUSTOM_USER_MENUS \
54 41
            MULTI_NOZZLE_DUPLICATION CLASSIC_JERK LIN_ADVANCE QUICK_HOME \
55
-           LCD_SET_PROGRESS_MANUALLY PRINT_PROGRESS_SHOW_DECIMALS SHOW_REMAINING_TIME \
56
-           BABYSTEPPING BABYSTEP_XY NANODLP_Z_SYNC I2C_POSITION_ENCODERS M114_DETAIL \
57
-           Z_PROBE_SLED SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE
58
-opt_set LCD_LANGUAGE jp_kana
42
+           NANODLP_Z_SYNC I2C_POSITION_ENCODERS M114_DETAIL \
43
+           SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE \
44
+           BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET DOUBLECLICK_FOR_Z_BABYSTEPPING BABYSTEP_HOTEND_Z_OFFSET BABYSTEP_DISPLAY_TOTAL
59 45
 opt_disable SEGMENT_LEVELED_MOVES
60
-opt_enable BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET DOUBLECLICK_FOR_Z_BABYSTEPPING BABYSTEP_HOTEND_Z_OFFSET BABYSTEP_DISPLAY_TOTAL M114_DETAIL
61 46
 exec_test $1 $2 "Azteeg X3 Pro | EXTRUDERS 5 | RRDFGSC | UBL | LIN_ADVANCE | Sled Probe | Skew | JP-Kana | Babystep offsets ..." "$3"
62 47
 
63 48
 
@@ -65,25 +50,16 @@ exec_test $1 $2 "Azteeg X3 Pro | EXTRUDERS 5 | RRDFGSC | UBL | LIN_ADVANCE | Sle
65 50
 # 5 runout sensors with distinct states
66 51
 #
67 52
 restore_configs
68
-opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
69
-opt_set EXTRUDERS 5
70
-opt_set NUM_SERVOS 1
71
-opt_set TEMP_SENSOR_1 1
72
-opt_set TEMP_SENSOR_2 1
73
-opt_set TEMP_SENSOR_3 1
74
-opt_set TEMP_SENSOR_4 1
53
+opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO NUM_SERVOS 1 \
54
+        EXTRUDERS 5 TEMP_SENSOR_1 1 TEMP_SENSOR_2 1 TEMP_SENSOR_3 1 TEMP_SENSOR_4 1 \
55
+        NUM_RUNOUT_SENSORS 5 FIL_RUNOUT2_PIN 44 FIL_RUNOUT3_PIN 45 FIL_RUNOUT4_PIN 46 FIL_RUNOUT5_PIN 47 \
56
+        FIL_RUNOUT3_STATE HIGH
75 57
 opt_enable VIKI2 BOOT_MARLIN_LOGO_ANIMATED SDSUPPORT AUTO_REPORT_SD_STATUS \
76 58
            Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE \
77 59
            EEPROM_SETTINGS EEPROM_CHITCHAT M114_DETAIL \
78 60
            NO_VOLUMETRICS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET JOYSTICK \
79 61
            DIRECT_STEPPING DETECT_BROKEN_ENDSTOP \
80 62
            FILAMENT_RUNOUT_SENSOR NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE Z_SAFE_HOMING FIL_RUNOUT3_PULLUP
81
-opt_set NUM_RUNOUT_SENSORS 5
82
-opt_set FIL_RUNOUT2_PIN 44
83
-opt_set FIL_RUNOUT3_PIN 45
84
-opt_set FIL_RUNOUT3_STATE HIGH
85
-opt_set FIL_RUNOUT4_PIN 46
86
-opt_set FIL_RUNOUT5_PIN 47
87 63
 exec_test $1 $2 "Multiple runout sensors (x5) | Distinct runout states" "$3"
88 64
 
89 65
 
@@ -91,27 +67,19 @@ exec_test $1 $2 "Multiple runout sensors (x5) | Distinct runout states" "$3"
91 67
 # Mixing Extruder with 5 steppers, Greek
92 68
 #
93 69
 restore_configs
94
-opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
95
-opt_set LCD_LANGUAGE el_gr
70
+opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO MIXING_STEPPERS 5 LCD_LANGUAGE ru \
71
+        NUM_RUNOUT_SENSORS E_STEPPERS FIL_RUNOUT2_PIN 16 FIL_RUNOUT3_PIN 17 FIL_RUNOUT4_PIN 4 FIL_RUNOUT5_PIN 5
96 72
 opt_enable MIXING_EXTRUDER GRADIENT_MIX GRADIENT_VTOOL CR10_STOCKDISPLAY \
97 73
            USE_CONTROLLER_FAN CONTROLLER_FAN_EDITABLE CONTROLLER_FAN_IGNORE_Z \
98 74
            FILAMENT_RUNOUT_SENSOR ADVANCED_PAUSE_FEATURE NOZZLE_PARK_FEATURE
99
-opt_set MIXING_STEPPERS 5
100
-opt_set NUM_RUNOUT_SENSORS E_STEPPERS
101
-opt_set FIL_RUNOUT2_PIN 16
102
-opt_set FIL_RUNOUT3_PIN 17
103
-opt_set FIL_RUNOUT4_PIN  4
104
-opt_set FIL_RUNOUT5_PIN  5
105
-opt_set LCD_LANGUAGE ru
106 75
 exec_test $1 $2 "Azteeg X3 | Mixing Extruder (x5) | Gradient Mix | Greek" "$3"
107 76
 
108 77
 #
109 78
 # Test SPEAKER with BOARD_BQ_ZUM_MEGA_3D and BQ_LCD_SMART_CONTROLLER
110 79
 #
111 80
 #restore_configs
112
-#opt_set MOTHERBOARD BOARD_BQ_ZUM_MEGA_3D
113
-#opt_set LCD_FEEDBACK_FREQUENCY_DURATION_MS 10
114
-#opt_set LCD_FEEDBACK_FREQUENCY_HZ 100
81
+#opt_set MOTHERBOARD BOARD_BQ_ZUM_MEGA_3D \
82
+#        LCD_FEEDBACK_FREQUENCY_DURATION_MS 10 LCD_FEEDBACK_FREQUENCY_HZ 100
115 83
 #opt_enable BQ_LCD_SMART_CONTROLLER SPEAKER
116 84
 
117 85
 #
@@ -153,10 +121,7 @@ exec_test $1 $2 "Azteeg X3 | Mixing Extruder (x5) | Gradient Mix | Greek" "$3"
153 121
 #
154 122
 #restore_configs
155 123
 #opt_enable G3D_PANEL SDSUPPORT SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING SCROLL_LONG_FILENAMES
156
-#opt_set SDSORT_GCODE true
157
-#opt_set SDSORT_USES_RAM true
158
-#opt_set SDSORT_USES_STACK true
159
-#opt_set SDSORT_CACHE_NAMES true
124
+#opt_set SDSORT_GCODE true SDSORT_USES_RAM true SDSORT_USES_STACK true SDSORT_CACHE_NAMES true
160 125
 #exec_test $1 $2 "Stuff" "$3"
161 126
 #
162 127
 # REPRAPWORLD_KEYPAD

+ 2
- 4
buildroot/tests/mks_robin_lite-tests View File

@@ -7,10 +7,8 @@
7 7
 set -e
8 8
 
9 9
 restore_configs
10
-opt_set MOTHERBOARD BOARD_MKS_ROBIN_LITE
11
-opt_set SERIAL_PORT 1
12
-opt_enable EEPROM_SETTINGS
13
-opt_enable SDSUPPORT
10
+opt_set MOTHERBOARD BOARD_MKS_ROBIN_LITE SERIAL_PORT 1
11
+opt_enable EEPROM_SETTINGS SDSUPPORT
14 12
 exec_test $1 $2 "Default Configuration with Fallback SD EEPROM" "$3"
15 13
 
16 14
 # cleanup

+ 1
- 3
buildroot/tests/mks_robin_mini-tests View File

@@ -8,9 +8,7 @@
8 8
 set -e
9 9
 
10 10
 use_example_configs Mks/Robin
11
-opt_set MOTHERBOARD BOARD_MKS_ROBIN_MINI
12
-opt_set EXTRUDERS 1
13
-opt_set TEMP_SENSOR_1 0
11
+opt_set MOTHERBOARD BOARD_MKS_ROBIN_MINI EXTRUDERS 1 TEMP_SENSOR_1 0
14 12
 exec_test $1 $2 "MKS Robin mini" "$3"
15 13
 
16 14
 # cleanup

+ 1
- 3
buildroot/tests/mks_robin_nano35-tests View File

@@ -49,11 +49,9 @@ exec_test $1 $2 "MKS Robin v2 nano New Color UI 480x320 SPI" "$3"
49 49
 # (Robin v2 nano has no FSMC interface)
50 50
 #
51 51
 use_example_configs Mks/Robin
52
-opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
52
+opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2 X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2209
53 53
 opt_disable TFT_INTERFACE_FSMC TFT_COLOR_UI TOUCH_SCREEN TFT_RES_320x240
54 54
 opt_enable TFT_INTERFACE_SPI TFT_LVGL_UI TFT_RES_480x320
55
-opt_set X_DRIVER_TYPE TMC2209
56
-opt_set Y_DRIVER_TYPE TMC2209
57 55
 exec_test $1 $2 "MKS Robin v2 nano LVGL SPI + TMC" "$3"
58 56
 
59 57
 #

+ 1
- 3
buildroot/tests/mks_robin_nano35_stm32-tests View File

@@ -58,11 +58,9 @@ exec_test $1 $2 "MKS Robin v2 nano New Color UI 480x320 SPI" "$3"
58 58
 # (Robin v2 nano has no FSMC interface)
59 59
 #
60 60
 # use_example_configs Mks/Robin
61
-# opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
61
+# opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2 X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2209
62 62
 # opt_disable TFT_INTERFACE_FSMC TFT_COLOR_UI TOUCH_SCREEN TFT_RES_320x240
63 63
 # opt_enable TFT_INTERFACE_SPI TFT_LVGL_UI TFT_RES_480x320
64
-# opt_set X_DRIVER_TYPE TMC2209
65
-# opt_set Y_DRIVER_TYPE TMC2209
66 64
 # exec_test $1 $2 "MKS Robin v2 nano LVGL SPI + TMC" "$3"
67 65
 
68 66
 # cleanup

+ 5
- 7
buildroot/tests/mks_robin_pro-tests View File

@@ -8,13 +8,11 @@ set -e
8 8
 
9 9
 use_example_configs Mks/Robin_Pro
10 10
 opt_enable EMERGENCY_PARSER
11
-opt_set SERIAL_PORT 3
12
-opt_disable SERIAL_PORT_2
13
-opt_set SDCARD_CONNECTION LCD
14
-opt_set X_DRIVER_TYPE TMC2209
15
-opt_set Y_DRIVER_TYPE TMC2130
16
-opt_set TEMP_SENSOR_BED 1
17
-opt_disable THERMAL_PROTECTION_HOTENDS
11
+opt_set SERIAL_PORT 3 \
12
+        SDCARD_CONNECTION LCD \
13
+        X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2130 \
14
+        TEMP_SENSOR_BED 1
15
+opt_disable SERIAL_PORT_2 THERMAL_PROTECTION_HOTENDS
18 16
 exec_test $1 $2 "MKS Robin Pro, TMC Drivers, no thermal protection" "$3"
19 17
 
20 18
 # cleanup

+ 27
- 44
buildroot/tests/rambo-tests View File

@@ -10,22 +10,14 @@ set -e
10 10
 # Lots of options - Formerly the first Mega2560 test
11 11
 #
12 12
 restore_configs
13
-opt_set MOTHERBOARD BOARD_RAMBO
14
-opt_set EXTRUDERS 2
15
-opt_set TEMP_SENSOR_0 -2
16
-opt_set TEMP_SENSOR_1 1
17
-opt_set TEMP_SENSOR_BED 2
18
-opt_set TEMP_SENSOR_PROBE 1
19
-opt_add TEMP_PROBE_PIN 12
20
-opt_set TEMP_SENSOR_CHAMBER 3
21
-opt_add TEMP_CHAMBER_PIN 3
22
-opt_add HEATER_CHAMBER_PIN 45
23
-opt_set GRID_MAX_POINTS_X 16
24
-opt_set FANMUX0_PIN 53
25
-opt_set Z_HOME_DIR 1
26
-opt_enable USE_ZMAX_PLUG
13
+opt_set MOTHERBOARD BOARD_RAMBO \
14
+        EXTRUDERS 2 TEMP_SENSOR_0 -2 TEMP_SENSOR_1 1 TEMP_SENSOR_BED 2 \
15
+        TEMP_SENSOR_PROBE 1 TEMP_PROBE_PIN 12 \
16
+        TEMP_SENSOR_CHAMBER 3 TEMP_CHAMBER_PIN 3 HEATER_CHAMBER_PIN 45 \
17
+        Z_HOME_DIR 1 GRID_MAX_POINTS_X 16 \
18
+        FANMUX0_PIN 53
27 19
 opt_disable USE_ZMIN_PLUG Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN USE_WATCHDOG
28
-opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER LCD_PROGRESS_BAR LCD_PROGRESS_BAR_TEST \
20
+opt_enable USE_ZMAX_PLUG REPRAP_DISCOUNT_SMART_CONTROLLER LCD_PROGRESS_BAR LCD_PROGRESS_BAR_TEST \
29 21
            FIX_MOUNTED_PROBE CODEPENDENT_XY_HOMING PIDTEMPBED PROBE_TEMP_COMPENSATION \
30 22
            PREHEAT_BEFORE_PROBING PROBING_HEATERS_OFF PROBING_FANS_OFF PROBING_STEPPERS_OFF WAIT_FOR_BED_HEATER \
31 23
            EEPROM_SETTINGS SDSUPPORT SD_REPRINT_LAST_SELECTED_FILE BINARY_FILE_TRANSFER \
@@ -50,12 +42,10 @@ exec_test $1 $2 "RAMBO | EXTRUDERS 2 | CHAR LCD + SD | FIX Probe | ABL-Linear |
50 42
 # Full size Rambo Dual Endstop CNC
51 43
 #
52 44
 restore_configs
53
-opt_set MOTHERBOARD BOARD_RAMBO
54
-opt_set EXTRUDERS 0
55
-opt_set TEMP_SENSOR_0 999
56
-opt_set DUMMY_THERMISTOR_999_VALUE 170
57
-opt_set DIGIPOT_MOTOR_CURRENT '{ 120, 120, 120, 120, 120 }'
58
-opt_set LEVEL_CORNERS_LEVELING_ORDER '{ LF, RF }'
45
+opt_set MOTHERBOARD BOARD_RAMBO \
46
+        EXTRUDERS 0 TEMP_SENSOR_0 999 DUMMY_THERMISTOR_999_VALUE 170 \
47
+        DIGIPOT_MOTOR_CURRENT '{ 120, 120, 120, 120, 120 }' \
48
+        LEVEL_CORNERS_LEVELING_ORDER '{ LF, RF }'
59 49
 opt_enable USE_XMAX_PLUG USE_YMAX_PLUG USE_ZMAX_PLUG \
60 50
            REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER REVERSE_ENCODER_DIRECTION SDSUPPORT EEPROM_SETTINGS \
61 51
            S_CURVE_ACCELERATION X_DUAL_STEPPER_DRIVERS X_DUAL_ENDSTOPS Y_DUAL_STEPPER_DRIVERS Y_DUAL_ENDSTOPS \
@@ -68,9 +58,7 @@ exec_test $1 $2 "Rambo CNC Configuration" "$3"
68 58
 # Rambo heated bed only
69 59
 #
70 60
 restore_configs
71
-opt_set MOTHERBOARD BOARD_RAMBO
72
-opt_set EXTRUDERS 0
73
-opt_set TEMP_SENSOR_BED 1
61
+opt_set MOTHERBOARD BOARD_RAMBO EXTRUDERS 0 TEMP_SENSOR_BED 1
74 62
 opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
75 63
 exec_test $1 $2 "Rambo heated bed only" "$3"
76 64
 
@@ -78,18 +66,18 @@ exec_test $1 $2 "Rambo heated bed only" "$3"
78 66
 # Build with the default configurations
79 67
 #
80 68
 restore_configs
81
-opt_set MOTHERBOARD BOARD_EINSY_RAMBO
82
-opt_set X_DRIVER_TYPE TMC2130
83
-opt_set Y_DRIVER_TYPE TMC2130
84
-opt_set Z_DRIVER_TYPE TMC2130
85
-opt_set E0_DRIVER_TYPE TMC2130
69
+opt_set MOTHERBOARD BOARD_EINSY_RAMBO \
70
+        X_DRIVER_TYPE TMC2130 Y_DRIVER_TYPE TMC2130 Z_DRIVER_TYPE TMC2130 E0_DRIVER_TYPE TMC2130
86 71
 exec_test $1 $2 "Einsy RAMBo with TMC2130" "$3"
87 72
 
88 73
 #
89 74
 # Test MINIRAMBO with PWM_MOTOR_CURRENT and many features
90 75
 #
91 76
 restore_configs
92
-opt_set MOTHERBOARD BOARD_MINIRAMBO
77
+opt_set MOTHERBOARD BOARD_MINIRAMBO \
78
+        CONTROLLERFAN_SPEED_IDLE 128 \
79
+        PWM_MOTOR_CURRENT '{ 1300, 1300, 1250 }' \
80
+        I2C_SLAVE_ADDRESS 63
93 81
 opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER \
94 82
           SDSUPPORT PCA9632 SOUND_MENU_ITEM GCODE_REPEAT_MARKERS \
95 83
           AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY LCD_BED_LEVELING G26_MESH_VALIDATION MESH_EDIT_MENU \
@@ -98,23 +86,23 @@ opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CO
98 86
           NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE \
99 87
           ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE ADVANCED_PAUSE_CONTINUOUS_PURGE FILAMENT_LOAD_UNLOAD_GCODES \
100 88
           PRINTCOUNTER SERVICE_NAME_1 SERVICE_INTERVAL_1 M114_DETAIL
101
-opt_set CONTROLLERFAN_SPEED_IDLE 128
102 89
 opt_add M100_FREE_MEMORY_DUMPER
103 90
 opt_add M100_FREE_MEMORY_CORRUPTOR
104
-opt_set PWM_MOTOR_CURRENT "{ 1300, 1300, 1250 }"
105
-opt_set I2C_SLAVE_ADDRESS 63
106 91
 exec_test $1 $2 "MINIRAMBO | RRDGFSC | M100 | PWM_MOTOR_CURRENT | PRINTCOUNTER | Advanced Pause ..." "$3"
107 92
 
108 93
 #
109 94
 # Test many less common options
110 95
 #
111 96
 restore_configs
112
-opt_set MOTHERBOARD BOARD_RAMBO
113
-opt_set TEMP_SENSOR_0 -2
114
-opt_set DIGIPOT_I2C_NUM_CHANNELS 5
115
-opt_set LCD_LANGUAGE it
116
-opt_set MIXING_STEPPERS 2
117
-opt_set SERVO_DELAY "{ 300, 300, 300 }"
97
+opt_set MOTHERBOARD BOARD_RAMBO \
98
+        TEMP_SENSOR_0 -2 \
99
+        DIGIPOT_I2C_NUM_CHANNELS 5 \
100
+        LCD_LANGUAGE it \
101
+        MIXING_STEPPERS 2 \
102
+        SERVO_DELAY '{ 300, 300, 300 }' \
103
+        CONTROLLER_FAN_PIN X_MAX_PIN FILWIDTH_PIN 5 \
104
+        FAN_MIN_PWM 50 FAN_KICKSTART_TIME 100 \
105
+        XY_FREQUENCY_LIMIT 15
118 106
 opt_enable COREYX USE_XMAX_PLUG MIXING_EXTRUDER GRADIENT_MIX \
119 107
            BABYSTEPPING BABYSTEP_DISPLAY_TOTAL FILAMENT_LCD_DISPLAY \
120 108
            REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER MENU_ADDAUTOSTART SDSUPPORT SDCARD_SORT_ALPHA \
@@ -124,11 +112,6 @@ opt_enable COREYX USE_XMAX_PLUG MIXING_EXTRUDER GRADIENT_MIX \
124 112
            SD_ABORT_ON_ENDSTOP_HIT HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT ADVANCED_OK M114_DETAIL \
125 113
            VOLUMETRIC_DEFAULT_ON NO_WORKSPACE_OFFSETS EXTRA_FAN_SPEED FWRETRACT \
126 114
            USE_CONTROLLER_FAN CONTROLLER_FAN_EDITABLE CONTROLLER_FAN_USE_Z_ONLY
127
-opt_set CONTROLLER_FAN_PIN X_MAX_PIN
128
-opt_set FAN_MIN_PWM 50
129
-opt_set FAN_KICKSTART_TIME 100
130
-opt_set XY_FREQUENCY_LIMIT 15
131
-opt_add FILWIDTH_PIN 5
132 115
 exec_test $1 $2 "Rambo | CoreXY, Gradient Mix | Endstop Int. | Home Y > X | FW Retract ..." "$3"
133 116
 
134 117
 # clean up

+ 5
- 13
buildroot/tests/rumba32-tests View File

@@ -8,31 +8,23 @@ set -e
8 8
 
9 9
 # Build examples
10 10
 restore_configs
11
-opt_set MOTHERBOARD BOARD_RUMBA32_V1_0
12
-opt_set SERIAL_PORT -1
11
+opt_set MOTHERBOARD BOARD_RUMBA32_V1_0 SERIAL_PORT -1 \
12
+        TEMP_SENSOR_BED 1 X_DRIVER_TYPE TMC2130
13 13
 opt_disable PIDTEMP
14 14
 opt_enable PIDTEMPBED
15
-opt_set TEMP_SENSOR_BED 1
16 15
 opt_disable THERMAL_PROTECTION_BED
17
-opt_set X_DRIVER_TYPE TMC2130
18 16
 exec_test $1 $2 "RUMBA32 V1.0 with TMC2130, PID Bed, and bed thermal protection disabled" "$3"
19 17
 
20 18
 # Build examples
21 19
 restore_configs
22
-opt_set MOTHERBOARD BOARD_RUMBA32_V1_1
23
-opt_set SERIAL_PORT -1
20
+opt_set MOTHERBOARD BOARD_RUMBA32_V1_1 SERIAL_PORT -1 \
21
+        TEMP_SENSOR_BED 1 X_DRIVER_TYPE TMC2130 Y_DRIVER_TYPE TMC2208
24 22
 opt_enable PIDTEMPBED EEPROM_SETTINGS EEPROM_CHITCHAT REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
25
-opt_set TEMP_SENSOR_BED 1
26
-opt_set X_DRIVER_TYPE TMC2130
27
-opt_set Y_DRIVER_TYPE TMC2208
28 23
 exec_test $1 $2 "RUMBA32 V1.1 with TMC2130, TMC2208, PID Bed, EEPROM settings, and graphic LCD controller" "$3"
29 24
 
30 25
 # Build examples
31 26
 restore_configs
32
-opt_set MOTHERBOARD BOARD_RUMBA32_MKS
33
-opt_set SERIAL_PORT -1
34
-opt_set X_DRIVER_TYPE TMC2130
35
-opt_set Y_DRIVER_TYPE TMC2208
27
+opt_set MOTHERBOARD BOARD_RUMBA32_MKS SERIAL_PORT -1 X_DRIVER_TYPE TMC2130 Y_DRIVER_TYPE TMC2208
36 28
 exec_test $1 $2 "RUMBA32 MKS Default Config with Mixed TMC Drivers" "$3"
37 29
 
38 30
 # cleanup

+ 3
- 3
buildroot/tests/sanguino1284p-tests View File

@@ -10,10 +10,10 @@ set -e
10 10
 # Start with default configurations...
11 11
 #
12 12
 restore_configs
13
-opt_set MOTHERBOARD BOARD_SANGUINOLOLU_12
14
-opt_set LCD_LANGUAGE de
13
+opt_set MOTHERBOARD BOARD_SANGUINOLOLU_12 \
14
+        LCD_LANGUAGE de \
15
+        CONTROLLER_FAN_PIN 27
15 16
 opt_enable MINIPANEL USE_CONTROLLER_FAN CONTROLLER_FAN_EDITABLE
16
-opt_set CONTROLLER_FAN_PIN 27
17 17
 exec_test $1 $2 "Default Configuration | MINIPANAL | CONTROLLER_FAN" "$3"
18 18
 
19 19
 #

+ 4
- 5
buildroot/tests/teensy31-tests View File

@@ -22,9 +22,10 @@ exec_test $1 $2 "Teensy3.1 with Zero Endstops" "$3"
22 22
 # Test many features together
23 23
 #
24 24
 restore_configs
25
-opt_set MOTHERBOARD BOARD_TEENSY31_32
26
-opt_set TEMP_SENSOR_0 1
27
-opt_set TEMP_SENSOR_BED 1
25
+opt_set MOTHERBOARD BOARD_TEENSY31_32 \
26
+        TEMP_SENSOR_0 1 TEMP_SENSOR_BED 1 \
27
+        I2C_SLAVE_ADDRESS 63 \
28
+        GRID_MAX_POINTS_X 16
28 29
 opt_enable EEPROM_SETTINGS FILAMENT_WIDTH_SENSOR CALIBRATION_GCODE BAUD_RATE_GCODE \
29 30
            FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR DEBUG_LEVELING_FEATURE Z_MIN_PROBE_REPEATABILITY_TEST \
30 31
            BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET PRINTCOUNTER SLOW_PWM_HEATERS PIDTEMPBED \
@@ -33,6 +34,4 @@ opt_enable EEPROM_SETTINGS FILAMENT_WIDTH_SENSOR CALIBRATION_GCODE BAUD_RATE_GCO
33 34
            ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES \
34 35
            PHOTO_GCODE PHOTO_POSITION PHOTO_SWITCH_POSITION PHOTO_SWITCH_MS PHOTO_DELAY_MS PHOTO_RETRACT_MM \
35 36
            HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT
36
-opt_set I2C_SLAVE_ADDRESS 63
37
-opt_set GRID_MAX_POINTS_X 16
38 37
 exec_test $1 $2 "Teensy3.1 with many features" "$3"

+ 15
- 30
buildroot/tests/teensy35-tests View File

@@ -14,11 +14,10 @@ exec_test $1 $2 "Teensy3.5 with default config" "$3"
14 14
 # Test as many features together as possible
15 15
 #
16 16
 restore_configs
17
-opt_set MOTHERBOARD BOARD_TEENSY35_36
18
-opt_set EXTRUDERS 2
19
-opt_set TEMP_SENSOR_0 1
20
-opt_set TEMP_SENSOR_1 5
21
-opt_set TEMP_SENSOR_BED 1
17
+opt_set MOTHERBOARD BOARD_TEENSY35_36 \
18
+        EXTRUDERS 2 TEMP_SENSOR_0 1 TEMP_SENSOR_1 5 TEMP_SENSOR_BED 1 \
19
+        I2C_SLAVE_ADDRESS 63 \
20
+        GRID_MAX_POINTS_X 16
22 21
 opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LCD_INFO_MENU SDSUPPORT SDCARD_SORT_ALPHA \
23 22
            FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY CALIBRATION_GCODE BAUD_RATE_GCODE SOUND_MENU_ITEM \
24 23
            FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
@@ -27,8 +26,6 @@ opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LCD_INFO_MENU SDSUPPORT
27 26
            ADVANCED_PAUSE_FEATURE ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES PARK_HEAD_ON_PAUSE \
28 27
            PHOTO_GCODE PHOTO_POSITION PHOTO_SWITCH_POSITION PHOTO_SWITCH_MS PHOTO_DELAY_MS PHOTO_RETRACT_MM \
29 28
            HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT
30
-opt_set I2C_SLAVE_ADDRESS 63
31
-opt_set GRID_MAX_POINTS_X 16
32 29
 exec_test $1 $2 "Teensy3.5 with many features" "$3"
33 30
 
34 31
 #
@@ -43,10 +40,9 @@ exec_test $1 $2 "Sled Z Probe with Linear leveling" "$3"
43 40
 # Test a Servo Probe
44 41
 #
45 42
 # restore_configs
46
-# opt_set MOTHERBOARD BOARD_TEENSY35_36
43
+# opt_set MOTHERBOARD BOARD_TEENSY35_36 NUM_SERVOS 1
47 44
 # opt_enable Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE \
48 45
 #            AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
49
-# opt_set NUM_SERVOS 1
50 46
 # exec_test $1 $2 "Servo Probe"
51 47
 #
52 48
 # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
@@ -59,28 +55,23 @@ exec_test $1 $2 "Sled Z Probe with Linear leveling" "$3"
59 55
 # Test MAGNETIC_PARKING_EXTRUDER with LCD
60 56
 #
61 57
 restore_configs
62
-opt_set MOTHERBOARD BOARD_TEENSY35_36
63
-opt_set EXTRUDERS 2
64
-opt_set TEMP_SENSOR_1 1
65
-opt_enable MAGNETIC_PARKING_EXTRUDER ULTIMAKERCONTROLLER
58
+opt_set MOTHERBOARD BOARD_TEENSY35_36 EXTRUDERS 2 TEMP_SENSOR_1 1 SOL0_PIN 29
59
+opt_enable PARKING_EXTRUDER ULTIMAKERCONTROLLER
66 60
 exec_test $1 $2 "MAGNETIC_PARKING_EXTRUDER with LCD" "$3"
67 61
 
68 62
 #
69 63
 # Mixing Extruder
70 64
 #
71 65
 restore_configs
72
-opt_set MOTHERBOARD BOARD_TEENSY35_36
66
+opt_set MOTHERBOARD BOARD_TEENSY35_36 MIXING_STEPPERS 2
73 67
 opt_enable MIXING_EXTRUDER DIRECT_MIXING_IN_G1 GRADIENT_MIX GRADIENT_VTOOL REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
74
-opt_set MIXING_STEPPERS 2
75 68
 exec_test $1 $2 "Mixing Extruder" "$3"
76 69
 
77 70
 #
78 71
 # Test SWITCHING_EXTRUDER
79 72
 #
80 73
 # restore_configs
81
-# opt_set MOTHERBOARD BOARD_TEENSY35_36
82
-# opt_set EXTRUDERS 2
83
-# opt_set NUM_SERVOS 1
74
+# opt_set MOTHERBOARD BOARD_TEENSY35_36 EXTRUDERS 2 NUM_SERVOS 1
84 75
 # opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
85 76
 # exec_test $1 $2 "SWITCHING_EXTRUDER"
86 77
 
@@ -88,15 +79,11 @@ exec_test $1 $2 "Mixing Extruder" "$3"
88 79
 # Enable COREXY
89 80
 #
90 81
 restore_configs
91
-opt_set MOTHERBOARD BOARD_TEENSY35_36
92
-opt_enable COREXY
93
-opt_set X_DRIVER_TYPE TMC5160
94
-opt_set Y_DRIVER_TYPE TMC5160
95
-opt_set X_MIN_ENDSTOP_INVERTING true
96
-opt_set Y_MIN_ENDSTOP_INVERTING true
97
-opt_add X_CS_PIN 46
98
-opt_add Y_CS_PIN 47
99
-opt_enable USE_ZMIN_PLUG MONITOR_DRIVER_STATUS SENSORLESS_HOMING
82
+opt_set MOTHERBOARD BOARD_TEENSY35_36 \
83
+        X_DRIVER_TYPE TMC5160 Y_DRIVER_TYPE TMC5160 \
84
+        X_MIN_ENDSTOP_INVERTING true Y_MIN_ENDSTOP_INVERTING true \
85
+        X_CS_PIN 46 Y_CS_PIN 47
86
+opt_enable COREXY USE_ZMIN_PLUG MONITOR_DRIVER_STATUS SENSORLESS_HOMING
100 87
 exec_test $1 $2 "Teensy 3.5/3.6 COREXY" "$3"
101 88
 
102 89
 #
@@ -111,11 +98,9 @@ exec_test $1 $2 "Teensy 3.5/3.6 COREXZ" "$3"
111 98
 # Enable Dual Z with Dual Z endstops
112 99
 #
113 100
 restore_configs
114
-opt_set MOTHERBOARD BOARD_TEENSY35_36
115
-opt_set NUM_Z_STEPPER_DRIVERS 2
101
+opt_set MOTHERBOARD BOARD_TEENSY35_36 NUM_Z_STEPPER_DRIVERS 2 Z2_MAX_PIN 2
116 102
 opt_enable Z_MULTI_ENDSTOPS USE_XMAX_PLUG
117 103
 pins_set ramps/RAMPS X_MAX_PIN -1
118
-opt_add Z2_MAX_PIN 2
119 104
 exec_test $1 $2 "Dual Z with Dual Z endstops" "$3"
120 105
 
121 106
 # Clean up

+ 14
- 28
buildroot/tests/teensy41-tests View File

@@ -14,11 +14,10 @@ exec_test $1 $2 "Teensy4.1 with default config" "$3"
14 14
 # Test as many features together as possible
15 15
 #
16 16
 restore_configs
17
-opt_set MOTHERBOARD BOARD_TEENSY41
18
-opt_set EXTRUDERS 2
19
-opt_set TEMP_SENSOR_0 1
20
-opt_set TEMP_SENSOR_1 5
21
-opt_set TEMP_SENSOR_BED 1
17
+opt_set MOTHERBOARD BOARD_TEENSY41 \
18
+        EXTRUDERS 2 TEMP_SENSOR_0 1 TEMP_SENSOR_1 5 TEMP_SENSOR_BED 1 \
19
+        I2C_SLAVE_ADDRESS 63 \
20
+        GRID_MAX_POINTS_X 16
22 21
 opt_enable EXTENSIBLE_UI LCD_INFO_MENU SDSUPPORT SDCARD_SORT_ALPHA \
23 22
            FILAMENT_LCD_DISPLAY CALIBRATION_GCODE BAUD_RATE_GCODE \
24 23
            FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
@@ -28,8 +27,6 @@ opt_enable EXTENSIBLE_UI LCD_INFO_MENU SDSUPPORT SDCARD_SORT_ALPHA \
28 27
            PHOTO_GCODE PHOTO_POSITION PHOTO_SWITCH_POSITION PHOTO_SWITCH_MS PHOTO_DELAY_MS PHOTO_RETRACT_MM \
29 28
            HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT
30 29
 opt_add EXTUI_EXAMPLE
31
-opt_set I2C_SLAVE_ADDRESS 63
32
-opt_set GRID_MAX_POINTS_X 16
33 30
 exec_test $1 $2 "Teensy4.1 with many features" "$3"
34 31
 
35 32
 #
@@ -60,10 +57,8 @@ exec_test $1 $2 "Sled Z Probe with Linear leveling" "$3"
60 57
 # Test MAGNETIC_PARKING_EXTRUDER with no LCD
61 58
 #
62 59
 restore_configs
63
-opt_set MOTHERBOARD BOARD_TEENSY41
64
-opt_set EXTRUDERS 2
65
-opt_set TEMP_SENSOR_1 1
66
-opt_set SERIAL_PORT_2 -2
60
+opt_set MOTHERBOARD BOARD_TEENSY41 SERIAL_PORT_2 -2 \
61
+        EXTRUDERS 2 TEMP_SENSOR_1 1
67 62
 opt_enable EEPROM_SETTINGS MAGNETIC_PARKING_EXTRUDER
68 63
 exec_test $1 $2 "Ethernet, EEPROM, Magnetic Parking Extruder, No LCD" "$3"
69 64
 
@@ -71,18 +66,15 @@ exec_test $1 $2 "Ethernet, EEPROM, Magnetic Parking Extruder, No LCD" "$3"
71 66
 # Mixing Extruder
72 67
 #
73 68
 restore_configs
74
-opt_set MOTHERBOARD BOARD_TEENSY41
69
+opt_set MOTHERBOARD BOARD_TEENSY41 MIXING_STEPPERS 2
75 70
 opt_enable MIXING_EXTRUDER DIRECT_MIXING_IN_G1 GRADIENT_MIX GRADIENT_VTOOL
76
-opt_set MIXING_STEPPERS 2
77 71
 exec_test $1 $2 "Mixing Extruder" "$3"
78 72
 
79 73
 #
80 74
 # Test SWITCHING_EXTRUDER
81 75
 #
82 76
 # restore_configs
83
-# opt_set MOTHERBOARD BOARD_TEENSY41
84
-# opt_set EXTRUDERS 2
85
-# opt_set NUM_SERVOS 1
77
+# opt_set MOTHERBOARD BOARD_TEENSY41 EXTRUDERS 2 NUM_SERVOS 1
86 78
 # opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
87 79
 # exec_test $1 $2 "SWITCHING_EXTRUDER" "$3"
88 80
 
@@ -90,15 +82,11 @@ exec_test $1 $2 "Mixing Extruder" "$3"
90 82
 # Enable COREXY
91 83
 #
92 84
 restore_configs
93
-opt_set MOTHERBOARD BOARD_TEENSY41
94
-opt_enable COREXY
95
-opt_set X_DRIVER_TYPE TMC5160
96
-opt_set Y_DRIVER_TYPE TMC5160
97
-opt_set X_MIN_ENDSTOP_INVERTING true
98
-opt_set Y_MIN_ENDSTOP_INVERTING true
99
-opt_add X_CS_PIN 46
100
-opt_add Y_CS_PIN 47
101
-opt_enable USE_ZMIN_PLUG MONITOR_DRIVER_STATUS SENSORLESS_HOMING
85
+opt_set MOTHERBOARD BOARD_TEENSY41 \
86
+        X_DRIVER_TYPE TMC5160 Y_DRIVER_TYPE TMC5160 \
87
+        X_MIN_ENDSTOP_INVERTING true Y_MIN_ENDSTOP_INVERTING true \
88
+        X_CS_PIN 46 Y_CS_PIN 47
89
+opt_enable COREXY USE_ZMIN_PLUG MONITOR_DRIVER_STATUS SENSORLESS_HOMING
102 90
 exec_test $1 $2 "Teensy 4.0/4.1 COREXY" "$3"
103 91
 
104 92
 #
@@ -113,11 +101,9 @@ exec_test $1 $2 "Teensy 4.0/4.1 COREXZ" "$3"
113 101
 # Enable Dual Z with Dual Z endstops
114 102
 #
115 103
 restore_configs
116
-opt_set MOTHERBOARD BOARD_TEENSY41
104
+opt_set MOTHERBOARD BOARD_TEENSY41 NUM_Z_STEPPER_DRIVERS 2 Z2_MAX_PIN 2
117 105
 opt_enable Z_MULTI_ENDSTOPS USE_XMAX_PLUG
118
-opt_set NUM_Z_STEPPER_DRIVERS 2
119 106
 pins_set ramps/RAMPS X_MAX_PIN -1
120
-opt_add Z2_MAX_PIN 2
121 107
 exec_test $1 $2 "Dual Z with Dual Z endstops" "$3"
122 108
 
123 109
 # Clean up

Loading…
Cancel
Save