aboutsummaryrefslogtreecommitdiff
path: root/buildroot/tests/at90usb1286_dfu-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/at90usb1286_dfu-tests
downloadkp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.tar.xz
kp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.zip
Initial commit
Diffstat (limited to 'buildroot/tests/at90usb1286_dfu-tests')
-rw-r--r--buildroot/tests/at90usb1286_dfu-tests22
1 files changed, 22 insertions, 0 deletions
diff --git a/buildroot/tests/at90usb1286_dfu-tests b/buildroot/tests/at90usb1286_dfu-tests
new file mode 100644
index 0000000..75672a6
--- /dev/null
+++ b/buildroot/tests/at90usb1286_dfu-tests
@@ -0,0 +1,22 @@
+#!/usr/bin/env bash
+#
+# Build tests for AT90USB1286 ARMED
+#
+
+# exit on first failure
+set -e
+
+#
+# Build with the default configurations
+#
+restore_configs
+opt_set MOTHERBOARD BOARD_PRINTRBOARD
+exec_test $1 $2 "Printrboard Configuration" "$3"
+
+restore_configs
+opt_set MOTHERBOARD BOARD_PRINTRBOARD_REVF
+opt_enable MINIPANEL
+exec_test $1 $2 "Printrboard RevF with MiniPanel and Stepper DAC (in pins file)" "$3"
+
+# clean up
+restore_configs