DUE-tests 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for DUE (Atmel SAM3X8E ARM Cortex-M3)
  4. #
  5. # exit on first failure
  6. set -e
  7. backup_ramps # pins_set is used below...
  8. restore_configs
  9. opt_set LCD_LANGUAGE bg
  10. opt_set MOTHERBOARD BOARD_RAMPS4DUE_EFB
  11. opt_set TEMP_SENSOR_0 -2
  12. opt_set TEMP_SENSOR_BED 2
  13. opt_set GRID_MAX_POINTS_X 16
  14. opt_set FANMUX0_PIN 53
  15. opt_enable S_CURVE_ACCELERATION EEPROM_SETTINGS GCODE_MACROS \
  16. PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING CODEPENDENT_XY_HOMING \
  17. EEPROM_SETTINGS SDSUPPORT BINARY_FILE_TRANSFER \
  18. BLINKM PCA9632 RGB_LED RGB_LED_R_PIN RGB_LED_G_PIN RGB_LED_B_PIN LED_CONTROL_MENU \
  19. NEOPIXEL_LED CASE_LIGHT_ENABLE CASE_LIGHT_USE_NEOPIXEL CASE_LIGHT_MENU \
  20. NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE FILAMENT_RUNOUT_DISTANCE_MM FILAMENT_RUNOUT_SENSOR \
  21. AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
  22. SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE CALIBRATION_GCODE \
  23. BACKLASH_COMPENSATION BACKLASH_GCODE BAUD_RATE_GCODE BEZIER_CURVE_SUPPORT \
  24. FWRETRACT ARC_SUPPORT ARC_P_CIRCLES CNC_WORKSPACE_PLANES CNC_COORDINATE_SYSTEMS \
  25. PSU_CONTROL AUTO_POWER_CONTROL \
  26. SLOW_PWM_HEATERS THERMAL_PROTECTION_CHAMBER \
  27. PINS_DEBUGGING MAX7219_DEBUG M114_DETAIL \
  28. EXTENSIBLE_UI
  29. opt_add EXTUI_EXAMPLE
  30. opt_set E0_AUTO_FAN_PIN 8
  31. opt_set EXTRUDER_AUTO_FAN_SPEED 100
  32. opt_set TEMP_SENSOR_CHAMBER 3
  33. opt_set HEATER_CHAMBER_PIN 45
  34. exec_test $1 $2 "RAMPS4DUE_EFB with ABL (Bilinear), EXTENSIBLE_UI, S-Curve, many options."
  35. restore_configs
  36. opt_set MOTHERBOARD BOARD_RADDS
  37. opt_enable USE_XMAX_PLUG USE_YMAX_PLUG ENDSTOPPULLUPS BLTOUCH AUTO_BED_LEVELING_BILINEAR \
  38. Z_TRIPLE_STEPPER_DRIVERS Z_TRIPLE_ENDSTOPS Z_STEPPER_AUTO_ALIGN \
  39. Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
  40. #TOUCH_UI_FTDI_EVE LCD_ALEPHOBJECTS_CLCD_UI OTHER_PIN_LAYOUT
  41. opt_add Z2_MAX_ENDSTOP_INVERTING false
  42. opt_add Z3_MAX_ENDSTOP_INVERTING false
  43. pins_set ramps/RAMPS X_MAX_PIN -1
  44. pins_set ramps/RAMPS Y_MAX_PIN -1
  45. opt_add Z2_MAX_PIN 2
  46. opt_add Z3_MAX_PIN 3
  47. exec_test $1 $2 "RADDS with ABL (Bilinear), Z_TRIPLE_STEPPER_DRIVERS and Z_STEPPER_AUTO_ALIGN"
  48. #
  49. # Test SWITCHING_EXTRUDER
  50. #
  51. restore_configs
  52. opt_set LCD_LANGUAGE fi
  53. opt_set MOTHERBOARD BOARD_RAMPS4DUE_EEF
  54. opt_set EXTRUDERS 2
  55. opt_set NUM_SERVOS 1
  56. opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER BEEP_ON_FEEDRATE_CHANGE POWER_LOSS_RECOVERY
  57. exec_test $1 $2 "RAMPS4DUE_EEF with SWITCHING_EXTRUDER, POWER_LOSS_RECOVERY"