function ov transport connect

NAME [edit section]

ov_transport_connect

SYNOPSIS [edit section]

DESCRIPTION [edit section]

ov_transport_connect is an internal function used to establish a connection to the target. It is called during the "pre_test" phase in order to do any required setup to prepare the connection with the board.

It uses the $TRANPORT variable to select the correct method to use to connect.

In the case of the serial transport, this function makes sure the board is logged in and sitting at a shell prompt.

As with other "ov_" functions, it can be overridden in the board file for a board, to customize any operations required for connecting to a board.

This could be used for a number of things, including:

EXAMPLES [edit section]

There are no current examples of this.

ENVIRONMENT and ARGUMENTS [edit section]

RETURN [edit section]

Returns non-zero on error

SOURCE [edit section]

Located in overlays/base/base-board.fuegoclass

SEE ALSO [edit section]