2020-06-16 06:45:27 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2022-01-25 08:09:53 +00:00
|
|
|
# Build tests for STM32F103RE_creality
|
2020-06-16 06:45:27 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
|
|
|
#
|
|
|
|
# Build with configs included in the PR
|
|
|
|
#
|
2021-10-30 09:16:37 +00:00
|
|
|
use_example_configs "Creality/Ender-3 V2/CrealityV422/CrealityUI"
|
2021-09-16 00:48:29 +00:00
|
|
|
opt_enable MARLIN_DEV_MODE BUFFER_MONITORING BLTOUCH AUTO_BED_LEVELING_BILINEAR Z_SAFE_HOMING
|
2021-08-17 11:18:19 +00:00
|
|
|
exec_test $1 $2 "Ender 3 v2 with CrealityUI" "$3"
|
2020-06-16 06:45:27 +00:00
|
|
|
|
2021-10-30 09:16:37 +00:00
|
|
|
use_example_configs "Creality/Ender-3 V2/CrealityV422/CrealityUI"
|
2021-09-07 07:15:24 +00:00
|
|
|
opt_disable DWIN_CREALITY_LCD
|
2021-09-16 00:48:29 +00:00
|
|
|
opt_enable DWIN_CREALITY_LCD_ENHANCED BLTOUCH AUTO_BED_LEVELING_UBL Z_SAFE_HOMING
|
2021-09-07 07:15:24 +00:00
|
|
|
exec_test $1 $2 "Ender 3 v2 with Enhanced UI" "$3"
|
|
|
|
|
2021-10-30 09:16:37 +00:00
|
|
|
use_example_configs "Creality/Ender-3 V2/CrealityV422/CrealityUI"
|
2021-09-07 04:06:27 +00:00
|
|
|
opt_disable DWIN_CREALITY_LCD
|
2021-09-16 00:48:29 +00:00
|
|
|
opt_enable DWIN_CREALITY_LCD_JYERSUI AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
|
2021-09-07 04:06:27 +00:00
|
|
|
exec_test $1 $2 "Ender 3 v2 with JyersUI" "$3"
|
|
|
|
|
2021-10-30 09:16:37 +00:00
|
|
|
use_example_configs "Creality/Ender-3 V2/CrealityV422/MarlinUI"
|
2021-09-25 10:59:43 +00:00
|
|
|
opt_add SDCARD_EEPROM_EMULATION AUTO_BED_LEVELING_BILINEAR Z_SAFE_HOMING
|
2021-08-22 10:25:07 +00:00
|
|
|
exec_test $1 $2 "Ender 3 v2 with MarlinUI" "$3"
|
2020-12-02 09:31:06 +00:00
|
|
|
|
2020-06-16 06:45:27 +00:00
|
|
|
restore_configs
|
2021-03-03 06:15:56 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_CREALITY_V452 SERIAL_PORT 1
|
2020-12-20 04:11:43 +00:00
|
|
|
opt_disable NOZZLE_TO_PROBE_OFFSET
|
2021-12-29 10:17:41 +00:00
|
|
|
opt_enable NOZZLE_AS_PROBE Z_SAFE_HOMING Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN FAN_SOFT_PWM \
|
2021-03-03 06:15:56 +00:00
|
|
|
PROBE_ACTIVATION_SWITCH PROBE_TARE PROBE_TARE_ONLY_WHILE_INACTIVE
|
2020-12-20 04:11:43 +00:00
|
|
|
exec_test $1 $2 "Creality V4.5.2 PROBE_ACTIVATION_SWITCH, Probe Tare" "$3"
|
|
|
|
|
|
|
|
# clean up
|
|
|
|
restore_configs
|