2018-07-14 04:42:15 +00:00
|
|
|
#!/usr/bin/env bash
|
2018-10-09 04:03:53 +00:00
|
|
|
#
|
|
|
|
# Build tests for LPC1768 (NXP ARM Cortex-M3)
|
|
|
|
#
|
2018-07-14 04:42:15 +00:00
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
2019-08-19 04:29:59 +00:00
|
|
|
#
|
|
|
|
# Build with the default configurations
|
|
|
|
#
|
2019-09-03 00:49:58 +00:00
|
|
|
#restore_configs
|
|
|
|
#opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
|
2020-11-22 04:32:56 +00:00
|
|
|
#exec_test $1 $2 "Default Configuration" "$3"
|
2018-07-14 04:42:15 +00:00
|
|
|
|
|
|
|
restore_configs
|
2022-02-01 23:35:38 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB SERIAL_PORT_3 3 \
|
2022-04-30 05:54:42 +00:00
|
|
|
NEOPIXEL_TYPE NEO_RGB RGB_LED_R_PIN P2_12 RGB_LED_G_PIN P1_23 RGB_LED_B_PIN P1_22 RGB_LED_W_PIN P1_24
|
2021-06-14 09:28:13 +00:00
|
|
|
opt_enable FYSETC_MINI_12864_2_1 SDSUPPORT SDCARD_READONLY SERIAL_PORT_2 RGBW_LED E_DUAL_STEPPER_DRIVERS \
|
2023-02-27 03:23:52 +00:00
|
|
|
NEOPIXEL_LED NEOPIXEL_IS_SEQUENTIAL NEOPIXEL_STARTUP_TEST NEOPIXEL_BKGD_INDEX_FIRST NEOPIXEL_BKGD_INDEX_LAST NEOPIXEL_BKGD_COLOR NEOPIXEL_BKGD_TIMEOUT_COLOR NEOPIXEL_BKGD_ALWAYS_ON
|
2020-11-18 02:04:28 +00:00
|
|
|
exec_test $1 $2 "ReARM EFB VIKI2, SDSUPPORT, 2 Serial ports (USB CDC + UART0), NeoPixel" "$3"
|
2018-08-24 23:53:24 +00:00
|
|
|
|
2019-09-03 00:49:58 +00:00
|
|
|
#restore_configs
|
|
|
|
#use_example_configs Mks/Sbase
|
2020-11-22 04:32:56 +00:00
|
|
|
#exec_test $1 $2 "MKS SBASE Example Config" "$3"
|
2018-08-24 23:53:24 +00:00
|
|
|
|
|
|
|
restore_configs
|
2021-03-03 06:15:56 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_MKS_SBASE \
|
|
|
|
EXTRUDERS 2 TEMP_SENSOR_1 1 \
|
2023-10-09 00:22:40 +00:00
|
|
|
NUM_SERVOS 2 SERVO_DELAY '{ 300, 300 }' SWITCHING_NOZZLE_SERVO_ANGLES '{ { 0, 90 }, { 90, 0 } }'
|
2021-09-15 00:00:48 +00:00
|
|
|
opt_enable SWITCHING_NOZZLE SWITCHING_NOZZLE_E1_SERVO_NR EDITABLE_SERVO_ANGLES SERVO_DETACH_GCODE \
|
|
|
|
ULTIMAKERCONTROLLER REALTIME_REPORTING_COMMANDS FULL_REPORT_TO_HOST_FEATURE
|
2021-04-16 06:59:28 +00:00
|
|
|
exec_test $1 $2 "MKS SBASE with SWITCHING_NOZZLE, Grbl Realtime Report" "$3"
|
2018-08-24 23:53:24 +00:00
|
|
|
|
|
|
|
restore_configs
|
2021-03-03 06:15:56 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EEB \
|
2023-06-28 22:06:50 +00:00
|
|
|
EXTRUDERS 2 TEMP_SENSOR_1 -4 TEMP_SENSOR_BED 5 \
|
2021-03-03 06:15:56 +00:00
|
|
|
GRID_MAX_POINTS_X 16 \
|
|
|
|
NOZZLE_TO_PROBE_OFFSET '{ 0, 0, 0 }' \
|
2021-03-23 06:47:07 +00:00
|
|
|
NOZZLE_CLEAN_MIN_TEMP 170 \
|
|
|
|
NOZZLE_CLEAN_START_POINT "{ { 10, 10, 3 }, { 10, 10, 3 } }" \
|
|
|
|
NOZZLE_CLEAN_END_POINT "{ { 10, 20, 3 }, { 10, 20, 3 } }"
|
2023-02-01 07:25:13 +00:00
|
|
|
opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER ADAPTIVE_FAN_SLOWING TEMP_TUNING_MAINTAIN_FAN \
|
2020-10-28 01:41:12 +00:00
|
|
|
FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY PID_EXTRUSION_SCALING SOUND_MENU_ITEM \
|
2020-12-20 04:02:38 +00:00
|
|
|
NOZZLE_AS_PROBE AUTO_BED_LEVELING_BILINEAR PREHEAT_BEFORE_LEVELING G29_RETRY_AND_RECOVER Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
|
2021-08-31 07:00:59 +00:00
|
|
|
ASSISTED_TRAMMING ASSISTED_TRAMMING_WIZARD REPORT_TRAMMING_MM ASSISTED_TRAMMING_WAIT_POSITION \
|
2023-05-25 03:10:40 +00:00
|
|
|
BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET EP_BABYSTEPPING BABYSTEP_GFX_OVERLAY \
|
2018-11-19 01:58:02 +00:00
|
|
|
PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT \
|
2019-05-08 01:38:40 +00:00
|
|
|
Z_SAFE_HOMING ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE \
|
2023-07-05 06:21:54 +00:00
|
|
|
HOST_KEEPALIVE_FEATURE HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT HOST_STATUS_NOTIFICATIONS \
|
2021-02-01 00:11:50 +00:00
|
|
|
LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES \
|
2021-04-24 07:53:52 +00:00
|
|
|
SDSUPPORT SDCARD_SORT_ALPHA AUTO_REPORT_SD_STATUS EMERGENCY_PARSER SOFT_RESET_ON_KILL SOFT_RESET_VIA_SERIAL
|
2020-11-18 02:04:28 +00:00
|
|
|
exec_test $1 $2 "Re-ARM with NOZZLE_AS_PROBE and many features." "$3"
|
2018-07-14 04:42:15 +00:00
|
|
|
|
2022-12-18 05:48:33 +00:00
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_BTT_SKR_V1_3 EXTRUDERS 2 \
|
|
|
|
TEMP_SENSOR_0 1 TEMP_SENSOR_1 1 TEMP_SENSOR_BED 1 TEMP_SENSOR_CHAMBER 1 \
|
|
|
|
TEMP_CHAMBER_PIN P1_30 HEATER_CHAMBER_PIN P0_28
|
|
|
|
opt_enable PIDTEMPBED PIDTEMPCHAMBER PID_EXTRUSION_SCALING PID_FAN_SCALING
|
|
|
|
exec_test $1 $2 "SKR v1.3 with 2*Extr, bed, chamber all PID." "$3"
|
|
|
|
|
2024-08-23 23:33:13 +00:00
|
|
|
#
|
|
|
|
# SKR 1.4 with MMU2
|
|
|
|
#
|
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_BTT_SKR_V1_4 SERIAL_PORT -1 \
|
|
|
|
BAUDRATE 115200 X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2209 \
|
|
|
|
Z_DRIVER_TYPE TMC2209 Z2_DRIVER_TYPE TMC2209 E0_DRIVER_TYPE TMC2209 \
|
|
|
|
EXTRUDERS 5 MMU_MODEL PRUSA_MMU2 HEATER_0_MAXTEMP 305 \
|
|
|
|
BED_MAXTEMP 125 HOTEND_OVERSHOOT 5 INVERT_X_DIR true \
|
|
|
|
INVERT_E0_DIR true X_BED_SIZE 235 Y_BED_SIZE 225 Z_MAX_POS 240 \
|
|
|
|
GRID_MAX_POINTS_X 5 E0_AUTO_FAN_PIN FAN1_PIN \
|
|
|
|
BLTOUCH_HS_MODE true BLTOUCH_HS_EXTRA_CLEARANCE 0 \
|
|
|
|
Z_STEPPER_ALIGN_XY '{{10,110},{200,110}}' \
|
|
|
|
Z_STEPPER_ALIGN_ITERATIONS 10 DEFAULT_STEPPER_TIMEOUT_SEC 0 \
|
|
|
|
SLOWDOWN_DIVISOR 16 SDCARD_CONNECTION ONBOARD BLOCK_BUFFER_SIZE 64 \
|
|
|
|
CHOPPER_TIMING CHOPPER_DEFAULT_24V MMU2_SERIAL_PORT 0
|
|
|
|
opt_enable PIDTEMPBED S_CURVE_ACCELERATION \
|
|
|
|
USE_PROBE_FOR_Z_HOMING BLTOUCH FILAMENT_RUNOUT_SENSOR \
|
|
|
|
AUTO_BED_LEVELING_BILINEAR RESTORE_LEVELING_AFTER_G28 \
|
|
|
|
EXTRAPOLATE_BEYOND_GRID LCD_BED_LEVELING MESH_EDIT_MENU Z_SAFE_HOMING \
|
|
|
|
EEPROM_SETTINGS EEPROM_AUTO_INIT NOZZLE_PARK_FEATURE SDSUPPORT \
|
|
|
|
SPEAKER CR10_STOCKDISPLAY QUICK_HOME BLTOUCH_FORCE_SW_MODE \
|
|
|
|
Z_STEPPER_AUTO_ALIGN INPUT_SHAPING_X INPUT_SHAPING_Y SHAPING_MENU \
|
|
|
|
ADAPTIVE_STEP_SMOOTHING LCD_INFO_MENU STATUS_MESSAGE_SCROLLING \
|
|
|
|
SET_PROGRESS_MANUALLY M73_REPORT SHOW_REMAINING_TIME \
|
|
|
|
PRINT_PROGRESS_SHOW_DECIMALS AUTO_REPORT_SD_STATUS USE_BIG_EDIT_FONT \
|
|
|
|
BABYSTEPPING BABYSTEP_WITHOUT_HOMING BABYSTEP_ALWAYS_AVAILABLE \
|
|
|
|
DOUBLECLICK_FOR_Z_BABYSTEPPING BABYSTEP_DISPLAY_TOTAL LIN_ADVANCE \
|
|
|
|
BEZIER_CURVE_SUPPORT EMERGENCY_PARSER ADVANCED_PAUSE_FEATURE \
|
|
|
|
TMC_DEBUG HOST_ACTION_COMMANDS HOST_PAUSE_M76 HOST_PROMPT_SUPPORT \
|
|
|
|
HOST_STATUS_NOTIFICATIONS MMU2_DEBUG
|
|
|
|
opt_disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN FILAMENT_LOAD_UNLOAD_GCODES \
|
|
|
|
PARK_HEAD_ON_PAUSE
|
|
|
|
exec_test $1 $2 "BigTreeTech SKR 1.4 | MMU2" "$3"
|
|
|
|
|
2018-10-01 23:53:09 +00:00
|
|
|
# clean up
|
2018-09-02 08:27:39 +00:00
|
|
|
restore_configs
|