Bläddra i källkod

NO_LCD_REINIT for FSMC (or, no SD_DETECT_PIN)

Scott Lahteine 5 år sedan
förälder
incheckning
859ccd2e28

+ 4
- 0
Marlin/src/inc/Conditionals_post.h Visa fil

374
 
374
 
375
 #endif
375
 #endif
376
 
376
 
377
+#if EITHER(LCD_USE_DMA_FSMC, FSMC_GRAPHICAL_TFT) || !PIN_EXISTS(SD_DETECT)
378
+  #define NO_LCD_REINIT 1  // Suppress LCD re-initialization
379
+#endif
380
+
377
 /**
381
 /**
378
  * Set defaults for missing (newer) options
382
  * Set defaults for missing (newer) options
379
  */
383
  */

+ 0
- 1
Marlin/src/pins/stm32f1/pins_CHITU3D_V5.h Visa fil

118
   #define LCD_PIXEL_OFFSET_Y 48
118
   #define LCD_PIXEL_OFFSET_Y 48
119
 
119
 
120
   #define LCD_RESET_PIN                     PF11
120
   #define LCD_RESET_PIN                     PF11
121
-  #define NO_LCD_REINIT
122
   #define LCD_BACKLIGHT_PIN                 PD13
121
   #define LCD_BACKLIGHT_PIN                 PD13
123
   #define FSMC_CS_PIN                       PD7
122
   #define FSMC_CS_PIN                       PD7
124
   #define FSMC_RS_PIN                       PD11
123
   #define FSMC_RS_PIN                       PD11

+ 0
- 1
Marlin/src/pins/stm32f1/pins_CHITU3D_V6.h Visa fil

123
   #define LCD_PIXEL_OFFSET_Y 48
123
   #define LCD_PIXEL_OFFSET_Y 48
124
 
124
 
125
   #define LCD_RESET_PIN                     PF11
125
   #define LCD_RESET_PIN                     PF11
126
-  #define NO_LCD_REINIT
127
   #define LCD_BACKLIGHT_PIN                 PD13
126
   #define LCD_BACKLIGHT_PIN                 PD13
128
   #define FSMC_CS_PIN                       PD7
127
   #define FSMC_CS_PIN                       PD7
129
   #define FSMC_RS_PIN                       PD11
128
   #define FSMC_RS_PIN                       PD11

+ 0
- 2
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_MINI.h Visa fil

126
   #define FSMC_RS_PIN                       PD11  // A0
126
   #define FSMC_RS_PIN                       PD11  // A0
127
 
127
 
128
   #define LCD_RESET_PIN                     PC6
128
   #define LCD_RESET_PIN                     PC6
129
-  #define NO_LCD_REINIT                           // Suppress LCD re-initialization
130
-
131
   #define LCD_BACKLIGHT_PIN                 PD13
129
   #define LCD_BACKLIGHT_PIN                 PD13
132
 
130
 
133
   #if ENABLED(TOUCH_BUTTONS)
131
   #if ENABLED(TOUCH_BUTTONS)

+ 0
- 2
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h Visa fil

246
   #define FSMC_RS_PIN                       PD11  // A0
246
   #define FSMC_RS_PIN                       PD11  // A0
247
 
247
 
248
   #define LCD_RESET_PIN                     PC6   // FSMC_RST
248
   #define LCD_RESET_PIN                     PC6   // FSMC_RST
249
-  #define NO_LCD_REINIT                           // Suppress LCD re-initialization
250
-
251
   #define LCD_BACKLIGHT_PIN                 PD13
249
   #define LCD_BACKLIGHT_PIN                 PD13
252
 
250
 
253
   #if ENABLED(TOUCH_BUTTONS)
251
   #if ENABLED(TOUCH_BUTTONS)

+ 0
- 2
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_PRO.h Visa fil

219
   #define FSMC_RS_PIN                       PD11  // A0
219
   #define FSMC_RS_PIN                       PD11  // A0
220
 
220
 
221
   #define LCD_RESET_PIN                     PF6
221
   #define LCD_RESET_PIN                     PF6
222
-  #define NO_LCD_REINIT                           // Suppress LCD re-initialization
223
-
224
   #define LCD_BACKLIGHT_PIN                 PD13
222
   #define LCD_BACKLIGHT_PIN                 PD13
225
 
223
 
226
   #if ENABLED(TOUCH_BUTTONS)
224
   #if ENABLED(TOUCH_BUTTONS)

Laddar…
Avbryt
Spara