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
d1c6687e
Commit
d1c6687e
authored
6 years ago
by
forkoz
Committed by
Scott Lahteine
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update MKS sBase pins (#11357)
parent
048dbf6e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Marlin/src/pins/pins_MKS_SBASE.h
+37
-18
37 additions, 18 deletions
Marlin/src/pins/pins_MKS_SBASE.h
with
37 additions
and
18 deletions
Marlin/src/pins/pins_MKS_SBASE.h
+
37
−
18
View file @
d1c6687e
...
...
@@ -36,11 +36,13 @@
// unused
/*
#define PIN_P0_27 P0_27
#define PIN_P0_28 P0_28
#define PIN_P0_27 P0_27 // EXP2/Onboard SD
#define PIN_P0_28 P0_28 // EXP2
#define PIN_P0_02 P0_02 // AUX1 (Interrupt Capable/ADC/Serial Port 0)
#define PIN_P0_03 P0_03 // AUX1 (Interrupt Capable/ADC/Serial Port 0)
*/
#define LED_PIN P1_18 // LED2 P1_19, LED3 P1_20, LED4 P1_21
#define LED_PIN
P1_18
// LED2 P1_19, LED3 P1_20, LED4 P1_21
//
// Servo pin
...
...
@@ -51,7 +53,7 @@
#define SERVO3_PIN P4_28 // J8-6
//
// Limit Switches
// Limit Switches
- Not Interrupt Capable
//
#define X_MIN_PIN P1_24 // 10k pullup to 3.3V, 1K series
#define X_MAX_PIN P1_25 // 10k pullup to 3.3V, 1K series
...
...
@@ -104,6 +106,8 @@
//
// Connector J7
// Note: These pins are all digitally shared with the EXP1/EXP2 Connector.
// Using them with an LCD connected or configured will lead to hangs & crashes.
//
// 5V
...
...
@@ -111,7 +115,7 @@
// GND
#define PIN_P0_17 P0_17
#define PIN_P0_16 P0_16
#define PIN_P0_1
4
P0_1
4
#define PIN_P0_1
5
P0_1
5
//
...
...
@@ -120,24 +124,24 @@
// GND
#define PIN_P1_22 P1_22
#define PIN_P1_23 P1_23
#define PIN_P2_12 P2_12
#define PIN_P2_11 P2_11
#define PIN_P1_23 P1_23
// PWM Capable
#define PIN_P2_12 P2_12
// Interrupt Capable
#define PIN_P2_11 P2_11
// Interrupt Capable
#define PIN_P4_28 P4_28
//
// Prusa i3 MK2 Multi Material Multiplexer Support
//
#if ENABLED(MK2_MULTIPLEXER)
#define E_MUX0_PIN
P1_23 // J8-3
#define E_MUX1_PIN
P2_12 // J8-4
#define E_MUX2_PIN
P2_11 // J8-5
#define E_MUX0_PIN P1_23 // J8-3
#define E_MUX1_PIN P2_12 // J8-4
#define E_MUX2_PIN P2_11 // J8-5
#endif
//
// Misc. Functions
//
#define PS_ON_PIN P0_25
#define PS_ON_PIN P0_25
//TH3 Connector
#define LPC_SOFTWARE_SPI // MKS_SBASE needs a software SPI because the
// selected pins are not on a hardware SPI controller
...
...
@@ -163,7 +167,7 @@
#define LCD_SDSS P0_28 // EXP2.4
#define LCD_PINS_ENABLE P0_18 // EXP1.3
#define LCD_PINS_D4 P0_15 // EXP1.5
#endif
// ULTRA_LCD
#endif
//
// Ethernet pins
...
...
@@ -173,6 +177,7 @@
#define ENET_RX_ER P1_14 // J12-6
#define ENET_RXD1 P1_10 // J12-8
#endif
#define ENET_MOC P1_16 // J12-3
#define REF_CLK P1_15 // J12-5
#define ENET_RXD0 P1_09 // J12-7
...
...
@@ -202,7 +207,6 @@
*/
#define SD_DETECT_PIN P2_11 // J8-5 (moved from EXP2 P0.27)
/**
* PWMs
*
...
...
@@ -226,9 +230,24 @@
/**
* Special pins
* P1_30 - not 5V tolerant
* P1_31 - not 5V tolerant
* P0_27 - open collector
* P0_28 - open collector
* P1_30 - not 5V tolerant - EXP1
* P1_31 - not 5V tolerant - EXP1
* P0_27 - open collector - EXP2
* P0_28 - open collector - EXP2
*
*/
/**
* Serial Ports
* P0_00 - Port 3
* P0_01
* P0_10 - Port 2
* P0_11
* P0_15 - Port 1
* P0_16
* P0_02 - Port 0
* P0_03 - AUX1
* P0_29 - Port -1
* P0_30 - USB
*
*/
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