-
Notifications
You must be signed in to change notification settings - Fork 124
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
feat(lvgl_port): Update LVGL port for using button v4 (breaking change!) #500
base: master
Are you sure you want to change the base?
Conversation
Test Results 17 files 17 suites 5m 52s ⏱️ Results for commit d3e75e7. ♻️ This comment has been updated with latest results. |
caf1058
to
39d97c8
Compare
a0f4228
to
232b4a8
Compare
@tore-espressif PTAL |
#Get component button major version | ||
string(REPLACE "." ";" BUTTON_VERSION_LIST ${button_ver}) | ||
list(GET BUTTON_VERSION_LIST 0 button_ver_major) | ||
target_compile_definitions(lvgl_port_lib PUBLIC "-DCOMPONENT_BUTTON_VERSION_MAJOR=${button_ver_major}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version define should come from the button component
So it should be BUTTON_VER_MAJOR
. Could you please try it? It would help us avoid any convoluted CMake logic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tore-espressif What do you think about backward compatibility of BSP? Now, there is no breaking change of API, but it is not compatible with old button component. Should it be compatible with both?
Other BSPs will be updated in next PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And CMake was changed and there was used BUTTON_VER_MAJOR
. It is working. Thank you @tore-espressif :-)
232b4a8
to
3d1f29f
Compare
3d1f29f
to
d3e75e7
Compare
ESP-BSP Pull Request checklist
Change description
Closes #494