[riot-commits] [RIOT-OS/RIOT] dcebc7: drivers/rtt_rtc: implement rtc_get_time_ms()

benpicco noreply at github.com
Wed May 5 19:13:44 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: dcebc7d480c26db68d58a3c34ae1c910e9ef2c0b
      https://github.com/RIOT-OS/RIOT/commit/dcebc7d480c26db68d58a3c34ae1c910e9ef2c0b
  Author: Benjamin Valentin <benpicco at beuth-hochschule.de>
  Date:   2021-05-03 (Mon, 03 May 2021)

  Changed paths:
    M drivers/include/periph/rtc.h
    A drivers/rtt_rtc/Makefile.features
    M drivers/rtt_rtc/rtt_rtc.c

  Log Message:
  -----------
  drivers/rtt_rtc: implement rtc_get_time_ms()

RTC on RTT usually runs at a frequency greater than 1 Hz, so sub-second
precision is available.
Add a function to get the current RTC timestamp together with it's sub-second
component.


  Commit: 84bb42ce1f265c6c9b65b714aea07f0c72e81790
      https://github.com/RIOT-OS/RIOT/commit/84bb42ce1f265c6c9b65b714aea07f0c72e81790
  Author: Benjamin Valentin <benpicco at beuth-hochschule.de>
  Date:   2021-05-03 (Mon, 03 May 2021)

  Changed paths:
    M tests/periph_rtc/Makefile
    M tests/periph_rtc/main.c

  Log Message:
  -----------
  tests/periph_rtc: add rtc_get_time_ms() to test


  Commit: 0991c2884902af87ea0b9c7f238fae3270345108
      https://github.com/RIOT-OS/RIOT/commit/0991c2884902af87ea0b9c7f238fae3270345108
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2021-05-03 (Mon, 03 May 2021)

  Changed paths:
    M cpu/lpc23xx/Kconfig
    M cpu/lpc23xx/Makefile.features
    M cpu/lpc23xx/periph/rtc.c

  Log Message:
  -----------
  cpu/lpc23xx: implement rtc_get_time_ms()


  Commit: 40d952bcebf175fab31f6287f9e37f21c91f46ac
      https://github.com/RIOT-OS/RIOT/commit/40d952bcebf175fab31f6287f9e37f21c91f46ac
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2021-05-03 (Mon, 03 May 2021)

  Changed paths:
    M kconfigs/Kconfig.features

  Log Message:
  -----------
  kconfig: define HAS_PERIPH_RTC_MS feature


  Commit: 7c1b5630d2a77904a450c21a943de2a3a1135cd1
      https://github.com/RIOT-OS/RIOT/commit/7c1b5630d2a77904a450c21a943de2a3a1135cd1
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    M cpu/atmega_common/Kconfig
    M cpu/atmega_common/Makefile.features
    M cpu/atmega_common/periph/rtc.c

  Log Message:
  -----------
  cpu/atmega_common: RTC: implement rtc_get_time_ms()


  Commit: 619a444741fa34427262aa556e47c5fa66bfc7af
      https://github.com/RIOT-OS/RIOT/commit/619a444741fa34427262aa556e47c5fa66bfc7af
  Author: benpicco <benjamin.valentin at ml-pa.com>
  Date:   2021-05-05 (Wed, 05 May 2021)

  Changed paths:
    M cpu/atmega_common/Kconfig
    M cpu/atmega_common/Makefile.features
    M cpu/atmega_common/periph/rtc.c
    M cpu/lpc23xx/Kconfig
    M cpu/lpc23xx/Makefile.features
    M cpu/lpc23xx/periph/rtc.c
    M drivers/include/periph/rtc.h
    A drivers/rtt_rtc/Makefile.features
    M drivers/rtt_rtc/rtt_rtc.c
    M kconfigs/Kconfig.features
    M tests/periph_rtc/Makefile
    M tests/periph_rtc/main.c

  Log Message:
  -----------
  Merge pull request #16347 from benpicco/drivers/rtt_rtc-rtc_get_time_ms

drivers/rtt_rtc: implement rtc_get_time_ms()


Compare: https://github.com/RIOT-OS/RIOT/compare/6e4434a76049...619a444741fa


More information about the commits mailing list