[riot-commits] [RIOT-OS/RIOT] 7eb159: cpu/native: timer: implement timer_set_periodic()

Francisco noreply at github.com
Tue Feb 23 13:27:13 CET 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 7eb159c2a241a69e49a315936cd66ba34863803a
      https://github.com/RIOT-OS/RIOT/commit/7eb159c2a241a69e49a315936cd66ba34863803a
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2021-02-23 (Tue, 23 Feb 2021)

  Changed paths:
    M cpu/native/Kconfig
    M cpu/native/Makefile.features
    M cpu/native/periph/timer.c

  Log Message:
  -----------
  cpu/native: timer: implement timer_set_periodic()

The native timer is not free running, so we can't honor it's flags.
But setitimer() already provides an interval option, we only have to enable it.


  Commit: 65093a47a35df4b3986da8f45fb548863d510acb
      https://github.com/RIOT-OS/RIOT/commit/65093a47a35df4b3986da8f45fb548863d510acb
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2021-02-23 (Tue, 23 Feb 2021)

  Changed paths:
    M cpu/native/periph/timer.c

  Log Message:
  -----------
  cpu/native: timer: fix style issue


  Commit: f85628cdb4d16583c8d2ac09de362895b88d5a13
      https://github.com/RIOT-OS/RIOT/commit/f85628cdb4d16583c8d2ac09de362895b88d5a13
  Author: Francisco <francois-xavier.molina at inria.fr>
  Date:   2021-02-23 (Tue, 23 Feb 2021)

  Changed paths:
    M cpu/native/Kconfig
    M cpu/native/Makefile.features
    M cpu/native/periph/timer.c

  Log Message:
  -----------
  Merge pull request #16071 from benpicco/cpu/native/timer-periodic

cpu/native: timer: implement timer_set_periodic()


Compare: https://github.com/RIOT-OS/RIOT/compare/b866d2206243...f85628cdb4d1


More information about the commits mailing list