-
Notifications
You must be signed in to change notification settings - Fork 304
Cleanup lvgl_helpers #171
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
Cleanup lvgl_helpers #171
Conversation
Use SPI_DMA_CH1 only on ESP32 target.
This enum was introduced in ESP-IDF v4.3 and can't be used in older versions of ESP-IDF.
Project builds successfully in my pc with Also, all of the functions in And rename the helper functions, the names are not very consistent. |
yep, there were some changes in (it is weird though, I remember fixing this problem few months ago) |
I can try to check your commits and look for the fixes. |
well, I have these errors and warnings:
I guess |
Single warning left during compiling due to
It tries to use SPI1_HOST but I've set SPI2_HOST in sdkconfig: |
Thanks for the update, can you please attach the sdkconfig.h file? |
Hi all, I couldn't follow all changes you have been doing recently, but I hope you find this useful: @C47D This commit 5043946 is fixing This commit 8c7bc42 breaks compatibility with IDF v4.1 and 4.2. The @arktrin All your gpio missing declarations ( EDIT: looking to commits history in this PR, this is the trouble maker 24e4bf0 , effectively reverting that fix from august |
@tore-espressif Not sure I understand you correctly. As you can see all of my errors associated with EDIT |
I see, I thought that you are authoring the branch :) |
@tore-espressif Would you be so kind to fix |
Hi @arktrin , sorry for the late reply, I was offline all weekend.
I see the same issue, also tested develop (without this PR) and still have the same issue. I will try to bisect it later today.
Thanks for pointing out the compilation error is present on the master branch, I don't think we added it into the CI. |
You should have only one IDF version in single environment. But you can have multiple environments. I'm on Windows 10 and work with Windows Terminal. I have multiple versions of idf cloned so my folder tree look like this: C:/esp_repos
├───esp-idf-v4.1
├───esp-idf-v4.2
├───esp-idf-v4.3
├───esp-idf-v4.4
├───esp-idf-master The windows terminal JSON file contains (among other things): {
"altGrAliasing": true,
"antialiasingMode": "grayscale",
"closeOnExit": "graceful",
"colorScheme": "Campbell",
"commandline": "powershell.exe -NoExit C:\\esp_repos\\esp-idf-v4.2\\export.ps1",
"cursorShape": "bar",
"font":
{
"face": "Cascadia Mono",
"size": 12
},
"guid": "{d6bd6b46-f392-494d-bf17-e9c670cc8e12}",
"historySize": 9001,
"name": "IDF v4.2",
"padding": "8, 8, 8, 8",
"snapOnInput": true,
"startingDirectory": "C:\\esp_repos\\",
"suppressApplicationTitle": true,
"tabTitle": "IDF v4.2",
"useAcrylic": false
},
... and so on... The shell uses Powershell, but it should be easy to use WSL too :) |
@arktrin I've just pushed a fix to the |
@tore-espressif Thanks for the explanation, I'm working from a borrowed pc, will try to setup multiple environments new week, I will also try to get github actions running locally. |
Single warning left (this is not related to my issue with display):
Can't see any new commits in |
@arktrin thanks for letting me know, I wasn't pushing to a public remote. Now you should be able to see the fix in the |
No warning at all! And finally now I see my app on the screen! Yay! This is definitely may be merged from my perspective. |
I will add a resume so @tore-espressif can review it as well. Thanks a lot for testing it @arktrin , it took a lot longer than I was expecting. Basically we did:
Some open topics (apart of merging develop into master):
|
That's an impressive amount of work, I'll do my best to review next week. |
The open topics are not implemented in this PR, they are meant to be done later. |
As you might have already noticed, I'm not a big fan of huge #ifdefs 🗡️ :D But apart from that, if we want to make the drivers platform agnostic we will have to deal with them, because not all platforms use Kconfig. |
Yes, me neither, but I think cleaning up the existing code so later it can be refactored later is a good first step. I will address a couple of comments with leftover code, and wait for your reply on all the others. Thanks for taking the time to review this :) I will also integrate the latest develop changes 😄 |
Hi @tore-espressif, I did the requested changes. Is it OK if we merge this? |
Version checks removed and the CI is now passing @tore-espressif |
Cleanup of lvgl_helpers and fixes compilation errors.