mirror of
https://git.rtems.org/rtems-tools/
synced 2025-10-17 19:20:32 +08:00
Add watchdog seconds command
- prints the watchdog chain managed at second boundaries.
This commit is contained in:

committed by
Chris Johns

parent
1fcff75505
commit
61154bf302
@@ -19,3 +19,4 @@ rtems.rtems_task()
|
||||
rtems.rtems_message_queue()
|
||||
rtems.rtems_tod()
|
||||
rtems.rtems_wdt()
|
||||
rtems.rtems_wsec()
|
@@ -15,6 +15,7 @@ class infotables:
|
||||
tables_types = {
|
||||
'internal/time' : ('TOD_Control', '_TOD'),
|
||||
'internal/wdticks' : ('Chain_Control', '_Watchdog_Ticks_chain'),
|
||||
'internal/wdseconds' : ('Chain_Control', '_Watchdog_Seconds_chain'),
|
||||
|
||||
'classic/tasks' : ('Thread_Control', '_RTEMS_tasks_Information'),
|
||||
'classic/timers' : ('Timer_Control', '_Timer_Information'),
|
||||
|
@@ -245,3 +245,11 @@ class rtems_wdt(rtems_watchdog_chain):
|
||||
self.__doc__ = 'Display watchdog ticks chain'
|
||||
super(rtems_wdt, self).__init__('rtems wdticks')
|
||||
|
||||
class rtems_wsec(rtems_watchdog_chain):
|
||||
|
||||
_class = 'wdseconds'
|
||||
|
||||
def __init__(self):
|
||||
self.__doc__ = 'Display watchdog seconds chain'
|
||||
super(rtems_wsec, self).__init__('rtems wdseconds')
|
||||
|
||||
|
Reference in New Issue
Block a user