2019-08-19 00:29:59 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2019-12-19 03:41:35 -05:00
|
|
|
# Build tests for STM32F103RC BigTreeTech (SKR Mini E3)
|
2019-08-19 00:29:59 -04:00
|
|
|
#
|
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
|
|
|
#
|
|
|
|
# Build with the default configurations
|
|
|
|
#
|
|
|
|
restore_configs
|
2019-11-26 05:28:13 -05:00
|
|
|
opt_set MOTHERBOARD BOARD_BTT_SKR_MINI_E3_V1_0
|
2019-08-31 22:10:50 -04:00
|
|
|
opt_set SERIAL_PORT 1
|
|
|
|
opt_set SERIAL_PORT_2 -1
|
2020-05-08 02:15:12 -04:00
|
|
|
opt_set X_DRIVER_TYPE TMC2209
|
|
|
|
opt_set Y_DRIVER_TYPE TMC2209
|
|
|
|
opt_set Z_DRIVER_TYPE TMC2209
|
2020-09-22 21:36:31 -04:00
|
|
|
opt_set E0_DRIVER_TYPE TMC2209
|
|
|
|
opt_set X_SLAVE_ADDRESS 0
|
|
|
|
opt_set Y_SLAVE_ADDRESS 1
|
|
|
|
opt_set Z_SLAVE_ADDRESS 2
|
|
|
|
opt_set E0_SLAVE_ADDRESS 3
|
|
|
|
|
2020-11-17 21:04:28 -05:00
|
|
|
exec_test $1 $2 "BigTreeTech SKR Mini E3 1.0 - Basic Config with TMC2209 HW Serial" "$3"
|
2019-08-19 00:29:59 -04:00
|
|
|
|
|
|
|
# clean up
|
|
|
|
restore_configs
|