[riot-notifications] [RIOT-OS/RIOT] ble/skald: switch from xtimer to ZTIMER_MSEC (#15805)

Hauke Petersen notifications at github.com
Tue Jan 19 21:16:41 CET 2021

### Contribution description
So far `skald` is using `xtimer` as timer backend, pulling in the `periph_timer` and with this preventing the lower sleep modes on the nordic platforms. So this PR switches the timer backend for `skald` to `ZTIMER_MSEC`. It also includes the `ztimer_periph_rtt` module, this is save as all nrf boards do provide this feature...

Having this change merged allows together with the nrf HF clock source optimization (see #15804) for substantial power savings when running `skald`!

### Testing procedure
Simply flash `examples/skald_ibeacon` or `examples/skald_eddystone` to any nordic board of your choosing and verify with a BLE scanner (e.g. your smartphone and the Nordic connect App) that the node is sending its BLE advertising packets as it did before.

### Issues/PRs references
part of energy optimization of Nordic nodes, together with #15804

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


-- Commit Summary --

  * ble/skald: switch from xtimer to ZTIMER_MSEC

-- File Changes --

    M sys/Makefile.dep (3)
    M sys/include/net/skald.h (10)
    M sys/net/ble/skald/Kconfig (8)
    M sys/net/ble/skald/skald.c (14)

-- 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/20210119/c47ad9ac/attachment-0001.htm>

More information about the notifications mailing list