My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

teensy41 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for Teensy 4.0/4.1 (ARM Cortex-M7)
  4. #
  5. # exit on first failure
  6. set -e
  7. restore_configs
  8. opt_set MOTHERBOARD BOARD_TEENSY41
  9. exec_test $1 $2 "Teensy4.1 with default config" "$3"
  10. #
  11. # Test as many features together as possible
  12. #
  13. restore_configs
  14. opt_set MOTHERBOARD BOARD_TEENSY41 \
  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 EXTENSIBLE_UI LCD_INFO_MENU SDSUPPORT SDCARD_SORT_ALPHA \
  21. FILAMENT_LCD_DISPLAY CALIBRATION_GCODE BAUD_RATE_GCODE \
  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 \
  24. PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT \
  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. opt_add EXTUI_EXAMPLE
  29. exec_test $1 $2 "Teensy4.1 with many features" "$3"
  30. #
  31. # Test a Sled Z Probe with Linear leveling
  32. #
  33. restore_configs
  34. opt_set MOTHERBOARD BOARD_TEENSY41
  35. opt_enable EEPROM_SETTINGS Z_PROBE_SLED Z_SAFE_HOMING AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE GCODE_MACROS
  36. exec_test $1 $2 "Sled Z Probe with Linear leveling" "$3"
  37. #
  38. # Test a Servo Probe
  39. #
  40. # restore_configs
  41. # opt_set MOTHERBOARD BOARD_TEENSY41
  42. # opt_enable Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE \
  43. # AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  44. # opt_set NUM_SERVOS 1
  45. # exec_test $1 $2 "Servo Probe" "$3"
  46. #
  47. # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
  48. #
  49. # opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS \
  50. # EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
  51. # exec_test $1 $2 "...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES" "$3"
  52. #
  53. # Test MAGNETIC_PARKING_EXTRUDER with no LCD
  54. #
  55. restore_configs
  56. opt_set MOTHERBOARD BOARD_TEENSY41 SERIAL_PORT_2 -2 \
  57. EXTRUDERS 2 TEMP_SENSOR_1 1
  58. opt_enable EEPROM_SETTINGS MAGNETIC_PARKING_EXTRUDER
  59. exec_test $1 $2 "Ethernet, EEPROM, Magnetic Parking Extruder, No LCD" "$3"
  60. #
  61. # Mixing Extruder
  62. #
  63. restore_configs
  64. opt_set MOTHERBOARD BOARD_TEENSY41 MIXING_STEPPERS 2
  65. opt_enable MIXING_EXTRUDER DIRECT_MIXING_IN_G1 GRADIENT_MIX GRADIENT_VTOOL
  66. exec_test $1 $2 "Mixing Extruder" "$3"
  67. #
  68. # Test SWITCHING_EXTRUDER
  69. #
  70. # restore_configs
  71. # opt_set MOTHERBOARD BOARD_TEENSY41 EXTRUDERS 2 NUM_SERVOS 1
  72. # opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  73. # exec_test $1 $2 "SWITCHING_EXTRUDER" "$3"
  74. #
  75. # Enable COREXY
  76. #
  77. restore_configs
  78. opt_set MOTHERBOARD BOARD_TEENSY41 \
  79. X_DRIVER_TYPE TMC5160 Y_DRIVER_TYPE TMC5160 \
  80. X_MIN_ENDSTOP_INVERTING true Y_MIN_ENDSTOP_INVERTING true \
  81. X_CS_PIN 46 Y_CS_PIN 47
  82. opt_enable COREXY USE_ZMIN_PLUG MONITOR_DRIVER_STATUS SENSORLESS_HOMING
  83. exec_test $1 $2 "Teensy 4.0/4.1 COREXY" "$3"
  84. #
  85. # Enable COREXZ
  86. #
  87. restore_configs
  88. opt_set MOTHERBOARD BOARD_TEENSY41
  89. opt_enable COREXZ
  90. exec_test $1 $2 "Teensy 4.0/4.1 COREXZ" "$3"
  91. #
  92. # Enable Dual Z with Dual Z endstops
  93. #
  94. restore_configs
  95. opt_set MOTHERBOARD BOARD_TEENSY41 NUM_Z_STEPPER_DRIVERS 2 Z2_MAX_PIN 2
  96. opt_enable Z_MULTI_ENDSTOPS USE_XMAX_PLUG
  97. pins_set ramps/RAMPS X_MAX_PIN -1
  98. exec_test $1 $2 "Dual Z with Dual Z endstops" "$3"
  99. # Clean up
  100. restore_configs