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

Francisco noreply at github.com
Wed Jul 22 16:33:47 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 9dde6ec53d737f110839b5aa06ae66f8c66d4725
      https://github.com/RIOT-OS/RIOT/commit/9dde6ec53d737f110839b5aa06ae66f8c66d4725
  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.


  Commit: d187e8322100903a8e463c9a7a10d30019f914f3
      https://github.com/RIOT-OS/RIOT/commit/d187e8322100903a8e463c9a7a10d30019f914f3
  Author: Francisco <femolina at uc.cl>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

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

  Log Message:
  -----------
  Merge pull request #14570 from fjmolinas/pr_fix_mock_rtt_defs

drivers/rtt: override RTT_MAX_VALUE and RTT_FREQUENCY for mock


Compare: https://github.com/RIOT-OS/RIOT/compare/eb576d652a27...d187e8322100


More information about the commits mailing list