2025-03-02 1:23 AM
I'm working with TouchGFX in 1-bit mode with custom SPI display and its working ok, but, I'm encountering an issue where any image widget I add always appears black, regardless of how I configure the PNG or try different combinations. I’ve seen someone mention this problem from a few years ago, suggesting a modification to a function, but I don’t quite understand how the project is compiled since none of those functions are used in the code directly. It seems like they might be using a precompiled version of the library.
Here are my questions:
Is this actually a bug? (I’m fairly sure it is). How can I modify the relevant files and ensure they are compiled? For context, none of the files in Middlewares\ST\touchgfx\framework\source\touchgfx\widgets\canvas seem to be compiling, even though the headers from those files are being included. From what I understand, the header files are used to reference functions in the precompiled library. How can I ensure the source files are properly compiled into the project?
This is the link to the same error: https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/1bit-mode-white-color-bug/td-p/273250
Any help would be greatly appreciated!