aboutsummaryrefslogtreecommitdiff
path: root/buildroot/tests/STM32F103RE-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-tests
downloadkp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.tar.xz
kp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.zip
Initial commit
Diffstat (limited to 'buildroot/tests/STM32F103RE-tests')
-rw-r--r--buildroot/tests/STM32F103RE-tests22
1 files changed, 22 insertions, 0 deletions
diff --git a/buildroot/tests/STM32F103RE-tests b/buildroot/tests/STM32F103RE-tests
new file mode 100644
index 0000000..909c362
--- /dev/null
+++ b/buildroot/tests/STM32F103RE-tests
@@ -0,0 +1,22 @@
+#!/usr/bin/env bash
+#
+# Build tests for STM32F103RE
+#
+
+# exit on first failure
+set -e
+
+#
+# Build with the default configurations
+#
+restore_configs
+opt_set MOTHERBOARD BOARD_STM32F103RE
+opt_set EXTRUDERS 2
+opt_set SERIAL_PORT -1
+opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT \
+ PAREN_COMMENTS GCODE_MOTION_MODES SINGLENOZZLE TOOLCHANGE_FILAMENT_SWAP TOOLCHANGE_PARK \
+ BAUD_RATE_GCODE GCODE_MACROS NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE
+exec_test $1 $2 "STM32F1R EEPROM_SETTINGS EEPROM_CHITCHAT REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT PAREN_COMMENTS GCODE_MOTION_MODES" "$3"
+
+# cleanup
+restore_configs