2018-07-14 04:42:15 +00:00
|
|
|
#!/usr/bin/env bash
|
2018-10-09 04:03:53 +00:00
|
|
|
#
|
|
|
|
# Build tests for Teensy 3.5/3.6 (ARM Cortex-M4)
|
|
|
|
#
|
2018-07-14 04:42:15 +00:00
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
2018-09-02 08:27:39 +00:00
|
|
|
restore_configs
|
2018-07-14 04:42:15 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_TEENSY35_36
|
2020-11-18 02:04:28 +00:00
|
|
|
exec_test $1 $2 "Teensy3.5 with default config" "$3"
|
2018-10-09 04:03:53 +00:00
|
|
|
|
2018-07-14 04:42:15 +00:00
|
|
|
#
|
|
|
|
# Test as many features together as possible
|
|
|
|
#
|
|
|
|
restore_configs
|
2021-03-03 06:15:56 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_TEENSY35_36 \
|
|
|
|
EXTRUDERS 2 TEMP_SENSOR_0 1 TEMP_SENSOR_1 5 TEMP_SENSOR_BED 1 \
|
|
|
|
I2C_SLAVE_ADDRESS 63 \
|
2021-03-23 06:47:07 +00:00
|
|
|
GRID_MAX_POINTS_X 16 \
|
|
|
|
NOZZLE_CLEAN_START_POINT "{ { 10, 10, 3 }, { 10, 10, 3 } }" \
|
|
|
|
NOZZLE_CLEAN_END_POINT "{ { 10, 20, 3 }, { 10, 20, 3 } }"
|
2023-01-02 05:13:53 +00:00
|
|
|
opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT SDCARD_SORT_ALPHA \
|
|
|
|
LCD_INFO_MENU LCD_PRINTER_INFO_IS_BOOTSCREEN LARGE_MOVE_ITEMS TURBO_BACK_MENU_ITEM PREHEAT_SHORTCUT_MENU_ITEM \
|
2020-10-28 01:41:12 +00:00
|
|
|
FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY CALIBRATION_GCODE BAUD_RATE_GCODE SOUND_MENU_ITEM \
|
2018-10-01 23:53:09 +00:00
|
|
|
FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
|
2023-02-18 08:15:16 +00:00
|
|
|
BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_GFX_OVERLAY \
|
2018-11-19 01:58:02 +00:00
|
|
|
PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT M100_FREE_MEMORY_WATCHER \
|
2019-02-14 21:09:35 +00:00
|
|
|
ADVANCED_PAUSE_FEATURE ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES PARK_HEAD_ON_PAUSE \
|
|
|
|
PHOTO_GCODE PHOTO_POSITION PHOTO_SWITCH_POSITION PHOTO_SWITCH_MS PHOTO_DELAY_MS PHOTO_RETRACT_MM \
|
2019-02-12 21:55:47 +00:00
|
|
|
HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT
|
2020-11-18 02:04:28 +00:00
|
|
|
exec_test $1 $2 "Teensy3.5 with many features" "$3"
|
2018-10-09 04:03:53 +00:00
|
|
|
|
2018-07-14 04:42:15 +00:00
|
|
|
#
|
|
|
|
# Test a Sled Z Probe with Linear leveling
|
|
|
|
#
|
|
|
|
restore_configs
|
2019-03-24 05:08:32 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_TEENSY35_36
|
2020-02-11 15:05:45 +00:00
|
|
|
opt_enable EEPROM_SETTINGS Z_PROBE_SLED Z_SAFE_HOMING AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE GCODE_MACROS
|
2020-11-18 02:04:28 +00:00
|
|
|
exec_test $1 $2 "Sled Z Probe with Linear leveling" "$3"
|
2018-10-09 04:03:53 +00:00
|
|
|
|
2018-07-14 04:42:15 +00:00
|
|
|
#
|
|
|
|
# Test a Servo Probe
|
|
|
|
#
|
2018-09-01 06:10:20 +00:00
|
|
|
# restore_configs
|
2021-03-03 06:15:56 +00:00
|
|
|
# opt_set MOTHERBOARD BOARD_TEENSY35_36 NUM_SERVOS 1
|
2018-10-01 23:53:09 +00:00
|
|
|
# opt_enable Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE \
|
|
|
|
# AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
|
2018-09-01 06:10:20 +00:00
|
|
|
# exec_test $1 $2 "Servo Probe"
|
2018-07-14 04:42:15 +00:00
|
|
|
#
|
|
|
|
# ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
|
|
|
|
#
|
2018-11-19 01:58:02 +00:00
|
|
|
# opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS \
|
|
|
|
# EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
|
2018-09-01 06:10:20 +00:00
|
|
|
# exec_test $1 $2 "...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES"
|
2018-10-09 04:03:53 +00:00
|
|
|
|
2018-07-14 04:42:15 +00:00
|
|
|
#
|
2019-02-06 12:30:53 +00:00
|
|
|
# Test MAGNETIC_PARKING_EXTRUDER with LCD
|
2018-07-14 04:42:15 +00:00
|
|
|
#
|
|
|
|
restore_configs
|
2021-03-04 02:41:58 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_TEENSY35_36 EXTRUDERS 2 TEMP_SENSOR_1 1 SOL0_PIN 29 EXTRUDERS 2
|
2021-03-03 06:15:56 +00:00
|
|
|
opt_enable PARKING_EXTRUDER ULTIMAKERCONTROLLER
|
2021-03-04 02:41:58 +00:00
|
|
|
exec_test $1 $2 "PARKING_EXTRUDER with LCD" "$3"
|
2018-10-09 04:03:53 +00:00
|
|
|
|
2018-07-14 04:42:15 +00:00
|
|
|
#
|
|
|
|
# Mixing Extruder
|
|
|
|
#
|
|
|
|
restore_configs
|
2021-03-03 06:15:56 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_TEENSY35_36 MIXING_STEPPERS 2
|
2019-02-10 10:54:23 +00:00
|
|
|
opt_enable MIXING_EXTRUDER DIRECT_MIXING_IN_G1 GRADIENT_MIX GRADIENT_VTOOL REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
2023-03-26 22:24:40 +00:00
|
|
|
opt_disable DISABLE_OTHER_EXTRUDERS
|
2020-11-18 02:04:28 +00:00
|
|
|
exec_test $1 $2 "Mixing Extruder" "$3"
|
2018-10-09 04:03:53 +00:00
|
|
|
|
2018-07-14 04:42:15 +00:00
|
|
|
#
|
|
|
|
# Test SWITCHING_EXTRUDER
|
|
|
|
#
|
2018-09-01 06:10:20 +00:00
|
|
|
# restore_configs
|
2021-03-03 06:15:56 +00:00
|
|
|
# opt_set MOTHERBOARD BOARD_TEENSY35_36 EXTRUDERS 2 NUM_SERVOS 1
|
2018-09-01 06:10:20 +00:00
|
|
|
# opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
|
|
|
|
# exec_test $1 $2 "SWITCHING_EXTRUDER"
|
2020-05-14 18:00:47 +00:00
|
|
|
|
2018-07-14 04:42:15 +00:00
|
|
|
#
|
|
|
|
# Enable COREXY
|
|
|
|
#
|
|
|
|
restore_configs
|
2021-03-03 06:15:56 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_TEENSY35_36 \
|
|
|
|
X_DRIVER_TYPE TMC5160 Y_DRIVER_TYPE TMC5160 \
|
2023-03-26 09:00:12 +00:00
|
|
|
X_MIN_ENDSTOP_HIT_STATE LOW Y_MIN_ENDSTOP_HIT_STATE LOW \
|
2021-03-03 06:15:56 +00:00
|
|
|
X_CS_PIN 46 Y_CS_PIN 47
|
2023-04-26 19:56:23 +00:00
|
|
|
opt_enable COREXY MONITOR_DRIVER_STATUS SENSORLESS_HOMING
|
2020-11-18 02:04:28 +00:00
|
|
|
exec_test $1 $2 "Teensy 3.5/3.6 COREXY" "$3"
|
2018-10-09 04:03:53 +00:00
|
|
|
|
2018-07-14 04:42:15 +00:00
|
|
|
#
|
|
|
|
# Enable COREXZ
|
|
|
|
#
|
|
|
|
restore_configs
|
2019-03-24 05:08:32 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_TEENSY35_36
|
2021-04-24 09:38:00 +00:00
|
|
|
opt_enable COREXZ BACKLASH_COMPENSATION BACKLASH_GCODE CORE_BACKLASH
|
|
|
|
exec_test $1 $2 "Teensy 3.5/3.6 COREXZ | BACKLASH" "$3"
|
2018-10-09 04:03:53 +00:00
|
|
|
|
2018-07-14 04:42:15 +00:00
|
|
|
#
|
2020-01-20 05:35:07 +00:00
|
|
|
# Enable Dual Z with Dual Z endstops
|
2018-07-14 04:42:15 +00:00
|
|
|
#
|
|
|
|
restore_configs
|
2022-05-05 00:25:02 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_TEENSY35_36 Z_DRIVER_TYPE A4988 Z2_DRIVER_TYPE A4988 Z2_MIN_PIN 2
|
2023-04-26 19:56:23 +00:00
|
|
|
opt_enable Z_MULTI_ENDSTOPS
|
2019-07-11 07:32:24 +00:00
|
|
|
pins_set ramps/RAMPS X_MAX_PIN -1
|
2020-11-18 02:04:28 +00:00
|
|
|
exec_test $1 $2 "Dual Z with Dual Z endstops" "$3"
|
2018-07-14 04:42:15 +00:00
|
|
|
|
2018-06-19 16:55:49 +00:00
|
|
|
# Clean up
|
2018-09-02 08:27:39 +00:00
|
|
|
restore_configs
|