2020-03-01 23:39:46 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
|
|
|
# Build tests for AVR ATmega1280
|
|
|
|
#
|
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
|
|
|
#
|
|
|
|
# Build with the default configurations
|
|
|
|
#
|
|
|
|
#restore_configs
|
2020-11-22 04:32:56 +00:00
|
|
|
#exec_test $1 $2 "Default Configuration" "$3"
|
2020-03-01 23:39:46 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test MESH_BED_LEVELING feature, with LCD
|
|
|
|
#
|
|
|
|
restore_configs
|
2021-03-03 06:15:56 +00:00
|
|
|
opt_set LCD_LANGUAGE an \
|
|
|
|
POWER_MONITOR_CURRENT_PIN 14 POWER_MONITOR_VOLTAGE_PIN 15 \
|
|
|
|
CLOSED_LOOP_ENABLE_PIN 44 CLOSED_LOOP_MOVE_COMPLETE_PIN 45
|
2024-10-05 01:41:47 +00:00
|
|
|
opt_enable SPINDLE_FEATURE ULTIMAKERCONTROLLER LCD_BED_LEVELING EDITABLE_HOMING_FEEDRATE \
|
2020-07-06 23:53:26 +00:00
|
|
|
EEPROM_SETTINGS EEPROM_BOOT_SILENT EEPROM_AUTO_INIT \
|
2020-03-25 08:18:48 +00:00
|
|
|
SENSORLESS_BACKOFF_MM HOMING_BACKOFF_POST_MM HOME_Y_BEFORE_X CODEPENDENT_XY_HOMING \
|
2020-03-01 23:39:46 +00:00
|
|
|
MESH_BED_LEVELING ENABLE_LEVELING_FADE_HEIGHT MESH_G28_REST_ORIGIN \
|
2020-06-28 18:48:48 +00:00
|
|
|
G26_MESH_VALIDATION MESH_EDIT_MENU GCODE_QUOTED_STRINGS \
|
2020-07-06 23:53:26 +00:00
|
|
|
EXTERNAL_CLOSED_LOOP_CONTROLLER POWER_MONITOR_CURRENT POWER_MONITOR_VOLTAGE
|
2020-11-18 02:04:28 +00:00
|
|
|
exec_test $1 $2 "Spindle, MESH_BED_LEVELING, closed loop, Power Monitor, and LCD" "$3"
|
2020-03-01 23:39:46 +00:00
|
|
|
|
2021-12-06 21:52:18 +00:00
|
|
|
#
|
|
|
|
# ...and without PWM
|
|
|
|
#
|
|
|
|
opt_disable SPINDLE_LASER_USE_PWM
|
|
|
|
exec_test $1 $2 "(No PWM)" "$3"
|
|
|
|
|
2020-03-01 23:39:46 +00:00
|
|
|
#
|
|
|
|
# Test DUAL_X_CARRIAGE
|
|
|
|
#
|
|
|
|
restore_configs
|
2021-03-03 06:15:56 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_ZRIB_V52 \
|
|
|
|
LCD_LANGUAGE pt REPRAPWORLD_KEYPAD_MOVE_STEP 10.0 \
|
2022-05-05 00:25:02 +00:00
|
|
|
EXTRUDERS 2 TEMP_SENSOR_1 1 X2_DRIVER_TYPE A4988
|
2023-04-26 19:56:23 +00:00
|
|
|
opt_enable DUAL_X_CARRIAGE REPRAPWORLD_KEYPAD
|
2023-08-02 04:03:06 +00:00
|
|
|
opt_add DEBUG_DXC_MODE
|
2021-02-25 14:15:55 +00:00
|
|
|
exec_test $1 $2 "ZRIB_V52 | DUAL_X_CARRIAGE" "$3"
|
2020-03-01 23:39:46 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Delta Config (generic) + Probeless
|
|
|
|
#
|
|
|
|
use_example_configs delta/generic
|
|
|
|
opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_AUTO_CALIBRATION DELTA_CALIBRATION_MENU
|
2020-11-18 02:04:28 +00:00
|
|
|
exec_test $1 $2 "RAMPS | DELTA | RRD LCD | DELTA_AUTO_CALIBRATION | DELTA_CALIBRATION_MENU" "$3"
|
2020-03-01 23:39:46 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Delta Config (generic) + ABL bilinear + BLTOUCH
|
2021-09-20 20:42:33 +00:00
|
|
|
#
|
2020-03-01 23:39:46 +00:00
|
|
|
use_example_configs delta/generic
|
2021-06-10 07:09:52 +00:00
|
|
|
opt_set LCD_LANGUAGE cz \
|
2023-03-26 09:00:12 +00:00
|
|
|
Z_MIN_PROBE_ENDSTOP_HIT_STATE HIGH \
|
|
|
|
Z_MIN_ENDSTOP_HIT_STATE HIGH
|
2020-03-01 23:39:46 +00:00
|
|
|
opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR BLTOUCH
|
2020-11-18 02:04:28 +00:00
|
|
|
exec_test $1 $2 "DELTA | RRD LCD | ABL Bilinear | BLTOUCH" "$3"
|