[riot-notifications] [RIOT-OS/RIOT] sys/ztimer: add modules to Kconfig (#15716)

Leandro Lanzieri notifications at github.com
Thu Jan 7 13:35:54 CET 2021

### Contribution description
This PR adds modelling of the `ztimer%` modules (at least all the ones that I've found). Dependencies and defaults in the current Makefile.dep are quite complex, so this needs some careful reviewing. This also includes some fixes in the current xtimer Kconfig dependencies. All xtimer and ztimer tests include now their configuration files and are added to the migration tests.

**Note**: #15715 is introducing a new module so this will probably need some adaption if that gets merged before.

There are some modules which I was not really sure if the user should be able to disable (e.g. `ztimer_core`), so you will find that they have no prompt. Some feedback on this would be appreciated, as I'm not really familiar with the module.

This PR is needed by another one that I have in my queue, continuing the series of PR modelling drivers in Kconfig.

### Testing procedure
- Check that the dependencies are correctly modelled
- Check that the new symbols are only visible and usable when TEST_KCONFIG=1
- Check that the correspondent applications for the modelled drivers were added to the CI's checks
- Green CI

### Issues/PRs references
- #15715
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * sys/frac: add module to Kconfig
  * sys/ztimer: add modules to Kconfig
  * sys/xtimer/kconfig: fix dependencies
  * tests/{x,z}timer: add Kconfig configuration files

-- File Changes --

    M .murdock (4)
    M sys/Kconfig (2)
    A sys/frac/Kconfig (10)
    M sys/xtimer/Kconfig (10)
    A sys/ztimer/Kconfig (142)
    A tests/xtimer_drift/app.config.test (3)
    A tests/xtimer_hang/app.config.test (6)
    A tests/xtimer_longterm/app.config.test (3)
    A tests/xtimer_msg/app.config.test (5)
    A tests/xtimer_msg_receive_timeout/app.config.test (5)
    A tests/xtimer_mutex_lock_timeout/app.config.test (10)
    A tests/xtimer_now32_overflow/app.config.test (6)
    A tests/xtimer_now64_continuity/app.config.test (6)
    A tests/xtimer_now_irq/app.config.test (5)
    A tests/xtimer_overhead/app.config.test (5)
    A tests/xtimer_periodic_wakeup/app.config.test (5)
    A tests/xtimer_remove/app.config.test (5)
    A tests/xtimer_reset/app.config.test (5)
    A tests/xtimer_rmutex_lock_timeout/app.config.test (6)
    A tests/xtimer_usleep/app.config.test (5)
    A tests/xtimer_usleep_short/app.config.test (5)
    A tests/ztimer_msg/app.config.test (7)
    A tests/ztimer_mutex_lock_timeout/app.config.test (7)
    A tests/ztimer_overhead/app.config.test (8)
    A tests/ztimer_periodic/app.config.test (10)
    M tests/ztimer_underflow/Makefile (4)
    A tests/ztimer_underflow/app.config.msec.test (4)
    A tests/ztimer_underflow/app.config.test (7)

-- 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/20210107/10469dee/attachment-0001.htm>

More information about the notifications mailing list