You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is going to be the order of troubleshooting for some poor soul that actually has time to do this:
Add some sort of print statement or feedback to the lcd::print statement on the Kernel side.
Turn Kernel into template, apply it to a default project, y'all know the drill w/ that.
Apply current version of liblvgl to that.
4a. See if feedback occurs. If feedback does occur, we need to figure out how to create a templated function that is also considered with attribute weak.
4b. While my initial google search did not yield anything of substance, attempting to RTFM more or moving the "attribute(weak)" before the template part might work? We might also want to consider dynamically figuring out if the print func is initialized and calling some new "dummy" printv weak function that uses a variadic argument parameter instead of the argument list which may allow us to bypass using a template.
Update: The weak symbol works as intended, and the api.h file in the kernel simply does not include the llemu headers, since they were pulled out of the kernel repo.
We need to somehow make it so that they are included in API.h, only when liblvgl is applied to the project. I am currently trying to figure out the best way to go about this.
Update: This is now only a liblvgl 5.3 (legacy) issue. Would be nice to solve ASAP but higher priority tasks such as doxygen and Okapi should be finished first before working on this backwards compatibility version working.
Activity
WillXuCodes commentedon Feb 25, 2023
Def something to do with the weak symbol not being overidden. Probably because it's one of the functions inside screen.hpp
WillXuCodes commentedon Mar 13, 2023
This is going to be the order of troubleshooting for some poor soul that actually has time to do this:
4a. See if feedback occurs. If feedback does occur, we need to figure out how to create a templated function that is also considered with attribute weak.
4b. While my initial google search did not yield anything of substance, attempting to RTFM more or moving the "attribute(weak)" before the template part might work? We might also want to consider dynamically figuring out if the print func is initialized and calling some new "dummy" printv weak function that uses a variadic argument parameter instead of the argument list which may allow us to bypass using a template.
Richard-Stump commentedon Mar 23, 2023
Update: The weak symbol works as intended, and the
api.hfile in the kernel simply does not include the llemu headers, since they were pulled out of the kernel repo.Richard-Stump commentedon Mar 23, 2023
We need to somehow make it so that they are included in API.h, only when liblvgl is applied to the project. I am currently trying to figure out the best way to go about this.
WillXuCodes commentedon Apr 5, 2023
Update: This is now only a liblvgl 5.3 (legacy) issue. Would be nice to solve ASAP but higher priority tasks such as doxygen and Okapi should be finished first before working on this backwards compatibility version working.
[-]PROS 4: lcd::print() is broken[/-][+]LVGL 5.3: lcd::print() is broken[/+]