aboutsummaryrefslogtreecommitdiff
path: root/buildroot/tests/STM32F103RE_btt_USB-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/STM32F103RE_btt_USB-tests
downloadkp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.tar.xz
kp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.zip
Initial commit
Diffstat (limited to 'buildroot/tests/STM32F103RE_btt_USB-tests')
-rw-r--r--buildroot/tests/STM32F103RE_btt_USB-tests31
1 files changed, 31 insertions, 0 deletions
diff --git a/buildroot/tests/STM32F103RE_btt_USB-tests b/buildroot/tests/STM32F103RE_btt_USB-tests
new file mode 100644
index 0000000..43162b6
--- /dev/null
+++ b/buildroot/tests/STM32F103RE_btt_USB-tests
@@ -0,0 +1,31 @@
+#!/usr/bin/env bash
+#
+# Build tests for STM32F103RE BigTreeTech (SKR E3 DIP v1.0)
+#
+
+# exit on first failure
+set -e
+
+#
+# Build with the default configurations
+#
+restore_configs
+opt_set MOTHERBOARD BOARD_BTT_SKR_E3_DIP
+opt_set SERIAL_PORT 1
+opt_set SERIAL_PORT_2 -1
+exec_test $1 $2 "BigTreeTech SKR E3 DIP v1.0 - Basic Configuration" "$3"
+
+restore_configs
+opt_set MOTHERBOARD BOARD_BTT_SKR_CR6
+opt_set SERIAL_PORT -1
+opt_set SERIAL_PORT_2 2
+opt_set TEMP_SENSOR_BED 1
+opt_enable CR10_STOCKDISPLAY \
+ NOZZLE_AS_PROBE Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN Z_SAFE_HOMING \
+ PROBE_ACTIVATION_SWITCH PROBE_TARE PROBE_TARE_ONLY_WHILE_INACTIVE \
+ PROBING_HEATERS_OFF PREHEAT_BEFORE_PROBING
+opt_disable NOZZLE_TO_PROBE_OFFSET
+exec_test $1 $2 "BigTreeTech SKR CR6 PROBE_ACTIVATION_SWITCH, Probe Tare" "$3"
+
+# clean up
+restore_configs