You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
124 lines
3.9 KiB
124 lines
3.9 KiB
7 years ago
|
#!/usr/bin/env bash
|
||
6 years ago
|
#
|
||
|
# Build tests for Teensy 3.5/3.6 (ARM Cortex-M4)
|
||
|
#
|
||
7 years ago
|
|
||
|
# exit on first failure
|
||
|
set -e
|
||
|
|
||
6 years ago
|
restore_configs
|
||
7 years ago
|
opt_set MOTHERBOARD BOARD_TEENSY35_36
|
||
|
exec_test $1 $2 "Teensy3.5 with default config"
|
||
6 years ago
|
|
||
7 years ago
|
#
|
||
|
# Test as many features together as possible
|
||
|
#
|
||
|
restore_configs
|
||
6 years ago
|
opt_set MOTHERBOARD BOARD_TEENSY35_36
|
||
7 years ago
|
opt_set EXTRUDERS 2
|
||
|
opt_set TEMP_SENSOR_0 1
|
||
|
opt_set TEMP_SENSOR_1 5
|
||
|
opt_set TEMP_SENSOR_BED 1
|
||
6 years ago
|
opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LCD_INFO_MENU SDSUPPORT SDCARD_SORT_ALPHA \
|
||
6 years ago
|
FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY CALIBRATION_GCODE BAUD_RATE_GCODE \
|
||
6 years ago
|
FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
|
||
|
BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY \
|
||
6 years ago
|
PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT M100_FREE_MEMORY_WATCHER \
|
||
6 years ago
|
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 \
|
||
6 years ago
|
HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT
|
||
6 years ago
|
opt_set I2C_SLAVE_ADDRESS 63
|
||
7 years ago
|
opt_set GRID_MAX_POINTS_X 16
|
||
6 years ago
|
exec_test $1 $2 "Teensy3.5 with many features"
|
||
|
|
||
7 years ago
|
#
|
||
|
# Test a Sled Z Probe with Linear leveling
|
||
|
#
|
||
|
restore_configs
|
||
6 years ago
|
opt_set MOTHERBOARD BOARD_TEENSY35_36
|
||
5 years ago
|
opt_enable EEPROM_SETTINGS Z_PROBE_SLED Z_SAFE_HOMING AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE GCODE_MACROS
|
||
7 years ago
|
exec_test $1 $2 "Sled Z Probe with Linear leveling"
|
||
6 years ago
|
|
||
7 years ago
|
#
|
||
|
# Test a Servo Probe
|
||
|
#
|
||
6 years ago
|
# restore_configs
|
||
6 years ago
|
# opt_set MOTHERBOARD BOARD_TEENSY35_36
|
||
6 years ago
|
# opt_enable Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE \
|
||
|
# AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
|
||
6 years ago
|
# opt_set NUM_SERVOS 1
|
||
|
# exec_test $1 $2 "Servo Probe"
|
||
7 years ago
|
#
|
||
|
# ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
|
||
|
#
|
||
6 years ago
|
# opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS \
|
||
|
# EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
|
||
6 years ago
|
# exec_test $1 $2 "...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES"
|
||
6 years ago
|
|
||
7 years ago
|
#
|
||
6 years ago
|
# Test MAGNETIC_PARKING_EXTRUDER with LCD
|
||
7 years ago
|
#
|
||
|
restore_configs
|
||
6 years ago
|
opt_set MOTHERBOARD BOARD_TEENSY35_36
|
||
6 years ago
|
opt_set EXTRUDERS 2
|
||
|
opt_set TEMP_SENSOR_1 1
|
||
|
opt_enable MAGNETIC_PARKING_EXTRUDER ULTIMAKERCONTROLLER
|
||
|
exec_test $1 $2 "MAGNETIC_PARKING_EXTRUDER with LCD"
|
||
6 years ago
|
|
||
7 years ago
|
#
|
||
|
# Mixing Extruder
|
||
|
#
|
||
|
restore_configs
|
||
6 years ago
|
opt_set MOTHERBOARD BOARD_TEENSY35_36
|
||
6 years ago
|
opt_enable MIXING_EXTRUDER DIRECT_MIXING_IN_G1 GRADIENT_MIX GRADIENT_VTOOL REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
||
7 years ago
|
opt_set MIXING_STEPPERS 2
|
||
|
exec_test $1 $2 "Mixing Extruder"
|
||
6 years ago
|
|
||
7 years ago
|
#
|
||
|
# Test SWITCHING_EXTRUDER
|
||
|
#
|
||
6 years ago
|
# restore_configs
|
||
6 years ago
|
# opt_set MOTHERBOARD BOARD_TEENSY35_36
|
||
6 years ago
|
# opt_set EXTRUDERS 2
|
||
|
# opt_set NUM_SERVOS 1
|
||
|
# opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
|
||
|
# exec_test $1 $2 "SWITCHING_EXTRUDER"
|
||
5 years ago
|
|
||
7 years ago
|
#
|
||
|
# Enable COREXY
|
||
|
#
|
||
|
restore_configs
|
||
6 years ago
|
opt_set MOTHERBOARD BOARD_TEENSY35_36
|
||
7 years ago
|
opt_enable COREXY
|
||
5 years ago
|
opt_set X_DRIVER_TYPE TMC5160
|
||
|
opt_set Y_DRIVER_TYPE TMC5160
|
||
|
opt_set X_MIN_ENDSTOP_INVERTING true
|
||
|
opt_set Y_MIN_ENDSTOP_INVERTING true
|
||
|
opt_add X_CS_PIN 46
|
||
|
opt_add Y_CS_PIN 47
|
||
|
opt_enable USE_ZMIN_PLUG MONITOR_DRIVER_STATUS SENSORLESS_HOMING
|
||
5 years ago
|
exec_test $1 $2 "Teensy 3.5/3.6 COREXY"
|
||
6 years ago
|
|
||
7 years ago
|
#
|
||
|
# Enable COREXZ
|
||
|
#
|
||
|
restore_configs
|
||
6 years ago
|
opt_set MOTHERBOARD BOARD_TEENSY35_36
|
||
7 years ago
|
opt_enable COREXZ
|
||
5 years ago
|
exec_test $1 $2 "Teensy 3.5/3.6 COREXZ"
|
||
6 years ago
|
|
||
7 years ago
|
#
|
||
5 years ago
|
# Enable Dual Z with Dual Z endstops
|
||
7 years ago
|
#
|
||
|
restore_configs
|
||
6 years ago
|
opt_set MOTHERBOARD BOARD_TEENSY35_36
|
||
5 years ago
|
opt_enable Z_MULTI_ENDSTOPS
|
||
|
opt_set NUM_Z_STEPPER_DRIVERS 2
|
||
6 years ago
|
pins_set ramps/RAMPS X_MAX_PIN -1
|
||
6 years ago
|
opt_add Z2_MAX_PIN 2
|
||
7 years ago
|
opt_enable USE_XMAX_PLUG
|
||
5 years ago
|
exec_test $1 $2 "Dual Z with Dual Z endstops"
|
||
7 years ago
|
|
||
7 years ago
|
# Clean up
|
||
6 years ago
|
restore_configs
|