aboutsummaryrefslogtreecommitdiff
path: root/buildroot/tests/sanguino1284p-tests
diff options
context:
space:
mode:
authorGeorgiy Bondarenko <69736697+nehilo@users.noreply.github.com>2021-03-04 20:54:23 +0300
committerGeorgiy Bondarenko <69736697+nehilo@users.noreply.github.com>2021-03-04 20:54:23 +0300
commite8701195e66f2d27ffe17fb514eae8173795aaf7 (patch)
tree9f519c4abf6556b9ae7190a6210d87ead1dfadde /buildroot/tests/sanguino1284p-tests
downloadkp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.tar.xz
kp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.zip
Initial commit
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