Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
marlin-anet-a8
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
3e2473e6
Commit
3e2473e6
authored
9 years ago
by
Scott Lahteine
Browse files
Options
Downloads
Plain Diff
Merge pull request #2988 from thinkyhead/z2_more_extruders
Use next open E connector for Y2/Z2
parents
8eaba020
68457ee9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Marlin/Conditionals.h
+3
-0
3 additions, 0 deletions
Marlin/Conditionals.h
Marlin/pins.h
+16
-6
16 additions, 6 deletions
Marlin/pins.h
with
19 additions
and
6 deletions
Marlin/Conditionals.h
+
3
−
0
View file @
3e2473e6
...
...
@@ -462,6 +462,7 @@
#define HAS_E1_ENABLE (PIN_EXISTS(E1_ENABLE))
#define HAS_E2_ENABLE (PIN_EXISTS(E2_ENABLE))
#define HAS_E3_ENABLE (PIN_EXISTS(E3_ENABLE))
#define HAS_E4_ENABLE (PIN_EXISTS(E4_ENABLE))
#define HAS_X_DIR (PIN_EXISTS(X_DIR))
#define HAS_X2_DIR (PIN_EXISTS(X2_DIR))
#define HAS_Y_DIR (PIN_EXISTS(Y_DIR))
...
...
@@ -472,6 +473,7 @@
#define HAS_E1_DIR (PIN_EXISTS(E1_DIR))
#define HAS_E2_DIR (PIN_EXISTS(E2_DIR))
#define HAS_E3_DIR (PIN_EXISTS(E3_DIR))
#define HAS_E4_DIR (PIN_EXISTS(E4_DIR))
#define HAS_X_STEP (PIN_EXISTS(X_STEP))
#define HAS_X2_STEP (PIN_EXISTS(X2_STEP))
#define HAS_Y_STEP (PIN_EXISTS(Y_STEP))
...
...
@@ -482,6 +484,7 @@
#define HAS_E1_STEP (PIN_EXISTS(E1_STEP))
#define HAS_E2_STEP (PIN_EXISTS(E2_STEP))
#define HAS_E3_STEP (PIN_EXISTS(E3_STEP))
#define HAS_E4_STEP (PIN_EXISTS(E4_STEP))
/**
* Helper Macros for heaters and extruder fan
...
...
This diff is collapsed.
Click to expand it.
Marlin/pins.h
+
16
−
6
View file @
3e2473e6
...
...
@@ -236,16 +236,26 @@
#define Z_MIN_PIN -1
#endif
//
// Dual Y and Dual Z support
// These options are mutually-exclusive
//
#define __EPIN(p,q) E##p##_##q##_PIN
#define _EPIN(p,q) __EPIN(p,q)
// The Y2 axis, if any, should be the next open extruder port
#ifndef Y2_STEP_PIN
#define Y2_STEP_PIN
E1_STEP_PIN
#define Y2_DIR_PIN
E1_DIR_PIN
#define Y2_ENABLE_PIN
E1_
ENABLE
_PIN
#define Y2_STEP_PIN
_EPIN(EXTRUDERS, STEP)
#define Y2_DIR_PIN
_EPIN(EXTRUDERS, DIR)
#define Y2_ENABLE_PIN
_EPIN(EXTRUDERS,
ENABLE
)
#endif
// The Z2 axis, if any, should be the next open extruder port
#ifndef Z2_STEP_PIN
#define Z2_STEP_PIN
E1_STEP_PIN
#define Z2_DIR_PIN
E1_DIR_PIN
#define Z2_ENABLE_PIN
E1_
ENABLE
_PIN
#define Z2_STEP_PIN
_EPIN(EXTRUDERS, STEP)
#define Z2_DIR_PIN
_EPIN(EXTRUDERS, DIR)
#define Z2_ENABLE_PIN
_EPIN(EXTRUDERS,
ENABLE
)
#endif
#define SENSITIVE_PINS { 0, 1, \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment