Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile Error when using a REPRAP_DISCOUNT_SMART_CONTROLLER Display (2004LCD) on FYSETC F6 1.3 (solution included) #19570

Closed
arminth opened this issue Oct 1, 2020 · 4 comments
Labels
C: LCD & Controllers Fix Included A fix is included in the description

Comments

@arminth
Copy link
Contributor

arminth commented Oct 1, 2020

Bug Description

See above. Message: Missing Pins-Definitions

My Configurations

Marlin.zip

Steps to Reproduce

Enable REPRAP_DISCOUNT_SMART_COTROLLER on FYSETC F6 board and compile

Expected behavior: compile, no error

Actual behavior: compile error, missing PIN definitions

Additional Information

I solved the issue by changing Marlin/src/pins/ramps/pins_FYSETC_F6_13.h
from
Line 264 #elif HAS_MARLINUI_U8GLIB
to
Line 264 #elif EITHER(HAS_MARLINUI_U8GLIB, HAS_MARLINUI_HD44780)

@boelle boelle added the Fix Included A fix is included in the description label Oct 1, 2020
@sjasonsmith
Copy link
Contributor

@thinkyhead you renamed a bunch of constants related to this recently. This used to use HAS_GRAPHICAL_LCD. I am not quite sure whether the proposed change in this PR matches your expectation.

I don't see HAS_MARLINUI_HD44780 used in other pins files for the purpose of these pin assignments. It seems like there must be either a more generic constant that covers both, or perhaps these displays are failing to build on a lot of board right now...

@ellensp
Copy link
Contributor

ellensp commented Oct 10, 2020

HAS_CHARACTER_LCD => HAS_MARLINUI_HD44780 according to #19533
Is in release 2.0.7 onwards

@sjasonsmith
Copy link
Contributor

HAS_CHARACTER_LCD => HAS_MARLINUI_HD44780 according to #19533
Is in release 2.0.7 onwards

Display configuration is very inconsistent across boards. I think in many cases these pins are simply defined in an else case. Maybe they should be the else case if HAS_WIRED_LCD is defined?

@github-actions
Copy link

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.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C: LCD & Controllers Fix Included A fix is included in the description
Projects
None yet
Development

No branches or pull requests

4 participants