2020-06-16 01:45:27 -05: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 03:09:14 -05:00
|
|
|
opt_enable MARLIN_DEV_MODE
|
2020-11-17 20:04:28 -06:00
|
|
|
exec_test $1 $2 "Ender 3 v2" "$3"
|
2020-06-16 01:45:27 -05:00
|
|
|
|
2020-12-02 03:31:06 -06:00
|
|
|
use_example_configs "Creality/Ender-3 V2"
|
|
|
|
opt_disable CLASSIC_JERK
|
2020-12-02 05:23:34 -06:00
|
|
|
opt_add SDCARD_EEPROM_EMULATION
|
2021-04-24 18:50:44 -05:00
|
|
|
opt_set TEMP_SENSOR_BED 0
|
|
|
|
exec_test $1 $2 "Ender 3 v2, SD EEPROM, no CLASSIC_JERK, no Bed" "$3"
|
2020-12-02 03:31:06 -06:00
|
|
|
|
2020-06-16 01:45:27 -05:00
|
|
|
restore_configs
|
2021-03-03 00:15:56 -06:00
|
|
|
opt_set MOTHERBOARD BOARD_CREALITY_V452 SERIAL_PORT 1
|
2020-12-19 22:11:43 -06:00
|
|
|
opt_disable NOZZLE_TO_PROBE_OFFSET
|
2021-03-03 00:15:56 -06:00
|
|
|
opt_enable NOZZLE_AS_PROBE Z_SAFE_HOMING Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN \
|
|
|
|
PROBE_ACTIVATION_SWITCH PROBE_TARE PROBE_TARE_ONLY_WHILE_INACTIVE
|
2020-12-19 22:11:43 -06:00
|
|
|
exec_test $1 $2 "Creality V4.5.2 PROBE_ACTIVATION_SWITCH, Probe Tare" "$3"
|
|
|
|
|
|
|
|
# clean up
|
|
|
|
restore_configs
|