소스 검색

BTN_ENC_EN for many boards (#19890)

Enables CHECK_ENCODER_ACTIVE_SIGNAL for many more boards.

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
Co-authored-by: Jason Smith <jason.inet@gmail.com>
Gurmeet Athwal 3 년 전
부모
커밋
6851909f90
No account linked to committer's email address
42개의 변경된 파일191개의 추가작업 그리고 0개의 파일을 삭제
  1. 5
    0
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h
  2. 5
    0
      Marlin/src/pins/lpc1768/pins_GMARSH_X6_REV1.h
  3. 5
    0
      Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h
  4. 5
    0
      Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h
  5. 5
    0
      Marlin/src/pins/lpc1768/pins_SELENA_COMPACT.h
  6. 5
    0
      Marlin/src/pins/lpc1769/pins_AZTEEG_X5_MINI.h
  7. 5
    0
      Marlin/src/pins/lpc1769/pins_MKS_SGEN_L_V2.h
  8. 4
    0
      Marlin/src/pins/mega/pins_CHEAPTRONICv2.h
  9. 4
    0
      Marlin/src/pins/mega/pins_GT2560_REV_A.h
  10. 5
    0
      Marlin/src/pins/rambo/pins_EINSY_RAMBO.h
  11. 4
    0
      Marlin/src/pins/rambo/pins_EINSY_RETRO.h
  12. 4
    0
      Marlin/src/pins/rambo/pins_MINIRAMBO.h
  13. 4
    0
      Marlin/src/pins/rambo/pins_RAMBO.h
  14. 4
    0
      Marlin/src/pins/ramps/pins_FYSETC_F6_13.h
  15. 4
    0
      Marlin/src/pins/ramps/pins_RAMPS.h
  16. 5
    0
      Marlin/src/pins/ramps/pins_RAMPS_S_12.h
  17. 4
    0
      Marlin/src/pins/ramps/pins_TT_OSCAR.h
  18. 5
    0
      Marlin/src/pins/sam/pins_ARCHIM1.h
  19. 5
    0
      Marlin/src/pins/sam/pins_DUE3DOM.h
  20. 5
    0
      Marlin/src/pins/sam/pins_DUE3DOM_MINI.h
  21. 4
    0
      Marlin/src/pins/sam/pins_RADDS.h
  22. 4
    0
      Marlin/src/pins/sam/pins_RAMPS_DUO.h
  23. 4
    0
      Marlin/src/pins/sam/pins_RAMPS_FD_V1.h
  24. 4
    0
      Marlin/src/pins/sam/pins_RURAMPS4D_11.h
  25. 4
    0
      Marlin/src/pins/sam/pins_RURAMPS4D_13.h
  26. 4
    0
      Marlin/src/pins/samd/pins_RAMPS_144.h
  27. 4
    0
      Marlin/src/pins/sanguino/pins_ANET_10.h
  28. 5
    0
      Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_V1_1.h
  29. 4
    0
      Marlin/src/pins/stm32f1/pins_CHITU3D.h
  30. 4
    0
      Marlin/src/pins/stm32f1/pins_FLY_MINI.h
  31. 5
    0
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3P.h
  32. 5
    0
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3_common.h
  33. 5
    0
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_LITE3.h
  34. 5
    0
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h
  35. 5
    0
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_PRO.h
  36. 4
    0
      Marlin/src/pins/stm32f1/pins_STM32F1R.h
  37. 4
    0
      Marlin/src/pins/stm32f4/pins_BLACK_STM32F407VE.h
  38. 5
    0
      Marlin/src/pins/stm32f4/pins_BTT_BTT002_V1_0.h
  39. 5
    0
      Marlin/src/pins/stm32f4/pins_BTT_GTR_V1_0.h
  40. 5
    0
      Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_common.h
  41. 5
    0
      Marlin/src/pins/stm32f4/pins_FYSETC_S6.h
  42. 5
    0
      Marlin/src/pins/stm32f4/pins_RUMBA32_common.h

+ 5
- 0
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h 파일 보기

@@ -353,6 +353,11 @@
353 353
         #define LCD_PINS_D5         EXPA1_05_PIN
354 354
         #define LCD_PINS_D6         EXPA1_04_PIN
355 355
         #define LCD_PINS_D7         EXPA1_03_PIN
356
+
357
+        #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
358
+          #define BTN_ENC_EN         LCD_PINS_D7  // Detect the presence of the encoder
359
+        #endif
360
+
356 361
       #endif
357 362
 
358 363
     #endif // !FYSETC_MINI_12864

+ 5
- 0
Marlin/src/pins/lpc1768/pins_GMARSH_X6_REV1.h 파일 보기

@@ -136,6 +136,11 @@
136 136
   #define LCD_PINS_D5                      P0_22
137 137
   #define LCD_PINS_D6                      P1_29
138 138
   #define LCD_PINS_D7                      P1_28
139
+
140
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
141
+    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
142
+  #endif
143
+
139 144
 #endif
140 145
 
141 146
 //

+ 5
- 0
Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h 파일 보기

@@ -352,6 +352,11 @@
352 352
           #define LCD_PINS_D5              P0_17
353 353
           #define LCD_PINS_D6              P1_00
354 354
           #define LCD_PINS_D7              P1_22
355
+
356
+          #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
357
+            #define BTN_ENC_EN       LCD_PINS_D7  // Detect the presence of the encoder
358
+          #endif
359
+
355 360
         #endif
356 361
 
357 362
       #endif // !FYSETC_MINI_12864

+ 5
- 0
Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h 파일 보기

@@ -420,6 +420,11 @@
420 420
       #define LCD_PINS_D5                  P1_17  // (71) ENET_MDIO
421 421
       #define LCD_PINS_D6                  P1_14  // (73) ENET_RX_ER
422 422
       #define LCD_PINS_D7                  P1_10  // (75) ENET_RXD1
423
+
424
+      #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
425
+        #define BTN_ENC_EN           LCD_PINS_D7  // Detect the presence of the encoder
426
+      #endif
427
+
423 428
     #endif
424 429
   #endif
425 430
 

+ 5
- 0
Marlin/src/pins/lpc1768/pins_SELENA_COMPACT.h 파일 보기

@@ -110,4 +110,9 @@
110 110
     #define BTN_ENC                        P1_30
111 111
 
112 112
     #define SD_DETECT_PIN                  -1
113
+
114
+    #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
115
+      #define BTN_ENC_EN             LCD_PINS_D7  // Detect the presence of the encoder
116
+    #endif
117
+
113 118
 #endif // IS_RRD_FG_SC

+ 5
- 0
Marlin/src/pins/lpc1769/pins_AZTEEG_X5_MINI.h 파일 보기

@@ -175,6 +175,11 @@
175 175
       #endif
176 176
       #define BEEPER_PIN                   P1_30  // (37) not 5V tolerant
177 177
       #define DOGLCD_CS                    P0_16  // (16)
178
+
179
+      #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
180
+        #define BTN_ENC_EN           LCD_PINS_D7  // Detect the presence of the encoder
181
+      #endif
182
+
178 183
     #endif
179 184
 
180 185
     #if ENABLED(MINIPANEL)

+ 5
- 0
Marlin/src/pins/lpc1769/pins_MKS_SGEN_L_V2.h 파일 보기

@@ -371,6 +371,11 @@
371 371
           #define LCD_PINS_D5              P0_17
372 372
           #define LCD_PINS_D6              P1_00
373 373
           #define LCD_PINS_D7              P1_22
374
+
375
+          #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
376
+            #define BTN_ENC_EN       LCD_PINS_D7  // Detect the presence of the encoder
377
+          #endif
378
+
374 379
         #endif
375 380
 
376 381
       #endif // !FYSETC_MINI_12864

+ 4
- 0
Marlin/src/pins/mega/pins_CHEAPTRONICv2.h 파일 보기

@@ -119,6 +119,10 @@
119 119
 #define LCD_PINS_D6                           41
120 120
 #define LCD_PINS_D7                           40
121 121
 
122
+#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
123
+  #define BTN_ENC_EN                 LCD_PINS_D7  // Detect the presence of the encoder
124
+#endif
125
+
122 126
 //
123 127
 // Beeper, SD Card, Encoder
124 128
 //

+ 4
- 0
Marlin/src/pins/mega/pins_GT2560_REV_A.h 파일 보기

@@ -158,6 +158,10 @@
158 158
     #define LCD_PINS_D6                       20
159 159
     #define LCD_PINS_D7                       19
160 160
 
161
+    #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
162
+      #define BTN_ENC_EN             LCD_PINS_D7  // Detect the presence of the encoder
163
+    #endif
164
+
161 165
     #define SD_DETECT_PIN                     -1
162 166
 
163 167
   #endif // !IS_NEWPANEL

+ 5
- 0
Marlin/src/pins/rambo/pins_EINSY_RAMBO.h 파일 보기

@@ -181,6 +181,11 @@
181 181
       #define LCD_PINS_D7                     71
182 182
       #define BTN_EN1                         14
183 183
       #define BTN_EN2                         72
184
+
185
+      #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
186
+        #define BTN_ENC_EN           LCD_PINS_D7  // Detect the presence of the encoder
187
+      #endif
188
+
184 189
     #endif
185 190
 
186 191
     #define BTN_ENC                            9  // AUX-2

+ 4
- 0
Marlin/src/pins/rambo/pins_EINSY_RETRO.h 파일 보기

@@ -194,6 +194,10 @@
194 194
 
195 195
     #define SD_DETECT_PIN                     15
196 196
 
197
+    #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
198
+      #define BTN_ENC_EN             LCD_PINS_D7  // Detect the presence of the encoder
199
+    #endif
200
+
197 201
   #endif // IS_ULTIPANEL || TOUCH_UI_ULTIPANEL || TOUCH_UI_FTDI_EVE
198 202
 
199 203
 #endif // HAS_WIRED_LCD || TOUCH_UI_ULTIPANEL || TOUCH_UI_FTDI_EVE

+ 4
- 0
Marlin/src/pins/rambo/pins_MINIRAMBO.h 파일 보기

@@ -187,6 +187,10 @@
187 187
 
188 188
     #endif // !MINIRAMBO_10A
189 189
 
190
+    #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
191
+      #define BTN_ENC_EN             LCD_PINS_D7  // Detect the presence of the encoder
192
+    #endif
193
+
190 194
   #endif // IS_ULTIPANEL || TOUCH_UI_ULTIPANEL
191 195
 
192 196
 #endif // HAS_WIRED_LCD || TOUCH_UI_ULTIPANEL

+ 4
- 0
Marlin/src/pins/rambo/pins_RAMBO.h 파일 보기

@@ -228,6 +228,10 @@
228 228
 
229 229
     #endif // !VIKI2 && !miniVIKI
230 230
 
231
+    #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
232
+      #define BTN_ENC_EN             LCD_PINS_D7  // Detect the presence of the encoder
233
+    #endif
234
+
231 235
   #else                                           // !IS_NEWPANEL - old style panel with shift register
232 236
 
233 237
     // No Beeper added

+ 4
- 0
Marlin/src/pins/ramps/pins_FYSETC_F6_13.h 파일 보기

@@ -275,6 +275,10 @@
275 275
       #define DOGLCD_A0                       27
276 276
     #endif
277 277
 
278
+    #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
279
+      #define BTN_ENC_EN             LCD_PINS_D7  // Detect the presence of the encoder
280
+    #endif
281
+
278 282
   #endif
279 283
 
280 284
   #if IS_NEWPANEL

+ 4
- 0
Marlin/src/pins/ramps/pins_RAMPS.h 파일 보기

@@ -512,6 +512,10 @@
512 512
 
513 513
   #endif
514 514
 
515
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
516
+    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
517
+  #endif
518
+
515 519
   //
516 520
   // LCD Display input pins
517 521
   //

+ 5
- 0
Marlin/src/pins/ramps/pins_RAMPS_S_12.h 파일 보기

@@ -263,6 +263,11 @@
263 263
   #ifndef SD_DETECT_PIN
264 264
     #define SD_DETECT_PIN                     38
265 265
   #endif
266
+  
267
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
268
+    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
269
+  #endif
270
+
266 271
 #endif
267 272
 
268 273
 //

+ 4
- 0
Marlin/src/pins/ramps/pins_TT_OSCAR.h 파일 보기

@@ -350,6 +350,10 @@
350 350
 
351 351
   #endif
352 352
 
353
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
354
+    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
355
+  #endif
356
+
353 357
   //
354 358
   // LCD Display input pins
355 359
   //

+ 5
- 0
Marlin/src/pins/sam/pins_ARCHIM1.h 파일 보기

@@ -198,4 +198,9 @@
198 198
     #define BTN_EN2                           13  // D13 PB27_TIOB0
199 199
     #define BTN_ENC                           16  // D16 PA13_TXD1
200 200
   #endif // IS_NEWPANEL
201
+
202
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
203
+    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
204
+  #endif
205
+
201 206
 #endif // HAS_WIRED_LCD

+ 5
- 0
Marlin/src/pins/sam/pins_DUE3DOM.h 파일 보기

@@ -168,4 +168,9 @@
168 168
 
169 169
     #define BEEPER_PIN                        -1
170 170
   #endif // SPARK_FULL_GRAPHICS
171
+
172
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
173
+    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
174
+  #endif
175
+
171 176
 #endif // HAS_WIRED_LCD

+ 5
- 0
Marlin/src/pins/sam/pins_DUE3DOM_MINI.h 파일 보기

@@ -171,4 +171,9 @@
171 171
     #define DOGLCD_CS                         45
172 172
 
173 173
   #endif // SPARK_FULL_GRAPHICS
174
+
175
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
176
+    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
177
+  #endif
178
+
174 179
 #endif // HAS_WIRED_LCD

+ 4
- 0
Marlin/src/pins/sam/pins_RADDS.h 파일 보기

@@ -287,6 +287,10 @@
287 287
 
288 288
   #endif // SPARK_FULL_GRAPHICS
289 289
 
290
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
291
+    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
292
+  #endif
293
+
290 294
 #endif // HAS_WIRED_LCD
291 295
 
292 296
 #ifndef SDSS

+ 4
- 0
Marlin/src/pins/sam/pins_RAMPS_DUO.h 파일 보기

@@ -127,6 +127,10 @@
127 127
       #endif
128 128
     #endif
129 129
 
130
+    #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
131
+      #define BTN_ENC_EN             LCD_PINS_D7  // Detect the presence of the encoder
132
+    #endif
133
+
130 134
   #endif // IS_NEWPANEL
131 135
 
132 136
 #endif // HAS_WIRED_LCD

+ 4
- 0
Marlin/src/pins/sam/pins_RAMPS_FD_V1.h 파일 보기

@@ -203,6 +203,10 @@
203 203
     #define DOGLCD_MISO                       74  // MISO_PIN
204 204
   #endif
205 205
 
206
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
207
+    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
208
+  #endif
209
+
206 210
 #endif // HAS_WIRED_LCD
207 211
 
208 212
 #if HAS_TMC_UART

+ 4
- 0
Marlin/src/pins/sam/pins_RURAMPS4D_11.h 파일 보기

@@ -271,4 +271,8 @@
271 271
     #define BTN_ENC                           40
272 272
   #endif
273 273
 
274
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
275
+    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
276
+  #endif
277
+
274 278
 #endif // HAS_WIRED_LCD

+ 4
- 0
Marlin/src/pins/sam/pins_RURAMPS4D_13.h 파일 보기

@@ -253,4 +253,8 @@
253 253
     #define BTN_ENC                           40
254 254
   #endif
255 255
 
256
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
257
+    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
258
+  #endif
259
+
256 260
 #endif // HAS_WIRED_LCD

+ 4
- 0
Marlin/src/pins/samd/pins_RAMPS_144.h 파일 보기

@@ -594,6 +594,10 @@
594 594
     #endif
595 595
   #endif // IS_NEWPANEL
596 596
 
597
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
598
+    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
599
+  #endif
600
+
597 601
 #endif // HAS_WIRED_LCD
598 602
 
599 603
 //

+ 4
- 0
Marlin/src/pins/sanguino/pins_ANET_10.h 파일 보기

@@ -198,6 +198,10 @@
198 198
 
199 199
   #endif
200 200
 
201
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
202
+    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
203
+  #endif
204
+
201 205
 #else
202 206
 
203 207
   #define SERVO0_PIN                          27

+ 5
- 0
Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_V1_1.h 파일 보기

@@ -179,6 +179,11 @@
179 179
         #define LCD_PINS_D5                 PB7
180 180
         #define LCD_PINS_D6                 PC15
181 181
         #define LCD_PINS_D7                 PC14
182
+
183
+        #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
184
+          #define BTN_ENC_EN         LCD_PINS_D7  // Detect the presence of the encoder
185
+        #endif
186
+
182 187
       #endif
183 188
 
184 189
     #endif // !FYSETC_MINI_12864

+ 4
- 0
Marlin/src/pins/stm32f1/pins_CHITU3D.h 파일 보기

@@ -283,4 +283,8 @@
283 283
     #endif
284 284
   #endif // IS_NEWPANEL
285 285
 
286
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
287
+    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
288
+  #endif
289
+
286 290
 #endif // HAS_WIRED_LCD

+ 4
- 0
Marlin/src/pins/stm32f1/pins_FLY_MINI.h 파일 보기

@@ -154,6 +154,10 @@
154 154
 #define BTN_EN2                             PB3
155 155
 #define BTN_ENC                             PC13
156 156
 
157
+#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
158
+  #define BTN_ENC_EN                 LCD_PINS_D7  // Detect the presence of the encoder
159
+#endif
160
+
157 161
 //
158 162
 // Filament runout
159 163
 //

+ 5
- 0
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3P.h 파일 보기

@@ -309,6 +309,11 @@
309 309
       #define LCD_PINS_D5                   PE15
310 310
       #define LCD_PINS_D6                   PD11
311 311
       #define LCD_PINS_D7                   PD10
312
+
313
+      #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
314
+        #define BTN_ENC_EN           LCD_PINS_D7  // Detect the presence of the encoder
315
+      #endif
316
+
312 317
     #endif
313 318
 
314 319
     #ifndef BOARD_ST7920_DELAY_1

+ 5
- 0
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3_common.h 파일 보기

@@ -160,6 +160,11 @@
160 160
       #define LCD_PINS_D5                   PA7
161 161
       #define LCD_PINS_D6                   PC4
162 162
       #define LCD_PINS_D7                   PC5
163
+
164
+      #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
165
+        #define BTN_ENC_EN           LCD_PINS_D7  // Detect the presence of the encoder
166
+      #endif
167
+
163 168
     #endif
164 169
 
165 170
   #endif // !MKS_MINI_12864

+ 5
- 0
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_LITE3.h 파일 보기

@@ -129,6 +129,11 @@
129 129
       #define LCD_PINS_D5                   PA7
130 130
       #define LCD_PINS_D6                   PC4
131 131
       #define LCD_PINS_D7                   PC5
132
+
133
+      #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
134
+        #define BTN_ENC_EN           LCD_PINS_D7  // Detect the presence of the encoder
135
+      #endif
136
+
132 137
     #endif
133 138
 
134 139
   #endif // !MKS_MINI_12864

+ 5
- 0
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h 파일 보기

@@ -321,6 +321,11 @@
321 321
       #define LCD_PINS_D5                   PE15
322 322
       #define LCD_PINS_D6                   PD11
323 323
       #define LCD_PINS_D7                   PD10
324
+
325
+      #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
326
+        #define BTN_ENC_EN           LCD_PINS_D7  // Detect the presence of the encoder
327
+      #endif
328
+
324 329
     #endif
325 330
 
326 331
     #ifndef BOARD_ST7920_DELAY_1

+ 5
- 0
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_PRO.h 파일 보기

@@ -258,6 +258,11 @@
258 258
       #define LCD_PINS_D5                   PF15
259 259
       #define LCD_PINS_D6                   PF12
260 260
       #define LCD_PINS_D7                   PF13
261
+
262
+      #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
263
+        #define BTN_ENC_EN           LCD_PINS_D7  // Detect the presence of the encoder
264
+      #endif
265
+
261 266
     #endif
262 267
 
263 268
   #endif // !MKS_MINI_12864 && !ENDER2_STOCKDISPLAY

+ 4
- 0
Marlin/src/pins/stm32f1/pins_STM32F1R.h 파일 보기

@@ -258,4 +258,8 @@
258 258
     #endif
259 259
   #endif // IS_NEWPANEL
260 260
 
261
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
262
+    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
263
+  #endif
264
+
261 265
 #endif // HAS_WIRED_LCD

+ 4
- 0
Marlin/src/pins/stm32f4/pins_BLACK_STM32F407VE.h 파일 보기

@@ -132,6 +132,10 @@
132 132
 #define DOGLCD_CS                    LCD_PINS_D5
133 133
 #define DOGLCD_A0                    LCD_PINS_D6
134 134
 
135
+#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
136
+  #define BTN_ENC_EN                 LCD_PINS_D7  // Detect the presence of the encoder
137
+#endif
138
+
135 139
 //
136 140
 // Onboard SD support
137 141
 //

+ 5
- 0
Marlin/src/pins/stm32f4/pins_BTT_BTT002_V1_0.h 파일 보기

@@ -232,6 +232,11 @@
232 232
       #define LCD_PINS_D5                   PE11
233 233
       #define LCD_PINS_D6                   PE12
234 234
       #define LCD_PINS_D7                   PE13
235
+
236
+      #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
237
+        #define BTN_ENC_EN           LCD_PINS_D7  // Detect the presence of the encoder
238
+      #endif
239
+
235 240
     #endif
236 241
 
237 242
   #endif

+ 5
- 0
Marlin/src/pins/stm32f4/pins_BTT_GTR_V1_0.h 파일 보기

@@ -389,6 +389,11 @@
389 389
       #define LCD_PINS_D5                   PG7
390 390
       #define LCD_PINS_D6                   PG6
391 391
       #define LCD_PINS_D7                   PG5
392
+
393
+      #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
394
+        #define BTN_ENC_EN           LCD_PINS_D7  // Detect the presence of the encoder
395
+      #endif
396
+
392 397
     #endif
393 398
 
394 399
   #endif

+ 5
- 0
Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_common.h 파일 보기

@@ -426,6 +426,11 @@
426 426
       #define LCD_PINS_D5           EXPA1_05_PIN
427 427
       #define LCD_PINS_D6           EXPA1_04_PIN
428 428
       #define LCD_PINS_D7           EXPA1_03_PIN
429
+
430
+      #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
431
+        #define BTN_ENC_EN           LCD_PINS_D7  // Detect the presence of the encoder
432
+      #endif
433
+
429 434
     #endif
430 435
 
431 436
   #endif

+ 5
- 0
Marlin/src/pins/stm32f4/pins_FYSETC_S6.h 파일 보기

@@ -256,6 +256,11 @@
256 256
       #define LCD_PINS_D5                   PC12
257 257
       #define LCD_PINS_D6                   PD0
258 258
       #define LCD_PINS_D7                   PD1
259
+
260
+      #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
261
+        #define BTN_ENC_EN           LCD_PINS_D7  // Detect the presence of the encoder
262
+      #endif
263
+
259 264
     #endif
260 265
 
261 266
   #endif

+ 5
- 0
Marlin/src/pins/stm32f4/pins_RUMBA32_common.h 파일 보기

@@ -164,6 +164,11 @@
164 164
     #define LCD_PINS_D5                     PE13
165 165
     #define LCD_PINS_D6                     PE14
166 166
     #define LCD_PINS_D7                     PE15
167
+
168
+    #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
169
+      #define BTN_ENC_EN             LCD_PINS_D7  // Detect the presence of the encoder
170
+    #endif
171
+
167 172
   #endif
168 173
 
169 174
   // Alter timing for graphical display

Loading…
취소
저장