#!/usr/bin/env bash
#
# Build tests for AVR ATmega 1284p
#

# exit on first failure
set -e

#
# Start with default configurations...
#
restore_configs
opt_set MOTHERBOARD BOARD_SANGUINOLOLU_12 \
        LCD_LANGUAGE de \
        CONTROLLER_FAN_PIN 27
opt_enable MINIPANEL USE_CONTROLLER_FAN CONTROLLER_FAN_EDITABLE
exec_test $1 $2 "Default Configuration | MINIPANAL | CONTROLLER_FAN" "$3"

#
# Start with default configurations...
#
restore_configs
opt_set MOTHERBOARD BOARD_MELZI
opt_enable ZONESTAR_LCD
exec_test $1 $2 "Default Configuration | ZONESTAR_LCD " "$3"

# clean up
restore_configs