Skip to content

feat(drivers): initial implementation of a QNX screen driver - #6507

Merged
kisvegabor merged 23 commits into
lvgl:masterfrom
elahav:qnx_screen_driver
Jul 25, 2024
Merged

kisvegabor merged 23 commits into
lvgl:masterfrom
elahav:qnx_screen_driver

Conversation

@elahav

@elahav elahav commented Jul 13, 2024 •

Copy link
Copy Markdown
Contributor

Description of the feature or fix

Simple driver for using a QNX Screen window as a display.

Looking for some feedback before proceeding. In particular, the event loop is running essentially in polling mode. Is there a way to avoid the 10ms wakeup if there are no events to process?

Update I made a change to the event loop such that periodic wake up is enabled only if animations are running. Seems to address the concern about running when there is nothing to do.

Notes

(Will follow after getting a go/no-go response from the maintainers)

@elahav elahav changed the title RFC: Initial implementation of a QNX Screen driver Draft: Initial implementation of a QNX Screen driver Jul 14, 2024
Comment thread src/drivers/qnx/lv_qnx.c Resolved

@kisvegabor kisvegabor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you very much!

Please also add a basic docs page here. It can just only a few sections like:

  • Overview: What is QNX?
  • Get started with QNX: Links or a short description about what to install, clone, type into the terminal, etc to get a hello world example up an running.
  • How to integrate LVGL and use this driver?

Comment thread src/drivers/qnx/lv_qnx.c Resolved
Comment thread src/drivers/qnx/lv_qnx.h Resolved
@elahav elahav changed the title Draft: Initial implementation of a QNX Screen driver Initial implementation of a QNX Screen driver Jul 16, 2024
@elahav
elahav requested review from XuNeo and kisvegabor July 16, 2024 21:27
@elahav

elahav commented Jul 16, 2024

Copy link
Copy Markdown
Contributor Author

Taking out of draft, as I believe we have a reasonably feature-complete implementation now.

@FASTSHIFT FASTSHIFT changed the title Initial implementation of a QNX Screen driver feat(drivers): initial implementation of a QNX screen driver Jul 19, 2024
@elahav
elahav force-pushed the qnx_screen_driver branch from 45db829 to 61f668f Compare July 19, 2024 10:47
@elahav
elahav force-pushed the qnx_screen_driver branch from 4350733 to 244f8e0 Compare July 20, 2024 19:44
@elahav

elahav commented Jul 22, 2024

Copy link
Copy Markdown
Contributor Author

I don't know why the MicroPython builds are failing. Seems to be a problem in the job setup, rather than any code changes I made.

@XuNeo

XuNeo commented Jul 22, 2024

Copy link
Copy Markdown
Collaborator

The fix was just merged, please do a rebase again.

@elahav
elahav force-pushed the qnx_screen_driver branch from d4a6c8e to 517e6b3 Compare July 22, 2024 13:54
@elahav

elahav commented Jul 23, 2024

Copy link
Copy Markdown
Contributor Author

@XuNeo @kisvegabor Any objection to merging this change?

Comment thread src/drivers/qnx/lv_qnx.c Resolved
Comment thread src/drivers/qnx/lv_qnx.c Resolved
Comment thread src/drivers/qnx/lv_qnx.c Resolved
Comment thread src/drivers/qnx/lv_qnx.c Resolved
@elahav
elahav requested a review from FASTSHIFT July 24, 2024 12:52
Comment thread src/drivers/qnx/lv_qnx.c Resolved
Comment thread src/drivers/qnx/lv_qnx.c Resolved
Comment thread src/drivers/qnx/lv_qnx.c Resolved
Comment thread src/drivers/qnx/lv_qnx.c Resolved

@kisvegabor kisvegabor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just question from my side

Comment thread qnx/Makefile Resolved
@elahav

elahav commented Jul 25, 2024

Copy link
Copy Markdown
Contributor Author

Should I squash everything to a single commit?

@kisvegabor

Copy link
Copy Markdown
Member

Thanks! No need to squash, we will do it when merging.

@elahav
elahav requested a review from FASTSHIFT July 25, 2024 11:52
@kisvegabor
kisvegabor merged commit 91cd8ec into lvgl:master Jul 25, 2024
@kisvegabor

Copy link
Copy Markdown
Member

I've just shared this great news on LinkedIn and also open a PR with a small fix: #6572

rodb70 pushed a commit to rodb70/lvgl that referenced this pull request Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants