teensy31 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for Teensy 3.1/3.2 (ARM Cortex-M4)
  4. #
  5. # exit on first failure
  6. set -e
  7. restore_configs
  8. opt_set MOTHERBOARD BOARD_TEENSY31_32
  9. exec_test $1 $2 "Teensy3.1 with default config" "$3"
  10. #
  11. # Zero endstops, as with a CNC
  12. #
  13. restore_configs
  14. opt_set MOTHERBOARD BOARD_TEENSY31_32 X_HOME_DIR 0 Y_HOME_DIR 0 Z_HOME_DIR 0
  15. exec_test $1 $2 "Teensy3.1 with Zero Endstops" "$3"
  16. #
  17. # Test many features together
  18. #
  19. restore_configs
  20. opt_set MOTHERBOARD BOARD_TEENSY31_32 \
  21. TEMP_SENSOR_0 1 TEMP_SENSOR_BED 1 \
  22. I2C_SLAVE_ADDRESS 63 \
  23. GRID_MAX_POINTS_X 16
  24. opt_enable EEPROM_SETTINGS FILAMENT_WIDTH_SENSOR CALIBRATION_GCODE BAUD_RATE_GCODE \
  25. FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR DEBUG_LEVELING_FEATURE Z_MIN_PROBE_REPEATABILITY_TEST \
  26. BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET PRINTCOUNTER SLOW_PWM_HEATERS PIDTEMPBED \
  27. INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT M100_FREE_MEMORY_WATCHER \
  28. NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE PARK_HEAD_ON_PAUSE \
  29. ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES \
  30. PHOTO_GCODE PHOTO_POSITION PHOTO_SWITCH_POSITION PHOTO_SWITCH_MS PHOTO_DELAY_MS PHOTO_RETRACT_MM \
  31. HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT HOST_STATUS_NOTIFICATIONS
  32. exec_test $1 $2 "Teensy3.1 with many features" "$3"