Browse Source

Proceed with Teensy 3.5/3.6 HAL (#13450)

pull/1/head
Scott Alfter 6 years ago
committed by Scott Lahteine
parent
commit
32332bcd03
  1. 3
      Marlin/src/HAL/HAL_TEENSY35_36/HAL.h
  2. 9
      buildroot/share/tests/teensy35-tests

3
Marlin/src/HAL/HAL_TEENSY35_36/HAL.h

@ -58,9 +58,6 @@
// Defines // Defines
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
#undef MOTHERBOARD
#define MOTHERBOARD BOARD_TEENSY35_36
#define IS_32BIT_TEENSY (defined(__MK64FX512__) || defined(__MK66FX1M0__)) #define IS_32BIT_TEENSY (defined(__MK64FX512__) || defined(__MK66FX1M0__))
#define IS_TEENSY35 defined(__MK64FX512__) #define IS_TEENSY35 defined(__MK64FX512__)
#define IS_TEENSY36 defined(__MK66FX1M0__) #define IS_TEENSY36 defined(__MK66FX1M0__)

9
buildroot/share/tests/teensy35-tests

@ -15,6 +15,7 @@ exec_test $1 $2 "Teensy3.5 with default config"
# Test as many features together as possible # Test as many features together as possible
# #
restore_configs restore_configs
opt_set MOTHERBOARD BOARD_TEENSY35_36
opt_set EXTRUDERS 2 opt_set EXTRUDERS 2
opt_set TEMP_SENSOR_0 1 opt_set TEMP_SENSOR_0 1
opt_set TEMP_SENSOR_1 5 opt_set TEMP_SENSOR_1 5
@ -35,6 +36,7 @@ exec_test $1 $2 "Teensy3.5 with many features"
# Test a Sled Z Probe with Linear leveling # Test a Sled Z Probe with Linear leveling
# #
restore_configs restore_configs
opt_set MOTHERBOARD BOARD_TEENSY35_36
opt_enable EEPROM_SETTINGS Z_PROBE_SLED AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE GCODE_MACROS opt_enable EEPROM_SETTINGS Z_PROBE_SLED AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE GCODE_MACROS
exec_test $1 $2 "Sled Z Probe with Linear leveling" exec_test $1 $2 "Sled Z Probe with Linear leveling"
@ -42,6 +44,7 @@ exec_test $1 $2 "Sled Z Probe with Linear leveling"
# Test a Servo Probe # Test a Servo Probe
# #
# restore_configs # restore_configs
# opt_set MOTHERBOARD BOARD_TEENSY35_36
# opt_enable Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE \ # opt_enable Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE \
# AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS # AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
# opt_set NUM_SERVOS 1 # opt_set NUM_SERVOS 1
@ -57,6 +60,7 @@ exec_test $1 $2 "Sled Z Probe with Linear leveling"
# Test MAGNETIC_PARKING_EXTRUDER with LCD # Test MAGNETIC_PARKING_EXTRUDER with LCD
# #
restore_configs restore_configs
opt_set MOTHERBOARD BOARD_TEENSY35_36
opt_set EXTRUDERS 2 opt_set EXTRUDERS 2
opt_set TEMP_SENSOR_1 1 opt_set TEMP_SENSOR_1 1
opt_enable MAGNETIC_PARKING_EXTRUDER ULTIMAKERCONTROLLER opt_enable MAGNETIC_PARKING_EXTRUDER ULTIMAKERCONTROLLER
@ -66,6 +70,7 @@ exec_test $1 $2 "MAGNETIC_PARKING_EXTRUDER with LCD"
# Mixing Extruder # Mixing Extruder
# #
restore_configs restore_configs
opt_set MOTHERBOARD BOARD_TEENSY35_36
opt_enable MIXING_EXTRUDER DIRECT_MIXING_IN_G1 GRADIENT_MIX GRADIENT_VTOOL REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER opt_enable MIXING_EXTRUDER DIRECT_MIXING_IN_G1 GRADIENT_MIX GRADIENT_VTOOL REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
opt_set MIXING_STEPPERS 2 opt_set MIXING_STEPPERS 2
exec_test $1 $2 "Mixing Extruder" exec_test $1 $2 "Mixing Extruder"
@ -74,6 +79,7 @@ exec_test $1 $2 "Mixing Extruder"
# Test SWITCHING_EXTRUDER # Test SWITCHING_EXTRUDER
# #
# restore_configs # restore_configs
# opt_set MOTHERBOARD BOARD_TEENSY35_36
# opt_set EXTRUDERS 2 # opt_set EXTRUDERS 2
# opt_set NUM_SERVOS 1 # opt_set NUM_SERVOS 1
# opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER # opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
@ -82,6 +88,7 @@ exec_test $1 $2 "Mixing Extruder"
# Enable COREXY # Enable COREXY
# #
restore_configs restore_configs
opt_set MOTHERBOARD BOARD_TEENSY35_36
opt_enable COREXY opt_enable COREXY
exec_test $1 $2 "COREXY" exec_test $1 $2 "COREXY"
@ -89,6 +96,7 @@ exec_test $1 $2 "COREXY"
# Enable COREXZ # Enable COREXZ
# #
restore_configs restore_configs
opt_set MOTHERBOARD BOARD_TEENSY35_36
opt_enable COREXZ opt_enable COREXZ
exec_test $1 $2 "COREXZ" exec_test $1 $2 "COREXZ"
@ -96,6 +104,7 @@ exec_test $1 $2 "COREXZ"
# Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
# #
restore_configs restore_configs
opt_set MOTHERBOARD BOARD_TEENSY35_36
opt_enable Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS opt_enable Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
pins_set RAMPS X_MAX_PIN -1 pins_set RAMPS X_MAX_PIN -1
opt_add Z2_MAX_PIN 2 opt_add Z2_MAX_PIN 2

Loading…
Cancel
Save