My Marlin configs for Fabrikator Mini and CTC i3 Pro B
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

BIGTREE_GTR_V1_0_usb_flash_drive 1.1KB

123456789101112131415161718192021222324
  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 SERIAL_PORT 3 \
  9. EXTRUDERS 8 TEMP_SENSOR_1 1 TEMP_SENSOR_2 1 TEMP_SENSOR_3 1 TEMP_SENSOR_4 1 TEMP_SENSOR_5 1 TEMP_SENSOR_6 1 TEMP_SENSOR_7 1
  10. opt_enable SDSUPPORT USB_FLASH_DRIVE_SUPPORT USE_OTG_USB_HOST \
  11. REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER BLTOUCH NEOPIXEL_LED Z_SAFE_HOMING \
  12. FILAMENT_RUNOUT_SENSOR NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE
  13. # Not necessary to enable auto-fan for all extruders to hit problematic code paths
  14. opt_set E0_AUTO_FAN_PIN PC10 E1_AUTO_FAN_PIN PC11 E2_AUTO_FAN_PIN PC12 NEOPIXEL_PIN PF13 \
  15. X_DRIVER_TYPE TMC2208 Y_DRIVER_TYPE TMC2130 \
  16. FIL_RUNOUT_PIN 3 FIL_RUNOUT2_PIN 4 FIL_RUNOUT3_PIN 5 FIL_RUNOUT4_PIN 6 FIL_RUNOUT5_PIN 7 FIL_RUNOUT6_PIN 8 FIL_RUNOUT7_PIN 9 FIL_RUNOUT8_PIN 10 \
  17. FIL_RUNOUT4_STATE HIGH FIL_RUNOUT8_STATE HIGH
  18. opt_enable FIL_RUNOUT4_PULLUP FIL_RUNOUT8_PULLUP
  19. exec_test $1 $2 "GTT GTR | OTG USB Flash Drive | 8 Extruders | Auto-Fan | Mixed TMC Drivers | Runout Sensors (distinct)" "$3"
  20. # clean up
  21. restore_configs