[riot-notifications] [RIOT-OS/RIOT] ztimer: pull in xtimer_on_ztimer only if ztimer_periph_timer is used (#14036)

Juergen Fitschen notifications at github.com
Wed May 6 20:23:43 CEST 2020


### Contribution description

`xtimer_on_ztimer` is only required if `ztimer` backs any clock on `ztimer_periph_timer`. This PR changes the dependency resolution for ztimer accordingly.

### Testing procedure

Run any `tests/xtimer_*` with:

 * `USEMODULE="ztimer_msec"`
 * `USEMODULE="ztimer_usec"`

The latter should use `xtimer_on_ztimer`. The first one shouldn't touch `xtimer` at all.

### Issues/PRs references


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

  https://github.com/RIOT-OS/RIOT/pull/14036

-- Commit Summary --

  * ztimer: pull in xtimer_on_ztimer only if ztimer_usec is used

-- File Changes --

    M sys/ztimer/Makefile.dep (6)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/14036.patch
https://github.com/RIOT-OS/RIOT/pull/14036.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14036
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200506/a9970d2b/attachment.htm>


More information about the notifications mailing list