2018-07-14 06:42:15 +02:00
|
|
|
#!/usr/bin/env bash
|
2018-10-09 06:03:53 +02:00
|
|
|
#
|
|
|
|
# Build tests for LPC1768 (NXP ARM Cortex-M3)
|
|
|
|
#
|
2018-07-14 06:42:15 +02:00
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
2018-09-02 10:27:39 +02:00
|
|
|
restore_configs
|
2018-07-14 06:42:15 +02:00
|
|
|
opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
|
|
|
|
exec_test $1 $2 "Build Re-ARM Default Configuration"
|
|
|
|
|
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
|
|
|
|
opt_enable VIKI2 SDSUPPORT
|
2019-03-07 00:54:19 +01:00
|
|
|
opt_enable SERIAL_PORT2
|
|
|
|
opt_enable NEOPIXEL_LED
|
|
|
|
opt_set NEOPIXEL_PIN P1_16
|
|
|
|
exec_test $1 $2 "ReARM EFB VIKI2, SDSUPPORT, 2 Serial ports (USB CDC + UART0), NeoPixel"
|
2018-08-25 01:53:24 +02:00
|
|
|
|
|
|
|
restore_configs
|
|
|
|
use_example_configs Mks/Sbase
|
|
|
|
exec_test $1 $2 "MKS SBASE Example Config"
|
|
|
|
|
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_MKS_SBASE
|
|
|
|
opt_set EXTRUDERS 2
|
2019-02-04 07:19:56 +01:00
|
|
|
opt_set TEMP_SENSOR_1 1
|
|
|
|
opt_set NUM_SERVOS 2
|
|
|
|
opt_set SERVO_DELAY "{ 300, 300 }"
|
|
|
|
opt_enable SWITCHING_NOZZLE SWITCHING_NOZZLE_E1_SERVO_NR ULTIMAKERCONTROLLER
|
2019-07-04 02:11:59 +02:00
|
|
|
exec_test $1 $2 "MKS SBASE with SWITCHING_NOZZLE"
|
2018-08-25 01:53:24 +02:00
|
|
|
|
|
|
|
restore_configs
|
2018-11-19 02:58:02 +01:00
|
|
|
opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EEB
|
2018-08-25 01:53:24 +02:00
|
|
|
opt_set EXTRUDERS 2
|
2019-02-04 07:19:56 +01:00
|
|
|
opt_set TEMP_SENSOR_1 -1
|
|
|
|
opt_set TEMP_SENSOR_BED 5
|
2019-02-04 07:12:41 +01:00
|
|
|
opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT ADAPTIVE_FAN_SLOWING NO_FAN_SLOWING_IN_PID_TUNING \
|
2019-03-07 09:09:39 +01:00
|
|
|
FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY PID_EXTRUSION_SCALING \
|
2019-05-08 03:38:40 +02:00
|
|
|
FIX_MOUNTED_PROBE AUTO_BED_LEVELING_BILINEAR G29_RETRY_AND_RECOVER Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
|
2018-10-02 01:53:09 +02:00
|
|
|
BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY \
|
2018-11-19 02:58:02 +01:00
|
|
|
PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT \
|
2019-05-08 03:38:40 +02:00
|
|
|
Z_SAFE_HOMING ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE \
|
2018-11-19 02:58:02 +01:00
|
|
|
LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES SDCARD_SORT_ALPHA
|
2018-08-25 01:53:24 +02:00
|
|
|
opt_set GRID_MAX_POINTS_X 16
|
2019-07-04 02:11:59 +02:00
|
|
|
exec_test $1 $2 "Re-ARM with Many Features"
|
2018-07-14 06:42:15 +02:00
|
|
|
|
|
|
|
restore_configs
|
2018-11-19 02:58:02 +01:00
|
|
|
opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
|
2018-11-04 11:25:03 +01:00
|
|
|
opt_enable COREYX USE_XMAX_PLUG DAC_MOTOR_CURRENT_DEFAULT \
|
|
|
|
REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING \
|
|
|
|
AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 EEPROM_SETTINGS \
|
2018-11-19 02:58:02 +01:00
|
|
|
FILAMENT_LCD_DISPLAY FILAMENT_WIDTH_SENSOR FAN_SOFT_PWM \
|
|
|
|
SHOW_TEMP_ADC_VALUES HOME_Y_BEFORE_X EMERGENCY_PARSER FAN_KICKSTART_TIME \
|
2019-06-11 00:25:43 +02:00
|
|
|
SD_ABORT_ON_ENDSTOP_HIT ADVANCED_OK GCODE_MACROS \
|
2018-11-19 02:58:02 +01:00
|
|
|
VOLUMETRIC_DEFAULT_ON NO_WORKSPACE_OFFSETS ACTION_ON_KILL \
|
2018-11-20 06:59:48 +01:00
|
|
|
EXTRA_FAN_SPEED FWRETRACT Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS \
|
2018-11-19 02:58:02 +01:00
|
|
|
MENU_ADDAUTOSTART SDCARD_SORT_ALPHA
|
|
|
|
opt_set FAN_MIN_PWM 50
|
|
|
|
opt_set FAN_KICKSTART_TIME 100
|
|
|
|
opt_set XY_FREQUENCY_LIMIT 15
|
2019-07-04 02:11:59 +02:00
|
|
|
exec_test $1 $2 "Re-ARM with Many less common options"
|
2018-07-14 06:42:15 +02:00
|
|
|
|
2018-10-02 01:53:09 +02:00
|
|
|
# clean up
|
2018-09-02 10:27:39 +02:00
|
|
|
restore_configs
|