Closed 7eggert closed 5 years ago
Please post your question either on discord: https://discord.gg/n5NJ59y or on facebook: https://www.facebook.com/groups/2080308602206119/ The issue list is for bugs and feature requests only Please close this issue once you have posted it on one of the 2 links Thanks :-D
Maybe I should phrase it as "Bug: Configuring a custom LCD is prevented by sanity checks", but I felt that asking and fixing this myself would be better. Discord is a white, empty page; facebook is blocked by DNS.
Discord is a white, empty page; facebook is blocked by DNS.
Where are you from?
Germany; using ScriptSafe; discordapp.com enabled but not sentry.io. Also using a DNS server blocking FB.
are you blocking it yourself or are the internet provider blocking it? just sounds very strange
Hi @7eggert — Development guidance is one of the issues we don't mind being more helpful with, since we are the developers, and the other forums are meant mainly for end users who don't deal with the code.
To answer your original question, the sanity check is looking for the unique combination. If your top-level config option is named LCD_I2C_TYPE_PCF8575
and this is another option that enables REPRAPWORLD_KEYPAD
, then the new identifier for "REPRAPWORLD_KEYPAD
by itself" becomes…
- + (ENABLED(REPRAPWORLD_KEYPAD) && DISABLED(CARTESIO_UI) && DISABLED(ZONESTAR_LCD)) \
+ + (ENABLED(REPRAPWORLD_KEYPAD) && DISABLED(CARTESIO_UI) && DISABLED(ZONESTAR_LCD) \
+ && DISABLED(LCD_I2C_TYPE_PCF8575)) \
You'll also need to add:
+ + ENABLED(LCD_I2C_TYPE_PCF8575) \
So…
#if 1 < 0 \
+ ( ENABLED(ULTIMAKERCONTROLLER) \
&& DISABLED(SAV_3DGLCD) \
&& DISABLED(miniVIKI) \
&& DISABLED(VIKI2) \
&& DISABLED(ELB_FULL_GRAPHIC_CONTROLLER) \
&& DISABLED(AZSMZ_12864) \
&& DISABLED(PANEL_ONE) \
&& DISABLED(MKS_12864OLED) \
&& DISABLED(MKS_12864OLED_SSD1306) ) \
+ ( ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) \
&& DISABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) \
&& DISABLED(LCD_FOR_MELZI) \
&& DISABLED(MAKEBOARD_MINI_2_LINE_DISPLAY_1602) \
&& DISABLED(MKS_12864OLED) \
&& DISABLED(MKS_12864OLED_SSD1306) ) \
+ (ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) && DISABLED(BQ_LCD_SMART_CONTROLLER)) \
+ ENABLED(LCD_FOR_MELZI) \
+ ENABLED(MALYAN_LCD) \
+ ENABLED(MKS_12864OLED) \
+ ENABLED(MKS_12864OLED_SSD1306) \
+ ENABLED(MAKEBOARD_MINI_2_LINE_DISPLAY_1602) \
+ ENABLED(CARTESIO_UI) \
+ ENABLED(PANEL_ONE) \
+ ENABLED(MAKRPANEL) \
+ ENABLED(REPRAPWORLD_GRAPHICAL_LCD) \
+ ENABLED(VIKI2) \
+ ENABLED(miniVIKI) \
+ ENABLED(ELB_FULL_GRAPHIC_CONTROLLER) \
+ ENABLED(AZSMZ_12864) \
+ ENABLED(G3D_PANEL) \
+ (ENABLED(MINIPANEL) && DISABLED(MKS_MINI_12864)) \
+ ENABLED(MKS_MINI_12864) \
+ (ENABLED(REPRAPWORLD_KEYPAD) && DISABLED(CARTESIO_UI) && DISABLED(ZONESTAR_LCD) && DISABLED(LCD_I2C_TYPE_PCF8575)) \
+ ENABLED(LCD_I2C_TYPE_PCF8575) \
+ ENABLED(RIGIDBOT_PANEL) \
+ ENABLED(RA_CONTROL_PANEL) \
+ ENABLED(LCD_SAINSMART_I2C_1602) \
+ ENABLED(LCD_SAINSMART_I2C_2004) \
+ ENABLED(LCM1602) \
+ ENABLED(LCD_I2C_PANELOLU2) \
+ ENABLED(LCD_I2C_VIKI) \
+ (ENABLED(U8GLIB_SSD1306) && DISABLED(OLED_PANEL_TINYBOY2) && DISABLED(MKS_12864OLED_SSD1306)) \
+ ENABLED(SAV_3DLCD) \
+ ENABLED(BQ_LCD_SMART_CONTROLLER) \
+ ENABLED(SAV_3DGLCD) \
+ ENABLED(OLED_PANEL_TINYBOY2) \
+ ENABLED(ZONESTAR_LCD) \
+ ENABLED(ULTI_CONTROLLER)
#error "Please select no more than one LCD controller option."
#endif
are you blocking it yourself or are the internet provider blocking it? just sounds very strange
Blocking FB is sane. Discord may or may be not blocked incorrectly by not allowing JS from sentry.io
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
What is the best way to modify SanityCheck.h in order to compile for my custom display having 1) An LCD_I2C_TYPE_PCF8575 LCD2004 (not Zonestar / Anet) 2) A rotary encoder, 2 digital pins, button connected to ... 3) An ADC_KEYPAD
Intended target version is both 1.1.x and 2.0.x (the former because of having a working config and thus starting there while making my LCD work)
My config for this display is:
My current hack to compile is:
REPRAPWORLD_KEYPAD is needed to have the button #definitions