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.

teensy41-tests 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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"
  10. #
  11. # Test as many features together as possible
  12. #
  13. restore_configs
  14. opt_set MOTHERBOARD BOARD_TEENSY41
  15. opt_set EXTRUDERS 2
  16. opt_set TEMP_SENSOR_0 1
  17. opt_set TEMP_SENSOR_1 5
  18. opt_set TEMP_SENSOR_BED 1
  19. opt_enable EXTENSIBLE_UI LCD_INFO_MENU SDSUPPORT SDCARD_SORT_ALPHA \
  20. FILAMENT_LCD_DISPLAY CALIBRATION_GCODE BAUD_RATE_GCODE \
  21. FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
  22. BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET \
  23. PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT \
  24. ADVANCED_PAUSE_FEATURE ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES PARK_HEAD_ON_PAUSE \
  25. PHOTO_GCODE PHOTO_POSITION PHOTO_SWITCH_POSITION PHOTO_SWITCH_MS PHOTO_DELAY_MS PHOTO_RETRACT_MM \
  26. HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT
  27. opt_add EXTUI_EXAMPLE
  28. opt_set I2C_SLAVE_ADDRESS 63
  29. opt_set GRID_MAX_POINTS_X 16
  30. exec_test $1 $2 "Teensy4.1 with many features"
  31. #
  32. # Test a Sled Z Probe with Linear leveling
  33. #
  34. restore_configs
  35. opt_set MOTHERBOARD BOARD_TEENSY41
  36. opt_enable EEPROM_SETTINGS Z_PROBE_SLED Z_SAFE_HOMING AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE GCODE_MACROS
  37. exec_test $1 $2 "Sled Z Probe with Linear leveling"
  38. #
  39. # Test a Servo Probe
  40. #
  41. # restore_configs
  42. # opt_set MOTHERBOARD BOARD_TEENSY41
  43. # opt_enable Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE \
  44. # AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  45. # opt_set NUM_SERVOS 1
  46. # exec_test $1 $2 "Servo Probe"
  47. #
  48. # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
  49. #
  50. # opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS \
  51. # EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
  52. # exec_test $1 $2 "...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES"
  53. #
  54. # Test MAGNETIC_PARKING_EXTRUDER with no LCD
  55. #
  56. restore_configs
  57. opt_set MOTHERBOARD BOARD_TEENSY41
  58. opt_set EXTRUDERS 2
  59. opt_set TEMP_SENSOR_1 1
  60. opt_set SERIAL_PORT_2 -2
  61. opt_enable EEPROM_SETTINGS MAGNETIC_PARKING_EXTRUDER
  62. exec_test $1 $2 "Ethernet, EEPROM, Magnetic Parking Extruder, No LCD"
  63. #
  64. # Mixing Extruder
  65. #
  66. restore_configs
  67. opt_set MOTHERBOARD BOARD_TEENSY41
  68. opt_enable MIXING_EXTRUDER DIRECT_MIXING_IN_G1 GRADIENT_MIX GRADIENT_VTOOL
  69. opt_set MIXING_STEPPERS 2
  70. exec_test $1 $2 "Mixing Extruder"
  71. #
  72. # Test SWITCHING_EXTRUDER
  73. #
  74. # restore_configs
  75. # opt_set MOTHERBOARD BOARD_TEENSY41
  76. # opt_set EXTRUDERS 2
  77. # opt_set NUM_SERVOS 1
  78. # opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  79. # exec_test $1 $2 "SWITCHING_EXTRUDER"
  80. #
  81. # Enable COREXY
  82. #
  83. restore_configs
  84. opt_set MOTHERBOARD BOARD_TEENSY41
  85. opt_enable COREXY
  86. opt_set X_DRIVER_TYPE TMC5160
  87. opt_set Y_DRIVER_TYPE TMC5160
  88. opt_set X_MIN_ENDSTOP_INVERTING true
  89. opt_set Y_MIN_ENDSTOP_INVERTING true
  90. opt_add X_CS_PIN 46
  91. opt_add Y_CS_PIN 47
  92. opt_enable USE_ZMIN_PLUG MONITOR_DRIVER_STATUS SENSORLESS_HOMING
  93. exec_test $1 $2 "Teensy 4.0/4.1 COREXY"
  94. #
  95. # Enable COREXZ
  96. #
  97. restore_configs
  98. opt_set MOTHERBOARD BOARD_TEENSY41
  99. opt_enable COREXZ
  100. exec_test $1 $2 "Teensy 4.0/4.1 COREXZ"
  101. #
  102. # Enable Dual Z with Dual Z endstops
  103. #
  104. restore_configs
  105. opt_set MOTHERBOARD BOARD_TEENSY41
  106. opt_enable Z_MULTI_ENDSTOPS USE_XMAX_PLUG
  107. opt_set NUM_Z_STEPPER_DRIVERS 2
  108. pins_set ramps/RAMPS X_MAX_PIN -1
  109. opt_add Z2_MAX_PIN 2
  110. exec_test $1 $2 "Dual Z with Dual Z endstops"
  111. # Clean up
  112. restore_configs