|
@@ -31,7 +31,7 @@
|
31
|
31
|
#error "Oops! Select an ESP32 board in 'Tools > Board.'"
|
32
|
32
|
#elif EXTRUDERS > 1 || E_STEPPERS > 1
|
33
|
33
|
#error "E4d@box only supports one E Stepper. Comment out this line to continue."
|
34
|
|
-#elif HOTENDS > 2
|
|
34
|
+#elif HOTENDS > 1
|
35
|
35
|
#error "E4d@box currently supports only one hotend. Comment out this line to continue."
|
36
|
36
|
#endif
|
37
|
37
|
|
|
@@ -40,6 +40,21 @@
|
40
|
40
|
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
|
41
|
41
|
|
42
|
42
|
//
|
|
43
|
+// Disable I2S stepper stream
|
|
44
|
+//
|
|
45
|
+#undef I2S_STEPPER_STREAM
|
|
46
|
+
|
|
47
|
+//
|
|
48
|
+// Redefine I2S for ESP32
|
|
49
|
+//
|
|
50
|
+#undef I2S_WS
|
|
51
|
+#define I2S_WS 23
|
|
52
|
+#undef I2S_BCK
|
|
53
|
+#define I2S_BCK 22
|
|
54
|
+#undef I2S_DATA
|
|
55
|
+#define I2S_DATA 21
|
|
56
|
+
|
|
57
|
+//
|
43
|
58
|
// Limit Switches
|
44
|
59
|
//
|
45
|
60
|
#define X_STOP_PIN 34
|
|
@@ -82,9 +97,11 @@
|
82
|
97
|
#define FAN_PIN 0
|
83
|
98
|
#define HEATER_BED_PIN 15
|
84
|
99
|
|
85
|
|
-// SPI
|
|
100
|
+//
|
|
101
|
+// MicroSD card on SPI
|
|
102
|
+//
|
|
103
|
+#define MOSI_PIN 23
|
|
104
|
+#define MISO_PIN 19
|
|
105
|
+#define SCK_PIN 18
|
86
|
106
|
#define SDSS 5
|
87
|
|
-#define I2S_STEPPER_STREAM
|
88
|
|
-#define I2S_WS 23
|
89
|
|
-#define I2S_BCK 22
|
90
|
|
-#define I2S_DATA 21
|
|
107
|
+#define USES_SHARED_SPI // SPI is shared by SD card with TMC SPI drivers
|