My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

teensy35 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for Teensy 3.5/3.6 (ARM Cortex-M4)
  4. #
  5. # exit on first failure
  6. set -e
  7. restore_configs
  8. opt_set MOTHERBOARD BOARD_TEENSY35_36
  9. exec_test $1 $2 "Teensy3.5 with default config" "$3"
  10. #
  11. # Test as many features together as possible
  12. #
  13. restore_configs
  14. opt_set MOTHERBOARD BOARD_TEENSY35_36 \
  15. EXTRUDERS 2 TEMP_SENSOR_0 1 TEMP_SENSOR_1 5 TEMP_SENSOR_BED 1 \
  16. I2C_SLAVE_ADDRESS 63 \
  17. GRID_MAX_POINTS_X 16 \
  18. NOZZLE_CLEAN_START_POINT "{ { 10, 10, 3 }, { 10, 10, 3 } }" \
  19. NOZZLE_CLEAN_END_POINT "{ { 10, 20, 3 }, { 10, 20, 3 } }"
  20. opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LCD_INFO_MENU SDSUPPORT SDCARD_SORT_ALPHA \
  21. FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY CALIBRATION_GCODE BAUD_RATE_GCODE SOUND_MENU_ITEM \
  22. FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
  23. BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY \
  24. PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT M100_FREE_MEMORY_WATCHER \
  25. ADVANCED_PAUSE_FEATURE ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES PARK_HEAD_ON_PAUSE \
  26. PHOTO_GCODE PHOTO_POSITION PHOTO_SWITCH_POSITION PHOTO_SWITCH_MS PHOTO_DELAY_MS PHOTO_RETRACT_MM \
  27. HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT
  28. exec_test $1 $2 "Teensy3.5 with many features" "$3"
  29. #
  30. # Test a Sled Z Probe with Linear leveling
  31. #
  32. restore_configs
  33. opt_set MOTHERBOARD BOARD_TEENSY35_36
  34. opt_enable EEPROM_SETTINGS Z_PROBE_SLED Z_SAFE_HOMING AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE GCODE_MACROS
  35. exec_test $1 $2 "Sled Z Probe with Linear leveling" "$3"
  36. #
  37. # Test a Servo Probe
  38. #
  39. # restore_configs
  40. # opt_set MOTHERBOARD BOARD_TEENSY35_36 NUM_SERVOS 1
  41. # opt_enable Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE \
  42. # AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  43. # exec_test $1 $2 "Servo Probe"
  44. #
  45. # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
  46. #
  47. # opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS \
  48. # EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
  49. # exec_test $1 $2 "...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES"
  50. #
  51. # Test MAGNETIC_PARKING_EXTRUDER with LCD
  52. #
  53. restore_configs
  54. opt_set MOTHERBOARD BOARD_TEENSY35_36 EXTRUDERS 2 TEMP_SENSOR_1 1 SOL0_PIN 29 EXTRUDERS 2
  55. opt_enable PARKING_EXTRUDER ULTIMAKERCONTROLLER
  56. exec_test $1 $2 "PARKING_EXTRUDER with LCD" "$3"
  57. #
  58. # Mixing Extruder
  59. #
  60. restore_configs
  61. opt_set MOTHERBOARD BOARD_TEENSY35_36 MIXING_STEPPERS 2
  62. opt_enable MIXING_EXTRUDER DIRECT_MIXING_IN_G1 GRADIENT_MIX GRADIENT_VTOOL REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  63. opt_disable DISABLE_INACTIVE_EXTRUDER
  64. exec_test $1 $2 "Mixing Extruder" "$3"
  65. #
  66. # Test SWITCHING_EXTRUDER
  67. #
  68. # restore_configs
  69. # opt_set MOTHERBOARD BOARD_TEENSY35_36 EXTRUDERS 2 NUM_SERVOS 1
  70. # opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  71. # exec_test $1 $2 "SWITCHING_EXTRUDER"
  72. #
  73. # Enable COREXY
  74. #
  75. restore_configs
  76. opt_set MOTHERBOARD BOARD_TEENSY35_36 \
  77. X_DRIVER_TYPE TMC5160 Y_DRIVER_TYPE TMC5160 \
  78. X_MIN_ENDSTOP_INVERTING true Y_MIN_ENDSTOP_INVERTING true \
  79. X_CS_PIN 46 Y_CS_PIN 47
  80. opt_enable COREXY USE_ZMIN_PLUG MONITOR_DRIVER_STATUS SENSORLESS_HOMING
  81. exec_test $1 $2 "Teensy 3.5/3.6 COREXY" "$3"
  82. #
  83. # Enable COREXZ
  84. #
  85. restore_configs
  86. opt_set MOTHERBOARD BOARD_TEENSY35_36
  87. opt_enable COREXZ BACKLASH_COMPENSATION BACKLASH_GCODE CORE_BACKLASH
  88. exec_test $1 $2 "Teensy 3.5/3.6 COREXZ | BACKLASH" "$3"
  89. #
  90. # Enable Dual Z with Dual Z endstops
  91. #
  92. restore_configs
  93. opt_set MOTHERBOARD BOARD_TEENSY35_36 NUM_Z_STEPPER_DRIVERS 2 Z2_MIN_PIN 2
  94. opt_enable Z_MULTI_ENDSTOPS USE_XMAX_PLUG
  95. pins_set ramps/RAMPS X_MAX_PIN -1
  96. exec_test $1 $2 "Dual Z with Dual Z endstops" "$3"
  97. # Clean up
  98. restore_configs