mega1280-tests 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for AVR ATmega1280
  4. #
  5. # exit on first failure
  6. set -e
  7. #
  8. # Build with the default configurations
  9. #
  10. #restore_configs
  11. #exec_test $1 $2 "Default Configuration"
  12. #
  13. # Test MESH_BED_LEVELING feature, with LCD
  14. #
  15. restore_configs
  16. opt_set LCD_LANGUAGE an
  17. opt_enable SPINDLE_FEATURE ULTIMAKERCONTROLLER LCD_BED_LEVELING \
  18. EEPROM_SETTINGS EEPROM_BOOT_SILENT EEPROM_AUTO_INIT \
  19. SENSORLESS_BACKOFF_MM HOMING_BACKOFF_POST_MM HOME_Y_BEFORE_X CODEPENDENT_XY_HOMING \
  20. MESH_BED_LEVELING ENABLE_LEVELING_FADE_HEIGHT MESH_G28_REST_ORIGIN \
  21. G26_MESH_VALIDATION MESH_EDIT_MENU GCODE_QUOTED_STRINGS \
  22. EXTERNAL_CLOSED_LOOP_CONTROLLER POWER_MONITOR_CURRENT POWER_MONITOR_VOLTAGE
  23. opt_set POWER_MONITOR_CURRENT_PIN 14
  24. opt_set POWER_MONITOR_VOLTAGE_PIN 15
  25. opt_set CLOSED_LOOP_ENABLE_PIN 44
  26. opt_set CLOSED_LOOP_MOVE_COMPLETE_PIN 45
  27. exec_test $1 $2 "Spindle, MESH_BED_LEVELING, closed loop, Power Monitor, and LCD"
  28. #
  29. # Test DUAL_X_CARRIAGE
  30. #
  31. restore_configs
  32. opt_set MOTHERBOARD BOARD_TT_OSCAR
  33. opt_set LCD_LANGUAGE pt
  34. opt_set EXTRUDERS 2
  35. opt_set TEMP_SENSOR_1 1
  36. opt_enable USE_XMAX_PLUG DUAL_X_CARRIAGE REPRAPWORLD_KEYPAD
  37. opt_set REPRAPWORLD_KEYPAD_MOVE_STEP 10.0
  38. exec_test $1 $2 "TT Oscar | DUAL_X_CARRIAGE"
  39. #
  40. # Delta Config (generic) + Probeless
  41. #
  42. use_example_configs delta/generic
  43. opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_AUTO_CALIBRATION DELTA_CALIBRATION_MENU
  44. exec_test $1 $2 "RAMPS | DELTA | RRD LCD | DELTA_AUTO_CALIBRATION | DELTA_CALIBRATION_MENU"
  45. #
  46. # Delta Config (generic) + ABL bilinear + BLTOUCH
  47. use_example_configs delta/generic
  48. opt_set LCD_LANGUAGE cz
  49. opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR BLTOUCH
  50. exec_test $1 $2 "DELTA | RRD LCD | ABL Bilinear | BLTOUCH"
  51. # clean up
  52. restore_configs