aboutsummaryrefslogtreecommitdiff
path: root/buildroot/tests/BIGTREE_BTT002-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/BIGTREE_BTT002-tests
downloadkp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.tar.xz
kp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.zip
Initial commit
Diffstat (limited to 'buildroot/tests/BIGTREE_BTT002-tests')
-rw-r--r--buildroot/tests/BIGTREE_BTT002-tests20
1 files changed, 20 insertions, 0 deletions
diff --git a/buildroot/tests/BIGTREE_BTT002-tests b/buildroot/tests/BIGTREE_BTT002-tests
new file mode 100644
index 0000000..90e033e
--- /dev/null
+++ b/buildroot/tests/BIGTREE_BTT002-tests
@@ -0,0 +1,20 @@
+#!/usr/bin/env bash
+#
+# Build tests for STM32F407VGT6 BigTreeTech BTT002 V1.0
+#
+
+# exit on first failure
+set -e
+
+#
+# Build with the default configurations
+#
+restore_configs
+opt_set MOTHERBOARD BOARD_BTT_BTT002_V1_0
+opt_set SERIAL_PORT 1
+opt_set X_DRIVER_TYPE TMC2209
+opt_set Y_DRIVER_TYPE TMC2130
+exec_test $1 $2 "BigTreeTech BTT002 Default Configuration plus TMC steppers" "$3"
+
+# clean up
+restore_configs