[riot-notifications] [RIOT-OS/RIOT] sys/ztimer/Makefilde.dep: periph_rtt as FEATURES_OPTIONAL (#14013)

Francisco notifications at github.com
Mon May 4 15:14:53 CEST 2020


### Contribution description

If `ztimer_msec` is used include `periph_rtt` as an optional features,
and if used include `ztimer_periph_rtt`.

This is based on the expectation that you want `ZTIMER_MSEC` to run in sleep mode.

### Testing procedure

- boards not providing rtt don't include `ztimer_periph_rtt`

```
BOARD=nucleo-l152re USEMODULE=ztimer_msec make -C examples/hello-world/ --no-print-directory info-modules | grep rtt
```

- boards providing it do

```
BOARD=nucleo-l073rz USEMODULE=ztimer_msec make -C examples/hello-world/ --no-print-directory info-modules | grep rtt
periph_init_rtt
periph_rtt
ztimer_periph_rtt
```

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

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

-- Commit Summary --

  * sys/ztimer/Makefilde.dep: periph_rtt as FEATURES_OPTIONAL

-- File Changes --

    M sys/ztimer/Makefile.dep (4)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/14013.patch
https://github.com/RIOT-OS/RIOT/pull/14013.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/14013
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200504/c5a07819/attachment.htm>


More information about the notifications mailing list