rambo-tests 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for AVR ATmega2560 RAMBo
  4. #
  5. # exit on first failure
  6. set -e
  7. #
  8. # Build with the default configurations
  9. #
  10. restore_configs
  11. opt_set MOTHERBOARD BOARD_EINSY_RAMBO
  12. opt_set X_DRIVER_TYPE TMC2130
  13. opt_set Y_DRIVER_TYPE TMC2130
  14. opt_set Z_DRIVER_TYPE TMC2130
  15. opt_set E0_DRIVER_TYPE TMC2130
  16. exec_test $1 $2 "Default Configuration"
  17. #
  18. # Full size Rambo Dual Endstop CNC
  19. #
  20. restore_configs
  21. opt_set MOTHERBOARD BOARD_RAMBO
  22. opt_set EXTRUDERS 0
  23. opt_set TEMP_SENSOR_0 999
  24. opt_set DUMMY_THERMISTOR_999_VALUE 170
  25. opt_set DIGIPOT_MOTOR_CURRENT '{ 120, 120, 120, 120, 120 }'
  26. opt_enable USE_XMAX_PLUG USE_YMAX_PLUG USE_ZMAX_PLUG \
  27. REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER REVERSE_ENCODER_DIRECTION SDSUPPORT EEPROM_SETTINGS \
  28. S_CURVE_ACCELERATION X_DUAL_STEPPER_DRIVERS X_DUAL_ENDSTOPS Y_DUAL_STEPPER_DRIVERS Y_DUAL_ENDSTOPS \
  29. ADAPTIVE_STEP_SMOOTHING CNC_COORDINATE_SYSTEMS GCODE_MOTION_MODES
  30. opt_disable MIN_SOFTWARE_ENDSTOP_Z MAX_SOFTWARE_ENDSTOPS
  31. exec_test $1 $2 "Rambo CNC Configuration"
  32. # clean up
  33. restore_configs