|
27 | 27 | #define BOARD_INFO_NAME "Fly RRF E3 V1"
|
28 | 28 | #endif
|
29 | 29 |
|
30 |
| -#define USES_DIAG_JUMPERS //you need Mellow/Fly's specific TMC2209's because they have a dip switch to turn off DIAG to disable auto home |
| 30 | +#define USES_DIAG_JUMPERS // Requires Mellow/Fly TMC2209 with DIAG disable dip switch |
31 | 31 |
|
32 |
| -// Onboard I2C EEPROM |
33 |
| -//#define I2C_EEPROM - this board doesn't have a real eeprom |
| 32 | +#if NO_EEPROM_SELECTED |
| 33 | + #define FLASH_EEPROM_EMULATION |
| 34 | +#endif |
34 | 35 | #define MARLIN_EEPROM_SIZE 0x1000 // 4K
|
35 | 36 |
|
36 | 37 | //
|
|
137 | 138 |
|
138 | 139 | #if ENABLED(LCD_FOR_MELZI)
|
139 | 140 |
|
140 |
| - #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING |
141 |
| - #error "CAUTION! LCD_FOR_MELZI requires wiring modifications. See 'pins_Fly_RRF_E3_V1.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)" |
142 |
| - #endif |
143 |
| - |
144 |
| - /** LCD_FOR_MELZI display pinout |
145 |
| - * |
146 |
| - * Fly RRF E3 V1 Display Ribbon |
147 |
| - * ------ ------ |
148 |
| - * (BEEPER) PE12 | 1 2 | PE11 (BTN_ENC) GND |10 9 | 5V |
149 |
| - * (BTN_EN1) PE10 | 3 4 | RESET BEEPER | 8 7 | ESTOP (RESET) |
150 |
| - * (BTN_EN2) PE9 5 6 | PE8 (LCD_D4) (BTN_ENC) ENC_BTN | 6 5 | LCD_SCLK (LCD_D4) |
151 |
| - * (LCD_RS) PE7 | 7 8 | PB1 (LCD_EN) (BTN_EN2) ENC_A | 4 3 | LCD_DATA (LCD_EN) |
152 |
| - * GND | 9 10 | 5V (BTN_EN1) ENC_B | 2 1 | LCD_CS (LCD_RS) |
153 |
| - * ------ ------ |
154 |
| - * EXP1 LCD |
155 |
| - * |
156 |
| - * Needs custom cable: |
157 |
| - * |
158 |
| - * Board Adapter Display Ribbon (coming from display) |
159 |
| - * ---------------------------------- |
160 |
| - * EXP1-10 ---------- LCD-9 5V |
161 |
| - * EXP1-9 ----------- LCD-10 GND |
162 |
| - * EXP1-8 ----------- LCD-3 LCD_EN |
163 |
| - * EXP1-7 ----------- LCD-1 LCD_RS |
164 |
| - * EXP1-6 ----------- LCD-5 LCD_D4 |
165 |
| - * EXP1-5 ----------- LCD-4 EN2 |
166 |
| - * EXP1-4 ----------- LCD-7 RESET |
167 |
| - * EXP1-3 ----------- LCD-2 EN1 |
168 |
| - * EXP1-2 ----------- LCD-6 BTN |
169 |
| - * EXP1-1 ----------- LCD-8 BEEPER |
170 |
| - */ |
| 141 | + CONTROLLER_WARNING("FLY_RRF_E3_V1", "LCD_FOR_MELZI") |
| 142 | + |
| 143 | + /** LCD_FOR_MELZI display pinout |
| 144 | + * |
| 145 | + * Fly RRF E3 V1 Display Ribbon |
| 146 | + * ------ ------ |
| 147 | + * (BEEPER) PE12 | 1 2 | PE11 (BTN_ENC) GND |10 9 | 5V |
| 148 | + * (BTN_EN1) PE10 | 3 4 | RESET BEEPER | 8 7 | ESTOP (RESET) |
| 149 | + * (BTN_EN2) PE9 5 6 | PE8 (LCD_D4) (BTN_ENC) ENC_BTN | 6 5 | LCD_SCLK (LCD_D4) |
| 150 | + * (LCD_RS) PE7 | 7 8 | PB1 (LCD_EN) (BTN_EN2) ENC_A | 4 3 | LCD_DATA (LCD_EN) |
| 151 | + * GND | 9 10 | 5V (BTN_EN1) ENC_B | 2 1 | LCD_CS (LCD_RS) |
| 152 | + * ------ ------ |
| 153 | + * EXP1 LCD |
| 154 | + * |
| 155 | + * Needs custom cable: |
| 156 | + * |
| 157 | + * Board Adapter Display Ribbon (coming from display) |
| 158 | + * ---------------------------------- |
| 159 | + * EXP1-10 ---------- LCD-9 5V |
| 160 | + * EXP1-9 ----------- LCD-10 GND |
| 161 | + * EXP1-8 ----------- LCD-3 LCD_EN |
| 162 | + * EXP1-7 ----------- LCD-1 LCD_RS |
| 163 | + * EXP1-6 ----------- LCD-5 LCD_D4 |
| 164 | + * EXP1-5 ----------- LCD-4 EN2 |
| 165 | + * EXP1-4 ----------- LCD-7 RESET |
| 166 | + * EXP1-3 ----------- LCD-2 EN1 |
| 167 | + * EXP1-2 ----------- LCD-6 BTN |
| 168 | + * EXP1-1 ----------- LCD-8 BEEPER |
| 169 | + */ |
171 | 170 |
|
172 | 171 | #endif
|
173 | 172 |
|
174 | 173 | #elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
|
175 | 174 |
|
176 |
| - #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING |
177 |
| - #error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_Fly_RRF_E3_V1.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)" |
178 |
| - #endif |
| 175 | + CONTROLLER_WARNING("FLY_RRF_E3_V1", "ZONESTAR_LCD") |
179 | 176 |
|
180 | 177 | #define LCD_PINS_RS EXP1_06_PIN
|
181 | 178 | #define LCD_PINS_EN EXP1_02_PIN
|
|
203 | 200 |
|
204 | 201 | #if ENABLED(TFTGLCD_PANEL_SPI)
|
205 | 202 |
|
206 |
| - #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING |
207 |
| - #error "CAUTION! TFTGLCD_PANEL_SPI requires wiring modifications. See 'pins_Fly_RRF_E3_V1.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)" |
208 |
| - #endif |
| 203 | + CONTROLLER_WARNING("FLY_RRF_E3_V1", "TFTGLCD_PANEL_SPI") |
209 | 204 |
|
210 | 205 | /**
|
211 | 206 | * TFTGLCD_PANEL_SPI display pinout
|
|
241 | 236 | #endif
|
242 | 237 |
|
243 | 238 | #else
|
244 |
| - #error "Only CR10_STOCKDISPLAY, ZONESTAR_LCD, ENDER2_STOCKDISPLAY, MKS_MINI_12864, LCD_FOR_MELZI, and TFTGLCD_PANEL_(SPI|I2C) are currently supported on the Mellow_RRF_E3_V1." |
| 239 | + #error "Only CR10_STOCKDISPLAY, ZONESTAR_LCD, ENDER2_STOCKDISPLAY, MKS_MINI_12864, LCD_FOR_MELZI, and TFTGLCD_PANEL_(SPI|I2C) are currently supported on the FLY_RRF_E3_V1." |
245 | 240 | #endif
|
246 | 241 |
|
247 | 242 | // Alter timing for graphical display
|
|
259 | 254 |
|
260 | 255 | #if ALL(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)
|
261 | 256 |
|
262 |
| - #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING |
263 |
| - #error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_Fly_RRF_E3_V1.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)" |
264 |
| - #endif |
| 257 | + CONTROLLER_WARNING("FLY_RRF_E3_V1", "LCD_FYSETC_TFT81050") |
265 | 258 |
|
266 | 259 | /** FYSETC TFT TFT81050 display pinout
|
267 | 260 | *
|
|
275 | 268 | * ------ ------
|
276 | 269 | * EXP1 EXP1
|
277 | 270 | *
|
278 |
| - * |
279 | 271 | * Needs custom cable:
|
280 | 272 | *
|
281 | 273 | * Board Adapter Display
|
|
0 commit comments