Firmware2/buildroot/tests/STM32F103RET6_creality

39 lines
1.1 KiB
Plaintext
Raw Normal View History

2020-06-16 08:45:27 +02: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/CrealityUI"
2021-07-23 05:53:00 +02:00
opt_enable MARLIN_DEV_MODE BUFFER_MONITORING
exec_test $1 $2 "Ender 3 v2 with CrealityUI" "$3"
2020-06-16 08:45:27 +02:00
use_example_configs "Creality/Ender-3 V2/CrealityUI"
opt_disable DWIN_CREALITY_LCD
opt_enable DWIN_CREALITY_LCD_ENHANCED
exec_test $1 $2 "Ender 3 v2 with Enhanced UI" "$3"
2021-09-07 06:06:27 +02:00
use_example_configs "Creality/Ender-3 V2/CrealityUI"
opt_disable DWIN_CREALITY_LCD
opt_enable DWIN_CREALITY_LCD_JYERSUI
exec_test $1 $2 "Ender 3 v2 with JyersUI" "$3"
use_example_configs "Creality/Ender-3 V2/MarlinUI"
opt_add SDCARD_EEPROM_EMULATION
exec_test $1 $2 "Ender 3 v2 with MarlinUI" "$3"
2020-06-16 08:45:27 +02:00
restore_configs
2021-03-03 07:15:56 +01:00
opt_set MOTHERBOARD BOARD_CREALITY_V452 SERIAL_PORT 1
opt_disable NOZZLE_TO_PROBE_OFFSET
2021-03-03 07:15:56 +01: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
exec_test $1 $2 "Creality V4.5.2 PROBE_ACTIVATION_SWITCH, Probe Tare" "$3"
# clean up
restore_configs