2020-06-16 06:45:27 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
|
|
|
# Build tests for STM32F103RET6_creality
|
|
|
|
#
|
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
|
|
|
#
|
|
|
|
# Build with configs included in the PR
|
|
|
|
#
|
|
|
|
use_example_configs "Creality/Ender-3 V2"
|
2020-07-24 08:09:14 +00:00
|
|
|
opt_enable MARLIN_DEV_MODE
|
2020-11-18 02:04:28 +00:00
|
|
|
exec_test $1 $2 "Ender 3 v2" "$3"
|
2020-06-16 06:45:27 +00:00
|
|
|
|
2020-12-02 09:31:06 +00:00
|
|
|
use_example_configs "Creality/Ender-3 V2"
|
|
|
|
opt_disable CLASSIC_JERK
|
2020-12-02 11:23:34 +00:00
|
|
|
opt_add SDCARD_EEPROM_EMULATION
|
|
|
|
exec_test $1 $2 "Ender 3 v2, SD EEPROM, w/o CLASSIC_JERK" "$3"
|
2020-12-02 09:31:06 +00:00
|
|
|
|
2020-06-16 06:45:27 +00:00
|
|
|
restore_configs
|
2020-12-20 04:11:43 +00:00
|
|
|
opt_set SERIAL_PORT 1
|
|
|
|
opt_set MOTHERBOARD BOARD_CREALITY_V452
|
|
|
|
opt_disable NOZZLE_TO_PROBE_OFFSET
|
|
|
|
opt_enable NOZZLE_AS_PROBE Z_SAFE_HOMING Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
|
|
|
opt_enable PROBE_ACTIVATION_SWITCH PROBE_ACTIVATION_SWITCH_PIN PROBE_TARE PROBE_TARE_ONLY_WHILE_INACTIVE
|
|
|
|
exec_test $1 $2 "Creality V4.5.2 PROBE_ACTIVATION_SWITCH, Probe Tare" "$3"
|
|
|
|
|
|
|
|
# clean up
|
|
|
|
restore_configs
|