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

glcdfonts dupe problem for RA8875 and RA8876 #9

Open
K7MDL2 opened this issue Nov 25, 2022 · 1 comment
Open

glcdfonts dupe problem for RA8875 and RA8876 #9

K7MDL2 opened this issue Nov 25, 2022 · 1 comment

Comments

@K7MDL2
Copy link
Owner

K7MDL2 commented Nov 25, 2022

A long standing problem I get is duplicate glcdfont array definition errors. I believe this comes from the array being defined in the glcdfont.c RA8875 library file and also various included ILI9488_t3 and IL9341_t3 libraries which are included to leverage some fonts. I work around this by renaming glcdfont.c in the ili9488_t3/src lib folder to something else like glcdfont.c.unused.

With the new Arduino IDE 2.0.2 compiling for RA8876 I get dupes for _font_ComicSansMS in IL9488_t3 and RA8876_t3 folders. Renaming the 2 _font_ComicSansMS files.x to _font_ComicSansMS.x.unused in the ILI9488_t3 lib removes those errors.

Eventually will fix this with suitable fonts not requiring ILI9*** libs and make this issue go away.

@K7MDL2
Copy link
Owner Author

K7MDL2 commented Dec 2, 2023

Another way I fix this is to open the ILI9488_t3.cpp source file and at line #1983 I uncomment the #include glcdfont.c and comment out the inline function below it.

#include "glcdfont.c"
//extern "C" const unsigned char glcdfont[];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant