aboutsummaryrefslogtreecommitdiff
path: root/buildroot/tests/sanguino1284p-tests
diff options
context:
space:
mode:
Diffstat (limited to 'buildroot/tests/sanguino1284p-tests')
-rw-r--r--buildroot/tests/sanguino1284p-tests28
1 files changed, 28 insertions, 0 deletions
diff --git a/buildroot/tests/sanguino1284p-tests b/buildroot/tests/sanguino1284p-tests
new file mode 100644
index 0000000..55cdf41
--- /dev/null
+++ b/buildroot/tests/sanguino1284p-tests
@@ -0,0 +1,28 @@
+#!/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
+opt_set LCD_LANGUAGE de
+opt_enable MINIPANEL USE_CONTROLLER_FAN CONTROLLER_FAN_EDITABLE
+opt_set CONTROLLER_FAN_PIN 27
+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