-
Notifications
You must be signed in to change notification settings - Fork 49
No lv_utils #4
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
Comments
yeah lv_utils is gone. You can upload it to the MCU if you want. you will have to look back in my repo to download it. I changed the name of it and rewrote it for better functionality and also to be more pythonic. It is now called task_handler.TaskHandler which is frozen into the firmware. The touch driver framework is no longer called "touch_framework" it is now called "pointer_framework". I don't think that @bdbarnett is using that framework. I know the display framework is not being used at all because it is specific to LVGL like the touch framework is. What he is doing with that design is making it so that it can be used with other GUI frameworks so it's not LVGL specific. |
You do realize that I have all kinds of drivers already packaged with this repo, it also has drivers for 2 different touch IC's. Those drivers don't get baked into the firmware, you need to upload them to the MCU as py files. |
I have been following the thread that highlights the collaboration you both have been working on so I kind of assumed if there was a requirement in his library using this that is would have been called out. 🤷 I did see that lv_utils was explicitly included in the default builder/init manifest so was assuming there was a manifest oversight for the Esp32. If this is not the case, then feel free to close this out. |
Hey guys, Sorry for not keeping up. I've been focusing my attention on other aspects of MPDisplay and haven't kept up with Kevin's changes. I just posted a fix to lv_config.py that should take care of it. Please let me know how it works for you.
By the way, it shows I posted it 4 hours ago, but I just posted it a few minutes ago. I use WSL and keep my repos in the Ubuntu VM. I use VS Code, which runs with a Windows frontend and Linux backend. When my computer goes to sleep, Windows time keeps ticking, but Linux time stands still. So, if I don't catch it and force a time update with |
@bdbarnett, thanks for the quick fix. While it does resolve the issue, it just moves the exception along a little. It is not quite compatible with task_handler:
@kdschlosser I took your advice to use the ft6x36 and st7796 drivers from this package. While indeed they both loaded without error, using the
I believe const() is meant to be a macro that replaced at compilation so I tried to manually precompile but saw the same problem:
Obviously I am misunderstanding some core concept here. |
I know what that error is and it's not an issue to fix it When I make changes I will usually make a bucket load of them at once and then I will test to see if it works. I haven't gotten to the point of testing yet because of the large number of changes I am making. I am making these changes to streamline things and also to lessen the code footprint. That is the reason why I removed the heap_caps module and moved it into the lcd_bus module. There is going to be some issues and I apologize for that. Once the API settles down and I get things into place there will be less problems. The driver use example has not been updated and it is just an example...... I just updated the example so it should work now. |
Thanks for your effort. I have been watching with repo for the past couple of weeks and recognise the amount of effort you are putting into this. It's super helpful. With respect the the updated example, It fails with:
If I change your example to use I looked at I found that there is also a C implementation of this library Thanks again. |
don't get your hopes up too much on this repo being around for very long. See #1 as to why. |
python make.py esp32 submodules mpy_cross BOARD=ESP32_GENERIC_S3
) (see PRs for manifest fix)a) Tested with
mpdisplay_simpletest.py
and works perfectlyb) Testing with
lv_touch_test.py
and I get anImportError: no module named 'lv_utils'
I see tha
lv_touch_test.py
importslv_config
which importslv_utils
, with the former being present and the latter not.Ideas on what could be causing this?
The text was updated successfully, but these errors were encountered: