|
@@ -1,4 +1,7 @@
|
1
|
1
|
#!/usr/bin/env bash
|
|
2
|
+#
|
|
3
|
+# Build tests for AVR
|
|
4
|
+#
|
2
|
5
|
|
3
|
6
|
# exit on first failure
|
4
|
7
|
set -e
|
|
@@ -7,11 +10,13 @@ set -e
|
7
|
10
|
# Backup pins_RAMPS.h
|
8
|
11
|
#
|
9
|
12
|
cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
|
|
13
|
+
|
10
|
14
|
#
|
11
|
15
|
# Build with the default configurations
|
12
|
16
|
#
|
13
|
17
|
restore_configs
|
14
|
18
|
exec_test $1 $2 "Default Configuration"
|
|
19
|
+
|
15
|
20
|
#
|
16
|
21
|
# Test 2 extruders (one MAX6675) and heated bed on basic RAMPS 1.4
|
17
|
22
|
# Test a "Fix Mounted" Probe with Safe Homing, some arc options,
|
|
@@ -23,15 +28,18 @@ opt_set TEMP_SENSOR_0 -2
|
23
|
28
|
opt_set TEMP_SENSOR_1 1
|
24
|
29
|
opt_set TEMP_SENSOR_BED 1
|
25
|
30
|
opt_set POWER_SUPPLY 1
|
|
31
|
+opt_set GRID_MAX_POINTS_X 16
|
26
|
32
|
opt_enable PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING \
|
27
|
33
|
REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS PINS_DEBUGGING \
|
28
|
34
|
BLINKM PCA9632 RGB_LED NEOPIXEL_LED AUTO_POWER_CONTROL NOZZLE_PARK_FEATURE FILAMENT_RUNOUT_SENSOR \
|
29
|
|
- AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE
|
30
|
|
-opt_enable_adv ARC_P_CIRCLES ADVANCED_PAUSE_FEATURE CNC_WORKSPACE_PLANES CNC_COORDINATE_SYSTEMS POWER_LOSS_RECOVERY POWER_LOSS_PIN POWER_LOSS_STATE \
|
|
35
|
+ AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
|
|
36
|
+ SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE
|
|
37
|
+opt_enable_adv ARC_P_CIRCLES ADVANCED_PAUSE_FEATURE CNC_WORKSPACE_PLANES CNC_COORDINATE_SYSTEMS \
|
|
38
|
+ POWER_LOSS_RECOVERY POWER_LOSS_PIN POWER_LOSS_STATE \
|
31
|
39
|
FWRETRACT MAX7219_DEBUG LED_CONTROL_MENU CASE_LIGHT_ENABLE CASE_LIGHT_USE_NEOPIXEL CODEPENDENT_XY_HOMING
|
32
|
|
-opt_set GRID_MAX_POINTS_X 16
|
33
|
40
|
opt_set_adv FANMUX0_PIN 53
|
34
|
|
-exec_test $1 $2 "Extruders(2) MAX6675 Fixed Probe etc"
|
|
41
|
+exec_test $1 $2 "RAMPS with 2 extruders, RRDFGSC, Linear ABL, LEDs, and many options"
|
|
42
|
+
|
35
|
43
|
#
|
36
|
44
|
# Test a probeless build of AUTO_BED_LEVELING_UBL, with lots of extruders
|
37
|
45
|
#
|
|
@@ -47,7 +55,8 @@ opt_enable AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 DEBUG_LEVELING_FEATU
|
47
|
55
|
EEPROM_SETTINGS EEPROM_CHITCHAT REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
|
48
|
56
|
opt_enable_adv USB_FLASH_DRIVE_SUPPORT SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING SCROLL_LONG_FILENAMES LIGHTWEIGHT_UI \
|
49
|
57
|
CUSTOM_USER_MENUS I2C_POSITION_ENCODERS BABYSTEPPING BABYSTEP_XY LIN_ADVANCE NANODLP_Z_SYNC QUICK_HOME JUNCTION_DEVIATION
|
50
|
|
-exec_test $1 $2 "Probeless build of AUTO_BED_LEVELING_UBL, with lots of extruders"
|
|
58
|
+exec_test $1 $2 "Azteeg X3 with 5 extruders, RRDFGSC, probeless UBL, Linear Advance, and more"
|
|
59
|
+
|
51
|
60
|
#
|
52
|
61
|
# Add a Sled Z Probe, use UBL Cartesian moves, use Japanese language
|
53
|
62
|
#
|
|
@@ -55,7 +64,8 @@ opt_enable Z_PROBE_SLED SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GC
|
55
|
64
|
opt_set LCD_LANGUAGE jp-kana
|
56
|
65
|
opt_disable SEGMENT_LEVELED_MOVES
|
57
|
66
|
opt_enable_adv BABYSTEP_ZPROBE_OFFSET DOUBLECLICK_FOR_Z_BABYSTEPPING BABYSTEP_HOTEND_Z_OFFSET
|
58
|
|
-exec_test $1 $2 "Add a Sled Z Probe, use UBL Cartesian moves, use Japanese language"
|
|
67
|
+exec_test $1 $2 "... Sled Z Probe, Skew, UBL Cartesian moves, Japanese, and Z probe BABYSTEPPING"
|
|
68
|
+
|
59
|
69
|
#
|
60
|
70
|
# Test a Servo Probe
|
61
|
71
|
# ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
|
|
@@ -65,27 +75,24 @@ opt_enable Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE \
|
65
|
75
|
AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
|
66
|
76
|
opt_set NUM_SERVOS 1
|
67
|
77
|
opt_enable_adv NO_VOLUMETRICS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET
|
68
|
|
-exec_test $1 $2 "Servo Probe with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS etc"
|
|
78
|
+exec_test $1 $2 "RAMPS with Servo Probe, 3-Point ABL, DEBUG_LEVELING_FEATURE, EEPROM, G38, and more"
|
|
79
|
+
|
69
|
80
|
#
|
70
|
81
|
# Test MESH_BED_LEVELING feature, with LCD
|
71
|
82
|
#
|
72
|
83
|
restore_configs
|
73
|
84
|
opt_enable MESH_BED_LEVELING G26_MESH_EDITING MESH_G28_REST_ORIGIN LCD_BED_LEVELING ULTIMAKERCONTROLLER
|
74
|
85
|
exec_test $1 $2 "MESH_BED_LEVELING feature, with LCD"
|
|
86
|
+
|
75
|
87
|
#
|
76
|
|
-# Test MINIRAMBO for PWM_MOTOR_CURRENT
|
77
|
|
-# PROBE_MANUALLY feature, with LCD support,
|
78
|
|
-# ULTIMAKERCONTROLLER, FILAMENT_LCD_DISPLAY, FILAMENT_WIDTH_SENSOR,
|
79
|
|
-# PRINTCOUNTER, NOZZLE_PARK_FEATURE, NOZZLE_CLEAN_FEATURE, PCA9632,
|
80
|
|
-# Z_DUAL_ENDSTOPS, BEZIER_CURVE_SUPPORT, EXPERIMENTAL_I2CBUS,
|
81
|
|
-# ADVANCED_PAUSE_FEATURE, ADVANCED_PAUSE_CONTINUOUS_PURGE, PARK_HEAD_ON_PAUSE, LCD_INFO_MENU,
|
82
|
|
-# EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
|
83
|
|
-# INCH_MODE_SUPPORT, TEMPERATURE_UNITS_SUPPORT
|
|
88
|
+# Test MINIRAMBO with PWM_MOTOR_CURRENT and many features
|
84
|
89
|
#
|
85
|
90
|
restore_configs
|
86
|
91
|
opt_set MOTHERBOARD BOARD_MINIRAMBO
|
87
|
|
-opt_enable PROBE_MANUALLY AUTO_BED_LEVELING_BILINEAR G26_MESH_EDITING LCD_BED_LEVELING ULTIMAKERCONTROLLER \
|
88
|
|
- EEPROM_SETTINGS EEPROM_CHITCHAT M100_FREE_MEMORY_WATCHER M100_FREE_MEMORY_DUMPER M100_FREE_MEMORY_CORRUPTOR INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT \
|
|
92
|
+opt_enable PROBE_MANUALLY AUTO_BED_LEVELING_BILINEAR G26_MESH_EDITING LCD_BED_LEVELING \
|
|
93
|
+ EEPROM_SETTINGS EEPROM_CHITCHAT \
|
|
94
|
+ M100_FREE_MEMORY_WATCHER M100_FREE_MEMORY_DUMPER M100_FREE_MEMORY_CORRUPTOR \
|
|
95
|
+ INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT \
|
89
|
96
|
ULTIMAKERCONTROLLER SDSUPPORT \
|
90
|
97
|
PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE PCA9632
|
91
|
98
|
opt_enable_adv BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS \
|
|
@@ -94,6 +101,7 @@ opt_enable_adv BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS \
|
94
|
101
|
opt_set_adv PWM_MOTOR_CURRENT "{ 1300, 1300, 1250 }"
|
95
|
102
|
opt_set_adv I2C_SLAVE_ADDRESS 63
|
96
|
103
|
exec_test $1 $2 "MINIRAMBO for PWM_MOTOR_CURRENT etc"
|
|
104
|
+
|
97
|
105
|
#
|
98
|
106
|
# Mixing Extruder with 5 steppers, Cyrillic
|
99
|
107
|
#
|
|
@@ -103,6 +111,7 @@ opt_enable MIXING_EXTRUDER CR10_STOCKDISPLAY
|
103
|
111
|
opt_set MIXING_STEPPERS 5
|
104
|
112
|
opt_set LCD_LANGUAGE ru
|
105
|
113
|
exec_test $1 $2 "Mixing Extruder with 5 steppers, Cyrillic"
|
|
114
|
+
|
106
|
115
|
#
|
107
|
116
|
# Test DUAL_X_CARRIAGE
|
108
|
117
|
#
|
|
@@ -113,6 +122,7 @@ opt_set TEMP_SENSOR_1 1
|
113
|
122
|
opt_enable USE_XMAX_PLUG
|
114
|
123
|
opt_enable_adv DUAL_X_CARRIAGE
|
115
|
124
|
exec_test $1 $2 "DUAL_X_CARRIAGE"
|
|
125
|
+
|
116
|
126
|
#
|
117
|
127
|
# Test SPEAKER with BOARD_BQ_ZUM_MEGA_3D and BQ_LCD_SMART_CONTROLLER
|
118
|
128
|
#
|
|
@@ -121,17 +131,22 @@ exec_test $1 $2 "DUAL_X_CARRIAGE"
|
121
|
131
|
#opt_set LCD_FEEDBACK_FREQUENCY_DURATION_MS 10
|
122
|
132
|
#opt_set LCD_FEEDBACK_FREQUENCY_HZ 100
|
123
|
133
|
#opt_enable BQ_LCD_SMART_CONTROLLER SPEAKER
|
|
134
|
+
|
124
|
135
|
#
|
125
|
136
|
# Enable COREXY
|
126
|
137
|
#
|
127
|
138
|
#restore_configs
|
128
|
139
|
#opt_enable COREXY
|
129
|
140
|
#exec_test $1 $2 "Stuff"
|
|
141
|
+
|
130
|
142
|
#
|
131
|
143
|
# Test many less common options
|
132
|
144
|
#
|
133
|
145
|
restore_configs
|
134
|
146
|
opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
|
|
147
|
+opt_set EXTRUDERS 2
|
|
148
|
+opt_set TEMP_SENSOR_1 -4
|
|
149
|
+opt_set SERVO_DELAY "{ 300, 300, 300 }"
|
135
|
150
|
opt_enable COREYX USE_XMAX_PLUG \
|
136
|
151
|
REPRAP_DISCOUNT_SMART_CONTROLLER BABYSTEPPING DAC_MOTOR_CURRENT_DEFAULT \
|
137
|
152
|
FILAMENT_LCD_DISPLAY FILAMENT_WIDTH_SENSOR \
|
|
@@ -140,16 +155,13 @@ opt_enable COREYX USE_XMAX_PLUG \
|
140
|
155
|
opt_set_adv FAN_MIN_PWM 50
|
141
|
156
|
opt_set_adv FAN_KICKSTART_TIME 100
|
142
|
157
|
opt_set_adv XY_FREQUENCY_LIMIT 15
|
143
|
|
-opt_enable_adv SHOW_TEMP_ADC_VALUES HOME_Y_BEFORE_X EMERGENCY_PARSER FAN_KICKSTART_TIME \
|
|
158
|
+opt_enable_adv SHOW_TEMP_ADC_VALUES HOME_Y_BEFORE_X EMERGENCY_PARSER \
|
144
|
159
|
ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED ADVANCED_OK \
|
145
|
160
|
VOLUMETRIC_DEFAULT_ON NO_WORKSPACE_OFFSETS ACTION_ON_KILL \
|
146
|
161
|
EXTRA_FAN_SPEED FWERETRACT Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS \
|
147
|
162
|
MENU_ADDAUTOSTART SDCARD_SORT_ALPHA
|
148
|
|
-opt_set EXTRUDERS 2
|
149
|
|
-opt_set TEMP_SENSOR_1 -4
|
150
|
|
-opt_set SERVO_DELAY "{ 300, 300, 300 }"
|
151
|
163
|
exec_test $1 $2 "Many less common options"
|
152
|
|
-#
|
|
164
|
+
|
153
|
165
|
######## Other Standard LCD/Panels ##############
|
154
|
166
|
#
|
155
|
167
|
# ULTRA_LCD
|
|
@@ -189,12 +201,6 @@ exec_test $1 $2 "Many less common options"
|
189
|
201
|
#opt_set_adv SDSORT_CACHE_NAMES true
|
190
|
202
|
#exec_test $1 $2 "Stuff"
|
191
|
203
|
#
|
192
|
|
-# Test a full-featured CR-10S config
|
193
|
|
-#
|
194
|
|
-use_example_configs Creality/CR-10S
|
195
|
|
-opt_enable SHOW_CUSTOM_BOOTSCREEN
|
196
|
|
-exec_test $1 $2 "Full-featured CR-10S config"
|
197
|
|
-#
|
198
|
204
|
# REPRAPWORLD_KEYPAD
|
199
|
205
|
#
|
200
|
206
|
# Cant find configuration details to get it to compile
|
|
@@ -207,7 +213,7 @@ exec_test $1 $2 "Full-featured CR-10S config"
|
207
|
213
|
#restore_configs
|
208
|
214
|
#opt_enable RA_CONTROL_PANEL PINS_DEBUGGING
|
209
|
215
|
#exec_test $1 $2 "Stuff"
|
210
|
|
-#
|
|
216
|
+
|
211
|
217
|
######## I2C LCD/PANELS ##############
|
212
|
218
|
#
|
213
|
219
|
# !!!ATTENTION!!!
|
|
@@ -237,6 +243,7 @@ exec_test $1 $2 "Full-featured CR-10S config"
|
237
|
243
|
#restore_configs
|
238
|
244
|
#opt_enable LCM1602
|
239
|
245
|
#exec_test $1 $2 "Stuff"
|
|
246
|
+
|
240
|
247
|
#
|
241
|
248
|
# Language files test with REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
242
|
249
|
#
|
|
@@ -247,9 +254,14 @@ exec_test $1 $2 "Full-featured CR-10S config"
|
247
|
254
|
#restore_configs
|
248
|
255
|
#opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT
|
249
|
256
|
#for lang in an bg ca zh_CN zh_TW cz da de el el-gr en es eu fi fr gl hr it jp-kana nl pl pt pt-br ru sk tr uk test; do opt_set LCD_LANGUAGE $lang; echo "compile with language $lang ..."; exec_test $1 $2 "Stuff"; done
|
|
257
|
+
|
|
258
|
+######## Example Configurations ##############
|
250
|
259
|
#
|
|
260
|
+# Test a full-featured CR-10S config
|
251
|
261
|
#
|
252
|
|
-######## Example Configurations ##############
|
|
262
|
+use_example_configs Creality/CR-10S
|
|
263
|
+opt_enable SHOW_CUSTOM_BOOTSCREEN
|
|
264
|
+exec_test $1 $2 "Full-featured CR-10S config"
|
253
|
265
|
#
|
254
|
266
|
# BQ Hephestos 2
|
255
|
267
|
#restore_configs
|