-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[buildroot] Need help to create LVGL package #3657
Comments
We need some feedback on this issue. Now we mark this as "stale" because there was no activity here for 14 days. Remove the "stale" label or comment else this will be closed in 7 days. |
I'm commenting this issue to keep it open, I didn't have time to continue the support but I will, ASAP... |
We need some feedback on this issue. Now we mark this as "stale" because there was no activity here for 14 days. Remove the "stale" label or comment else this will be closed in 7 days. |
Hello to all, So I tried with CMake build system but I'm still struggling, especially with src/core/../lv_conf_internal.h:46:17: note: « #pragma message: Possible failure to include lv_conf.h, please read the comment in this file if you get errors »
46 | #pragma message("Possible failure to include lv_conf.h, please read the comment in this file if you get errors")
| ^~~~~~~
I don't understand why specified file can't be found, my CMake output is correct: /home/<user>/Documents/buildroot/bsp-output/host/bin/cmake /home/<user>/Documents/buildroot/bsp-output/build/lvgl-8.3.1/ -DCMAKE_TOOLCHAIN_FILE="/home/<user>/Documents/buildroot/bsp-output/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DLV_CONF_PATH="/home/<user>/Documents/buildroot/bsp-external/lvgl/lvgl_conf.h" Does anyone have any idea on this behaviour ? Did I missed a CMake option ? I don't see any in custom.cmake file. Bonus question : Can I disable example build ? CMake file doesn't seem to have such option. |
It's not |
Oh ! Thank you for your response, I though than since we can add our custom path for lvgl configuration, filename were not important... This fix the behaviour ! EDIT: I saw than pull request have been merged, thank you for your review ! (I keep the issue open for now just in case, once buildroot patch will be submit, I'm gonna close it) |
Happy to hear that it solved the issue!
Is there anything we can do on LVGL's side? |
Currently, I think I have all I need with submitted pull request (#3733 and #3738), I had some trouble to understand at first how LVGL configuration was included, but now this is good to go 😄 For this repository, I'am able to built it with buildroot, now I have to include LVGL drivers but I saw than configuration file is required too without option to use an external one, I think I'm gonna submit a pull request with same behaviour than this repository to use external config (but this is not sure, maybe I'm gonna generate it automatically on buildroot side at compilation by using buildroot configuration infos, I need to do some tests before). |
Great, both are merged now.
Please wait a little bit with it. I'm almost ready with a new driver architecture. With this all the drivers will be hosted in LVGL. |
Perfect, thank you !
Oh, that's great news ! I didn't know than driver restructuration was in pending, I'm gonna take a look at it. |
Among many other restructuring it's planned for v9.0. |
Noted, thank you for those informations and all your support ! |
We need some feedback on this issue. Now we mark this as "stale" because there was no activity here for 14 days. Remove the "stale" label or comment else this will be closed in 7 days. |
As there was no activity here for a while we close this issue. But don't worry, the conversation is still here and you can get back to it at any time. So feel free to comment if you have remarks or ideas on this topic. |
where is patch |
Introduce the problem
Hello everyone,
I'm currently trying to port LVGL to buildroot but I'm stuck, I'm not very experienced with buildroot packing, furthermore, very few are using kconfig build system. And, for packages which currently used KConfig build system... they are the big one : busybox, linux, zephyr, uclibc, etc... So I don't have any simple example to help me.
This issues is related to lv_port_linux_frame_buffer - Issue 17 - Packing for buildroot.
Examples and cases
Current examples are :
Suggested solution
So far, I have proper
Config.in
,lvgl.config
(which is default config file generated withkconfig-qconf
utility) andlvgl.hash
.Main troubles are in
lvgl.mk
.I'm joining my current patch to this issue (at
txt
format because github doesn't supportpatch
.When trying to run
lvgl-rebuild
or evenlvgl-menuconfig
in my buildroot directory, I got those errors :If anyone have more experience with buildroot packages and can help me to add support for LVGL, that will be appreciated !
Thank you for your time
0001-package-lvgl-new-package.patch.txt
The text was updated successfully, but these errors were encountered: