2019-08-02 07:22:07 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
|
|
|
# Build tests for Teensy 3.1/3.2 (ARM Cortex-M4)
|
|
|
|
#
|
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_TEENSY31_32
|
2020-11-17 20:04:28 -06:00
|
|
|
exec_test $1 $2 "Teensy3.1 with default config" "$3"
|
2019-08-02 07:22:07 -05:00
|
|
|
|
2021-02-25 04:49:34 -06:00
|
|
|
#
|
|
|
|
# Zero endstops, as with a CNC
|
|
|
|
#
|
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_TEENSY31_32
|
|
|
|
opt_disable USE_XMIN_PLUG USE_YMIN_PLUG USE_ZMIN_PLUG
|
|
|
|
exec_test $1 $2 "Teensy3.1 with Zero Endstops" "$3"
|
|
|
|
|
2019-08-02 07:22:07 -05:00
|
|
|
#
|
2019-10-03 18:48:31 -05:00
|
|
|
# Test many features together
|
2019-08-02 07:22:07 -05:00
|
|
|
#
|
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_TEENSY31_32
|
|
|
|
opt_set TEMP_SENSOR_0 1
|
|
|
|
opt_set TEMP_SENSOR_BED 1
|
2019-08-02 11:30:30 -05:00
|
|
|
opt_enable EEPROM_SETTINGS FILAMENT_WIDTH_SENSOR CALIBRATION_GCODE BAUD_RATE_GCODE \
|
2019-10-03 18:48:31 -05:00
|
|
|
FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR DEBUG_LEVELING_FEATURE Z_MIN_PROBE_REPEATABILITY_TEST \
|
2019-08-02 11:30:30 -05:00
|
|
|
BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET PRINTCOUNTER SLOW_PWM_HEATERS PIDTEMPBED \
|
|
|
|
INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT M100_FREE_MEMORY_WATCHER \
|
|
|
|
NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE PARK_HEAD_ON_PAUSE \
|
|
|
|
ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES \
|
2019-08-02 07:22:07 -05:00
|
|
|
PHOTO_GCODE PHOTO_POSITION PHOTO_SWITCH_POSITION PHOTO_SWITCH_MS PHOTO_DELAY_MS PHOTO_RETRACT_MM \
|
|
|
|
HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT
|
|
|
|
opt_set I2C_SLAVE_ADDRESS 63
|
|
|
|
opt_set GRID_MAX_POINTS_X 16
|
2020-11-17 20:04:28 -06:00
|
|
|
exec_test $1 $2 "Teensy3.1 with many features" "$3"
|