Commit 267a44c 1 parent 5520aa3 commit 267a44c Copy full SHA for 267a44c
File tree 12 files changed +79
-55
lines changed
12 files changed +79
-55
lines changed Original file line number Diff line number Diff line change 234
234
//
235
235
// Průša i3 MK2 Multiplexer Support
236
236
//
237
- #ifndef E_MUX0_PIN
238
- #define E_MUX0_PIN 40 // Z_CS_PIN
239
- #endif
240
- #ifndef E_MUX1_PIN
241
- #define E_MUX1_PIN 42 // E0_CS_PIN
242
- #endif
243
- #ifndef E_MUX2_PIN
244
- #define E_MUX2_PIN 44 // E1_CS_PIN
237
+ #if HAS_PRUSA_MMU1
238
+ #ifndef E_MUX0_PIN
239
+ #define E_MUX0_PIN 40 // Z_CS_PIN
240
+ #endif
241
+ #ifndef E_MUX1_PIN
242
+ #define E_MUX1_PIN 42 // E0_CS_PIN
243
+ #endif
244
+ #ifndef E_MUX2_PIN
245
+ #define E_MUX2_PIN 44 // E1_CS_PIN
246
+ #endif
245
247
#endif
246
248
247
249
/**
Original file line number Diff line number Diff line change 258
258
//
259
259
// Průša i3 MK2 Multiplexer Support
260
260
//
261
- #if SERIAL_PORT != 0 && SERIAL_PORT_2 != 0
262
- #define E_MUX0_PIN P0_03 // ( 0) Z_CS_PIN
263
- #define E_MUX1_PIN P0_02 // ( 1) E0_CS_PIN
261
+ #if HAS_PRUSA_MMU1
262
+ #if SERIAL_PORT != 0 && SERIAL_PORT_2 != 0
263
+ #define E_MUX0_PIN P0_03 // ( 0) Z_CS_PIN
264
+ #define E_MUX1_PIN P0_02 // ( 1) E0_CS_PIN
265
+ #endif
266
+ #define E_MUX2_PIN P0_26 // (63) E1_CS_PIN
264
267
#endif
265
- #define E_MUX2_PIN P0_26 // (63) E1_CS_PIN
266
268
267
269
/**
268
270
* LCD / Controller
Original file line number Diff line number Diff line change 163
163
//
164
164
// Průša i3 MK2 Multiplexer Support
165
165
//
166
- #define E_MUX0_PIN 17
167
- #define E_MUX1_PIN 16
168
- #define E_MUX2_PIN 78 // 84 in MK2 Firmware, with BEEPER as 78
166
+ #if HAS_PRUSA_MMU1
167
+ #define E_MUX0_PIN 17
168
+ #define E_MUX1_PIN 16
169
+ #define E_MUX2_PIN 78 // 84 in MK2 Firmware, with BEEPER as 78
170
+ #endif
169
171
170
172
//
171
173
// LCD / Controller
Original file line number Diff line number Diff line change 157
157
//
158
158
// Průša i3 MK2 Multiplexer Support
159
159
//
160
- #define E_MUX0_PIN 17
161
- #define E_MUX1_PIN 16
162
- #define E_MUX2_PIN 78 // 84 in MK2 Firmware, with BEEPER as 78
160
+ #if HAS_PRUSA_MMU1
161
+ #define E_MUX0_PIN 17
162
+ #define E_MUX1_PIN 16
163
+ #define E_MUX2_PIN 78 // 84 in MK2 Firmware, with BEEPER as 78
164
+ #endif
163
165
164
166
//
165
167
// LCD / Controller
Original file line number Diff line number Diff line change 130
130
//
131
131
// Průša i3 MK2 Multiplexer Support
132
132
//
133
- #define E_MUX0_PIN 17
134
- #define E_MUX1_PIN 16
135
- #if !MB (MINIRAMBO_10A )
136
- #define E_MUX2_PIN 78 // 84 in MK2 Firmware, with BEEPER as 78
133
+ #if HAS_PRUSA_MMU1
134
+ #define E_MUX0_PIN 17
135
+ #define E_MUX1_PIN 16
136
+ #if !MB (MINIRAMBO_10A )
137
+ #define E_MUX2_PIN 78 // 84 in MK2 Firmware, with BEEPER as 78
138
+ #endif
137
139
#endif
138
140
139
141
//
Original file line number Diff line number Diff line change 186
186
//
187
187
// Průša i3 MK2 Multiplexer Support
188
188
//
189
- #define E_MUX0_PIN 17
190
- #define E_MUX1_PIN 16
191
- #define E_MUX2_PIN 84 // 84 in MK2 Firmware
189
+ #if HAS_PRUSA_MMU1
190
+ #define E_MUX0_PIN 17
191
+ #define E_MUX1_PIN 16
192
+ #define E_MUX2_PIN 84 // 84 in MK2 Firmware
193
+ #endif
192
194
193
195
//
194
196
// LCD / Controller
Original file line number Diff line number Diff line change 105
105
//
106
106
// Průša i3 MK2 Multiplexer Support
107
107
//
108
- #define E_MUX2_PIN -1
108
+ #if HAS_PRUSA_MMU1
109
+ #define E_MUX2_PIN -1
110
+ #endif
109
111
110
112
//
111
113
// Misc. Functions
Original file line number Diff line number Diff line change 412
412
//
413
413
// Průša i3 MK2 Multiplexer Support
414
414
//
415
- #ifndef E_MUX0_PIN
416
- #define E_MUX0_PIN 40 // Z_CS_PIN
417
- #endif
418
- #ifndef E_MUX1_PIN
419
- #define E_MUX1_PIN 42 // E0_CS_PIN
420
- #endif
421
- #ifndef E_MUX2_PIN
422
- #define E_MUX2_PIN 44 // E1_CS_PIN
415
+ #if HAS_PRUSA_MMU1
416
+ #ifndef E_MUX0_PIN
417
+ #define E_MUX0_PIN 40 // Z_CS_PIN
418
+ #endif
419
+ #ifndef E_MUX1_PIN
420
+ #define E_MUX1_PIN 42 // E0_CS_PIN
421
+ #endif
422
+ #ifndef E_MUX2_PIN
423
+ #define E_MUX2_PIN 44 // E1_CS_PIN
424
+ #endif
423
425
#endif
424
426
425
427
//
Original file line number Diff line number Diff line change 233
233
//
234
234
// Průša i3 MK2 Multiplexer Support
235
235
//
236
- #ifndef E_MUX0_PIN
237
- #define E_MUX0_PIN 29 // E2_STEP_PIN
238
- #endif
239
- #ifndef E_MUX1_PIN
240
- #define E_MUX1_PIN 28 // E2_DIR_PIN
241
- #endif
242
- #ifndef E_MUX2_PIN
243
- #define E_MUX2_PIN 39 // E2_ENABLE_PIN
236
+ #if HAS_PRUSA_MMU1
237
+ #ifndef E_MUX0_PIN
238
+ #define E_MUX0_PIN 29 // E2_STEP_PIN
239
+ #endif
240
+ #ifndef E_MUX1_PIN
241
+ #define E_MUX1_PIN 28 // E2_DIR_PIN
242
+ #endif
243
+ #ifndef E_MUX2_PIN
244
+ #define E_MUX2_PIN 39 // E2_ENABLE_PIN
245
+ #endif
244
246
#endif
245
247
246
248
//////////////////////////
Original file line number Diff line number Diff line change 252
252
//
253
253
// Průša i3 MK2 Multiplexer Support
254
254
//
255
- //#ifndef E_MUX0_PIN
256
- // #define E_MUX0_PIN 58 // Y_CS_PIN
257
- //#endif
258
- //#ifndef E_MUX1_PIN
259
- // #define E_MUX1_PIN 53 // Z_CS_PIN
260
- //#endif
261
- //#ifndef E_MUX2_PIN
262
- // #define E_MUX2_PIN 49 // En_CS_PIN
263
- //#endif
255
+ #if 0 && HAS_PRUSA_MMU1
256
+ #ifndef E_MUX0_PIN
257
+ #define E_MUX0_PIN 58 // Y_CS_PIN
258
+ #endif
259
+ #ifndef E_MUX1_PIN
260
+ #define E_MUX1_PIN 53 // Z_CS_PIN
261
+ #endif
262
+ #ifndef E_MUX2_PIN
263
+ #define E_MUX2_PIN 49 // En_CS_PIN
264
+ #endif
265
+ #endif
264
266
265
267
//////////////////////////
266
268
// LCDs and Controllers //
Original file line number Diff line number Diff line change 133
133
//
134
134
// Průša i3 MK2 Multi Material Multiplexer Support
135
135
//
136
- //#define E_MUX0_PIN -1
137
- //#define E_MUX1_PIN -1
136
+ #if HAS_PRUSA_MMU1
137
+ //#define E_MUX0_PIN -1
138
+ //#define E_MUX1_PIN -1
139
+ #endif
138
140
139
141
//
140
142
// LED / Lighting
Original file line number Diff line number Diff line change 150
150
//
151
151
// Průša i3 MK2 Multi Material Multiplexer Support
152
152
//
153
- //#define E_MUX0_PIN PG3
154
- //#define E_MUX1_PIN PG4
153
+ #if HAS_PRUSA_MMU1
154
+ //#define E_MUX0_PIN PG3
155
+ //#define E_MUX1_PIN PG4
156
+ #endif
155
157
156
158
#define LED_PIN PB14 // Alive
157
159
#define PS_ON_PIN PE0
You can’t perform that action at this time.
0 commit comments