-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
demo: lvgl: Add lvgl sample to draw touch events on the screen #67508
base: main
Are you sure you want to change the base?
demo: lvgl: Add lvgl sample to draw touch events on the screen #67508
Conversation
b2b1c7d
to
55b20e6
Compare
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.
Mostly small things, thanks for separating this out 👍
55b20e6
to
943d098
Compare
943d098
to
7665fd7
Compare
@faxe1008 Could you please have a look at my latest modifications? |
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.
Morning @MrMarteng ,
I went over all conversations and marked the ones addressed by your latest push as resolved. Can you look into the remaining ones? Thank you :)
@faxe1008 Did you submit additional comments? I already commented on all your feedback and don't see open requests for modifications. |
Yeah, there are still some of them unresolved. In case this is an issue with Github somehow here is the list of them: Nit: Include sorting order |
@faxe1008 Sorry, my bad. I was the one who missed to submit the comments ;-) |
@faxe1008 kind reminder to review my comments |
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 one still remaining thing of my comments that was not resolved is the overlay for the native_sim
. If you feel like this is not needed - fine by me.
@MrMarteng can you rebase on latest |
7665fd7
to
702f24c
Compare
702f24c
to
ff91056
Compare
@pdgendt branch is up-to-date now. |
@@ -46,15 +54,6 @@ static void lvgl_pointer_process_event(const struct device *dev, struct input_ev | |||
return; | |||
} | |||
|
|||
/* adjust coordinates */ | |||
if (cfg->swap_xy) { |
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.
This change was included within #70541
|
||
#ifdef CONFIG_GPIO | ||
if (gpio_is_ready_dt(&button_gpio)) { | ||
int err; |
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.
Maybe move upwards below struct button_callback_context btn_cb_ctx;
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.
Good proposal. Fixed in 4393b90
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
ff91056
to
ff45b1e
Compare
This is a small lvgl touch demo application featuring functionality to "draw" on the the screen. This can be useful to test touch input functionality during board setup. Signed-off-by: Martin Kiepfer <mrmarteng@teleschirm.org>
ff45b1e
to
4393b90
Compare
Zephyr currently has a feature freeze for 3.7, this will have to wait for the LTS release. |
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
@kartben , can you take a look at this PR |
@@ -0,0 +1,3 @@ | |||
# SPDX-License-Identifier: Apache-2.0 |
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.
make it an soc overlay (a la https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/net/wifi/socs)
@@ -0,0 +1,3 @@ | |||
# SPDX-License-Identifier: Apache-2.0 |
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.
Ditto with esp32s2 overlay
lv_task_handler(); | ||
k_sleep(K_MSEC(10)); |
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.
lv_task_handler(); | |
k_sleep(K_MSEC(10)); | |
k_sleep(lv_task_handler()); |
@MrMarteng , could you help look at the comments from @kartben |
This is a small lvgl touch demo application featuring functionality to "draw" on the the screen.
This can be useful to test touch input functionality during board setup.