My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BIGTREE_GTR_V1_0-tests 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. opt_enable FILAMENT_RUNOUT_SENSOR NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE
  26. opt_set FIL_RUNOUT_PIN 3
  27. opt_set FIL_RUNOUT2_PIN 4
  28. opt_set FIL_RUNOUT3_PIN 5
  29. opt_set FIL_RUNOUT4_PIN 6
  30. opt_set FIL_RUNOUT5_PIN 7
  31. opt_set FIL_RUNOUT6_PIN 8
  32. opt_set FIL_RUNOUT7_PIN 9
  33. opt_set FIL_RUNOUT8_PIN 10
  34. opt_set FIL_RUNOUT4_STATE HIGH
  35. opt_enable FIL_RUNOUT4_PULLUP
  36. opt_set FIL_RUNOUT8_STATE HIGH
  37. opt_enable FIL_RUNOUT8_PULLUP
  38. exec_test $1 $2 "BigTreeTech GTR 8 Extruders with Auto-Fan, Mixed TMC Drivers, and Runout Sensors with distinct states" "$3"
  39. restore_configs
  40. opt_set MOTHERBOARD BOARD_BTT_GTR_V1_0
  41. opt_set SERIAL_PORT -1
  42. opt_set EXTRUDERS 6
  43. opt_set TEMP_SENSOR_1 1
  44. opt_set TEMP_SENSOR_2 1
  45. opt_set TEMP_SENSOR_3 1
  46. opt_set TEMP_SENSOR_4 1
  47. opt_set TEMP_SENSOR_5 1
  48. opt_set NUM_Z_STEPPER_DRIVERS 3
  49. opt_set DEFAULT_Kp_LIST "{ 22.2, 20.0, 21.0, 19.0, 18.0, 17.0 }"
  50. opt_set DEFAULT_Ki_LIST "{ 1.08 }"
  51. opt_set DEFAULT_Kd_LIST "{ 114.0, 112.0, 110.0, 108.0 }"
  52. opt_enable TOOLCHANGE_FILAMENT_SWAP TOOLCHANGE_MIGRATION_FEATURE TOOLCHANGE_FS_INIT_BEFORE_SWAP TOOLCHANGE_FS_PRIME_FIRST_USED PID_PARAMS_PER_HOTEND
  53. exec_test $1 $2 "BigTreeTech GTR 6 Extruders Triple Z" "$3"
  54. # clean up
  55. restore_configs