[riot-commits] [RIOT-OS/RIOT] 6ed872: drivers/rtt: overrite RTT_MAX_VALUE and RTT_FREQUE...

Alexandre Abadie noreply at github.com
Wed Jul 22 20:30:35 CEST 2020


  Branch: refs/heads/2020.07-branch
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 6ed872dd67ab1d708770e2c6c1a9e05a4bda95a0
      https://github.com/RIOT-OS/RIOT/commit/6ed872dd67ab1d708770e2c6c1a9e05a4bda95a0
  Author: Francisco Molina <femolina at uc.cl>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M drivers/include/periph/rtt.h

  Log Message:
  -----------
  drivers/rtt: overrite RTT_MAX_VALUE and RTT_FREQUENCY for mock

mock_rtt relies on setting mock values for RTT_MAX_VALUE and
RTT_FREQUENCY. Platforms with a rtt will already define these
values which leads to mock_rtt working with different values than
rtt_rtc.

This commit changes the ifdef logic so that when using mock_rtt
RTT_MAX_VALUE and RTT_FREQUENCY are redefined.

(cherry picked from commit 9dde6ec53d737f110839b5aa06ae66f8c66d4725)


  Commit: 0ea24e138cf8c7fec8da56afc9b7286e6b9e3e99
      https://github.com/RIOT-OS/RIOT/commit/0ea24e138cf8c7fec8da56afc9b7286e6b9e3e99
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M drivers/include/periph/rtt.h

  Log Message:
  -----------
  Merge pull request #14584 from fjmolinas/backport/2020.07/pr_fix_mock_rtt_defs

drivers/rtt: override RTT_MAX_VALUE and RTT_FREQUENCY for mock [backport 2020.07]


Compare: https://github.com/RIOT-OS/RIOT/compare/be5286926439...0ea24e138cf8


More information about the commits mailing list