<s> """<STR_LIT>""" <EOL> from host_test_plugins import HostTestPluginBase <EOL> class HostTestPluginResetMethod_Stlink ( HostTestPluginBase ) : <EOL> name = '<STR_LIT>' <EOL> type = '<STR_LIT>' <EOL> capabilities = [ '<STR_LIT>' ] <EOL> required_parameters = [ ] <EOL> stable = False <EOL> def is_os_supported ( self , os_name = None ) : <EOL> """<STR_LIT>""" <EOL> if not os_name : <EOL> os_name = self . mbed_os_support ( ) <EOL> if os_name and os_name . startswith ( '<STR_LIT>' ) : <EOL> return True <EOL> return False <EOL> def setup ( self , * args , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> self . ST_LINK_CLI = '<STR_LIT>' <EOL> return True <EOL> def execute ( self , capability , * args , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> result = False <EOL> if self . check_parameters ( capability , * args , ** kwargs ) is True : <EOL> if capability == '<STR_LIT>' : <EOL> cmd = [ self . ST_LINK_CLI , <EOL> '<STR_LIT>' , '<STR_LIT>' ] <EOL> result = self . run_command ( cmd ) <EOL> return result <EOL> def load_plugin ( ) : <EOL> """<STR_LIT>""" <EOL> return HostTestPluginResetMethod_Stlink ( ) </s>
