You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
786 B
28 lines
786 B
#!/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/CrealityUI"
|
|
opt_enable MARLIN_DEV_MODE BUFFER_MONITORING
|
|
exec_test $1 $2 "Ender 3 v2 with CrealityUI" "$3"
|
|
|
|
use_example_configs "Creality/Ender-3 V2/MarlinUI"
|
|
opt_add SDCARD_EEPROM_EMULATION
|
|
exec_test $1 $2 "Ender 3 v2 with MarlinUI" "$3"
|
|
|
|
restore_configs
|
|
opt_set MOTHERBOARD BOARD_CREALITY_V452 SERIAL_PORT 1
|
|
opt_disable NOZZLE_TO_PROBE_OFFSET
|
|
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
|
|
exec_test $1 $2 "Creality V4.5.2 PROBE_ACTIVATION_SWITCH, Probe Tare" "$3"
|
|
|
|
# clean up
|
|
restore_configs
|
|
|