v2.2.0: libnxembeddedtools.remoteapi.runner package

Submodules

libnxembeddedtools.remoteapi.runner.abstract module

This module is used to abstract the interface runner (openocd or T32).

class libnxembeddedtools.remoteapi.runner.abstract.Runner

Bases: ABC

Class representing a Runner.

abstract start()

Start the runner.

Returns:

True if run started successfully, False otherwise

Return type:

Boolean

abstract stop()

Stop the runner.

libnxembeddedtools.remoteapi.runner.factory module

libnxembeddedtools.remoteapi.runner.factory.get(log_file=None)

libnxembeddedtools.remoteapi.runner.lauterbach module

class libnxembeddedtools.remoteapi.runner.lauterbach.Runner(log_file=None)

Bases: Runner

start()

Start the runner.

Returns:

True if run started successfully, False otherwise

Return type:

Boolean

stop()

Stop the runner.

libnxembeddedtools.remoteapi.runner.openocd module

This module contains everything to start openocd

class libnxembeddedtools.remoteapi.runner.openocd.Runner(log_file=None)

Bases: Runner

get_probe_params()

Returns the params related to the connected probe

setup_logging(log_file=None)

Setup the logging system

start()

Start the runner.

Returns:

True if run started successfully, False otherwise

Return type:

Boolean

start_logging_threads()

Starts the logging system

stop()

Stop the runner.

stop_logging_threads()

Stops the logging system

Module contents

© NanoXplore 2022