BIGTREE_GTR_V1_0-tests 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for BigTreeTech GTR 1.0
  4. #
  5. # exit on first failure
  6. set -e
  7. restore_configs
  8. opt_set MOTHERBOARD BOARD_BTT_GTR_V1_0
  9. opt_set SERIAL_PORT -1
  10. opt_set EXTRUDERS 8
  11. opt_set TEMP_SENSOR_1 1
  12. opt_set TEMP_SENSOR_2 1
  13. opt_set TEMP_SENSOR_3 1
  14. opt_set TEMP_SENSOR_4 1
  15. opt_set TEMP_SENSOR_5 1
  16. opt_set TEMP_SENSOR_6 1
  17. opt_set TEMP_SENSOR_7 1
  18. # Not necessary to enable auto-fan for all extruders to hit problematic code paths
  19. opt_set E0_AUTO_FAN_PIN PC10
  20. opt_set E1_AUTO_FAN_PIN PC11
  21. opt_set E2_AUTO_FAN_PIN PC12
  22. opt_set X_DRIVER_TYPE TMC2208
  23. opt_set Y_DRIVER_TYPE TMC2130
  24. opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  25. exec_test $1 $2 "BigTreeTech GTR 8 Extruders with Auto-Fan and Mixed TMC Drivers"
  26. restore_configs
  27. opt_set MOTHERBOARD BOARD_BTT_GTR_V1_0
  28. opt_set SERIAL_PORT -1
  29. opt_set EXTRUDERS 6
  30. opt_set TEMP_SENSOR_1 1
  31. opt_set TEMP_SENSOR_2 1
  32. opt_set TEMP_SENSOR_3 1
  33. opt_set TEMP_SENSOR_4 1
  34. opt_set TEMP_SENSOR_5 1
  35. opt_set NUM_Z_STEPPER_DRIVERS 3
  36. opt_set DEFAULT_Kp_LIST "{ 22.2, 20.0, 21.0, 19.0, 18.0, 17.0 }"
  37. opt_set DEFAULT_Ki_LIST "{ 1.08 }"
  38. opt_set DEFAULT_Kd_LIST "{ 114.0, 112.0, 110.0, 108.0 }"
  39. opt_enable TOOLCHANGE_FILAMENT_SWAP TOOLCHANGE_MIGRATION_FEATURE TOOLCHANGE_FS_INIT_BEFORE_SWAP TOOLCHANGE_FS_PRIME_FIRST_USED PID_PARAMS_PER_HOTEND
  40. exec_test $1 $2 "BigTreeTech GTR 6 Extruders Triple Z"
  41. # clean up
  42. restore_configs