[riot-notifications] [RIOT-OS/RIOT] drivers/{disp_dev, touch_dev}: add auto init screen as default module when used (#16485)

Alexandre Abadie notifications at github.com
Thu May 20 10:22:49 CEST 2021

The RIOT community cares a lot about code quality.
Therefore, before describing what your contribution is about, we would like
you to make sure that your modifications are compliant with the RIOT
coding conventions, see https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions.

### Contribution description

This PR simplifies a bit the dependency resolution around the disp_dev and touch_dev modules. Now that #16479 and #16480 are merged it's possible to automatically set auto_init_screen as a default module when disp_dev and touch_dev modules are used.

As a result, by default,  it enforces any device providing a disp_dev/touch_dev interface to provide an auto_init function (since auto_init is used by default as well). But one can disable this using `DISABLE_MODULE += auto_init_screen` from an application that manually initialize the specific device driver.

Put here the description of your contribution:
- describe which part(s) of RIOT is (are) involved
- if it's a bug fix, describe the bug that it solves and how it is solved
- you can also give more information to reviewers about how to test your changes

### Testing procedure

- A green Murdock
- `tests/disp_dev`, `tests/touch_dev`, `tests/pkg_qr-code-generator`, `tests/pkg_lvgl` and `tests/pkg_lvgl_touch` are still working

Details steps to test your contribution:
- which test/example to compile for which board and is there a 'test' command
- how to know that it was not working/available in master
- the expected success test output

### Issues/PRs references

Follow-up of #16479 and #16480

Examples: Fixes #1234. See also #5678. Depends on PR #9876.

Please use keywords (e.g., fixes, resolve) with the links to the issues you
resolved, this way they will be automatically closed when your pull request
is merged. See https://help.github.com/articles/closing-issues-using-keywords/.

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * drivers/{disp,touch}_dev: pull auto_init_screen by default
  * tests/{disp,touch}_dev: remove dependency to auto_init_screen
  * pkg/lvgl: remove unnecessary dependency to auto_init_screen
  * tests/pkg_qr-code-generator: remove dependency to auto_init_screen

-- File Changes --

    A drivers/disp_dev/Makefile.dep (1)
    A drivers/touch_dev/Makefile.dep (1)
    M pkg/lvgl/Makefile.dep (2)
    M tests/disp_dev/Makefile (1)
    M tests/pkg_qr-code-generator/Kconfig (1)
    M tests/pkg_qr-code-generator/Makefile.board.dep (1)
    M tests/touch_dev/Makefile (1)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210520/eee115b5/attachment.htm>

More information about the notifications mailing list