Firmware2/buildroot/share/tests/STM32F1_tests
2018-10-07 17:06:14 -05:00

18 lines
539 B
Bash
Executable File

#!/usr/bin/env bash
# exit on first failure
set -e
restore_configs
opt_set MOTHERBOARD BOARD_STM32F1R
opt_set EXTRUDERS 2
opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT \
PAREN_COMMENTS GCODE_MOTION_MODES SINGLENOZZLE SINGLENOZZLE_SWAP_LENGTH
exec_test $1 $2 "STM32F1R EEPROM_SETTINGS EEPROM_CHITCHAT REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT PAREN_COMMENTS GCODE_MOTION_MODES"
opt_enable SPINDLE_LASER_ENABLE
exec_test $1 $2 "STM32F1R SPINDLE_LASER_ENABLE"
# cleanup
restore_configs