mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-12-18 08:17:18 +00:00
33 lines
1.0 KiB
Bash
Executable File
33 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Build tests for STM32F407ZG BigTreeTech SKR Pro
|
|
#
|
|
|
|
# exit on first failure
|
|
set -e
|
|
|
|
#
|
|
# Build with the default configurations
|
|
#
|
|
restore_configs
|
|
opt_set MOTHERBOARD BOARD_BTT_SKR_PRO_V1_1 SERIAL_PORT 1
|
|
exec_test $1 $2 "BigTreeTech SKR Pro Default Configuration" "$3"
|
|
|
|
restore_configs
|
|
opt_set MOTHERBOARD BOARD_BTT_SKR_PRO_V1_1 SERIAL_PORT -1 \
|
|
EXTRUDERS 3 TEMP_SENSOR_1 1 TEMP_SENSOR_2 1 \
|
|
E0_AUTO_FAN_PIN PC10 E1_AUTO_FAN_PIN PC11 E2_AUTO_FAN_PIN PC12 \
|
|
X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2130
|
|
opt_enable BLTOUCH EEPROM_SETTINGS AUTO_BED_LEVELING_3POINT Z_SAFE_HOMING PINS_DEBUGGING
|
|
exec_test $1 $2 "BigTreeTech SKR Pro 3 Extruders, Auto-Fan, BLTOUCH, mixed TMC drivers" "$3"
|
|
|
|
restore_configs
|
|
opt_set MOTHERBOARD BOARD_BTT_SKR_PRO_V1_1 SERIAL_PORT -1 \
|
|
CUTTER_POWER_UNIT PERCENT \
|
|
SPINDLE_LASER_PWM_PIN HEATER_1_PIN SPINDLE_LASER_ENA_PIN HEATER_2_PIN
|
|
opt_enable LASER_FEATURE REPRAP_DISCOUNT_SMART_CONTROLLER
|
|
exec_test $1 $2 "Laser, LCD, PERCENT power unit" "$3"
|
|
|
|
# clean up
|
|
restore_configs
|