Browse Source

🔧 Normal FET layout with Spindle/Laser (#23409)

vanilla_fb_2.0.x
Mike La Spina 3 years ago
committed by Scott Lahteine
parent
commit
974883d2f6
  1. 2
      Marlin/src/pins/mega/pins_HJC2560C_REV2.h
  2. 2
      Marlin/src/pins/pins.h
  3. 2
      Marlin/src/pins/ramps/pins_TT_OSCAR.h
  4. 2
      Marlin/src/pins/sanguino/pins_SANGUINOLOLU_11.h
  5. 2
      Marlin/src/pins/stm32f4/pins_BTT_SKR_V2_0_common.h

2
Marlin/src/pins/mega/pins_HJC2560C_REV2.h

@ -112,7 +112,7 @@
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE) #if HAS_CUTTER
#define SPINDLE_DIR_PIN 16 #define SPINDLE_DIR_PIN 16
#define SPINDLE_LASER_ENA_PIN 17 // Pin should have a pullup! #define SPINDLE_LASER_ENA_PIN 17 // Pin should have a pullup!
#define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM

2
Marlin/src/pins/pins.h

@ -45,7 +45,7 @@
#define FET_ORDER_EFF 1 #define FET_ORDER_EFF 1
#elif MB(RAMPS_13_EEF, RAMPS_14_EEF, RAMPS_PLUS_EEF, RAMPS_14_RE_ARM_EEF, RAMPS_SMART_EEF, RAMPS_DUO_EEF, RAMPS4DUE_EEF) #elif MB(RAMPS_13_EEF, RAMPS_14_EEF, RAMPS_PLUS_EEF, RAMPS_14_RE_ARM_EEF, RAMPS_SMART_EEF, RAMPS_DUO_EEF, RAMPS4DUE_EEF)
#define FET_ORDER_EEF 1 #define FET_ORDER_EEF 1
#elif MB(RAMPS_13_SF, RAMPS_14_SF, RAMPS_PLUS_SF, RAMPS_14_RE_ARM_SF, RAMPS_SMART_SF, RAMPS_DUO_SF, RAMPS4DUE_SF) || EITHER(SPINDLE_FEATURE, LASER_FEATURE) #elif MB(RAMPS_13_SF, RAMPS_14_SF, RAMPS_PLUS_SF, RAMPS_14_RE_ARM_SF, RAMPS_SMART_SF, RAMPS_DUO_SF, RAMPS4DUE_SF)
#define FET_ORDER_SF 1 #define FET_ORDER_SF 1
#elif HAS_MULTI_HOTEND && TEMP_SENSOR_BED #elif HAS_MULTI_HOTEND && TEMP_SENSOR_BED
#define FET_ORDER_EEB 1 #define FET_ORDER_EEB 1

2
Marlin/src/pins/ramps/pins_TT_OSCAR.h

@ -226,7 +226,7 @@
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE) && !PIN_EXISTS(SPINDLE_LASER_ENA) #if HAS_CUTTER && !PIN_EXISTS(SPINDLE_LASER_ENA)
#if !NUM_SERVOS // Prefer the servo connector #if !NUM_SERVOS // Prefer the servo connector
#define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown! #define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown!
#define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM

2
Marlin/src/pins/sanguino/pins_SANGUINOLOLU_11.h

@ -135,7 +135,7 @@
#define LCD_BACKLIGHT_PIN 17 // LCD backlight LED #define LCD_BACKLIGHT_PIN 17 // LCD backlight LED
#endif #endif
#if NONE(SPINDLE_FEATURE, LASER_FEATURE) && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(IS_ULTRA_LCD, IS_NEWPANEL) // try to use IO Header #if !HAS_CUTTER && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(IS_ULTRA_LCD, IS_NEWPANEL) // try to use IO Header
#define CASE_LIGHT_PIN 4 // Hardware PWM - see if IO Header is available #define CASE_LIGHT_PIN 4 // Hardware PWM - see if IO Header is available
#endif #endif

2
Marlin/src/pins/stm32f4/pins_BTT_SKR_V2_0_common.h

@ -253,7 +253,7 @@
#define FAN_PIN PB7 // Fan0 #define FAN_PIN PB7 // Fan0
#endif #endif
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE) #if HAS_CUTTER
#ifndef SPINDLE_LASER_PWM_PIN #ifndef SPINDLE_LASER_PWM_PIN
#define SPINDLE_LASER_PWM_PIN PB5 #define SPINDLE_LASER_PWM_PIN PB5
#endif #endif

Loading…
Cancel
Save