Rtos API example

Embed: (wiki syntax)

« Back to documentation index

HostTestPluginResetMethod_MPS2 Class Reference

HostTestPluginResetMethod_MPS2 Class Reference

Inherits host_test_plugins::HostTestPluginBase.

Public Member Functions

def touch_file
def setup
def execute

Detailed Description

Plugin used to reset ARM_MPS2 platform
Supports:
     reboot.txt   - startup from standby state, reboots when in run mode.
     shutdown.txt - shutdown from run mode.
     reset.txt    - reset FPGA during run mode.

Definition at line 24 of file module_reset_mps2.py.


Member Function Documentation

def execute (   self,
  capabilitity,
  args,
  kwargs 
)
Executes capability by name.
    Each capability may directly just call some command line
    program or execute building pythonic function

Definition at line 55 of file module_reset_mps2.py.

def setup (   self,
  args,
  kwargs 
)
Prepare / configure plugin to work.
    This method can receive plugin specific parameters by kwargs and
    ignore other parameters which may affect other plugins.

Definition at line 48 of file module_reset_mps2.py.

def touch_file (   self,
  file 
)
Touch file and set timestamp to items

Definition at line 31 of file module_reset_mps2.py.