From b8648bdc0c4932b954b73e3e95301a024229ff22 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 13 Feb 2020 17:16:15 +0100 Subject: config: Add _Watchdog_Microseconds_per_tick Move the microseconds per tick configuration constant out of the configuration table. Add WATCHDOG_MICROSECONDS_PER_TICK_DEFAULT and use it to provide a default definition of the watchdog ticks constants. Update #3875. --- cpukit/include/rtems/score/watchdogticks.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpukit/include/rtems/score/watchdogticks.h') diff --git a/cpukit/include/rtems/score/watchdogticks.h b/cpukit/include/rtems/score/watchdogticks.h index e7cf3f3ea3..226de39c24 100644 --- a/cpukit/include/rtems/score/watchdogticks.h +++ b/cpukit/include/rtems/score/watchdogticks.h @@ -49,6 +49,14 @@ typedef uint32_t Watchdog_Interval; */ extern volatile Watchdog_Interval _Watchdog_Ticks_since_boot; +/** + * @brief The watchdog microseconds per tick. + * + * This constant is defined by the application configuration via + * . + */ +extern const uint32_t _Watchdog_Microseconds_per_tick; + /** * @brief The watchdog nanoseconds per tick. * -- cgit v1.2.3