Blame config/README

Packit 62fe53
The files in this directory define a basic set of functionality for each
Packit 62fe53
board. They are loaded by calling "load_generic_config", normally done
Packit 62fe53
as part of the baseboard description for a given board.
Packit 62fe53
Packit 62fe53
This functionality is a partial replacement for the tool-specific
Packit 62fe53
configuration previously found in the testsuite/config directory. Note
Packit 62fe53
that no tool-specific actions are defined here; they still need to be
Packit 62fe53
defined by the tool-specific config files. However, for tools that
Packit 62fe53
simply wish to download and execute programs on a board, the
Packit 62fe53
functionality here should be sufficient.
Packit 62fe53
Packit 62fe53
The functions that can be defined are:
Packit 62fe53
Packit 62fe53
${board}_open
Packit 62fe53
${board}_close
Packit 62fe53
${board}_exec
Packit 62fe53
${board}_binary
Packit 62fe53
${board}_reboot
Packit 62fe53
${board}_download
Packit 62fe53
${board}_upload
Packit 62fe53
${board}_transmit
Packit 62fe53
${board}_send
Packit 62fe53
${board}_file
Packit 62fe53
${board}_spawn
Packit 62fe53
${board}_load
Packit 62fe53
Packit 62fe53
Normally these functions are invoked indirectly by the testcases when
Packit 62fe53
they invoke the remote_xxx version of the function.
Packit 62fe53
Packit 62fe53
The ${board}_xxx functions will be called in preference to the default
Packit 62fe53
versions (or the ones specified by the "connect" protocol in the board
Packit 62fe53
description). However, the version defined by the "connect" protocol
Packit 62fe53
are still accessible by calling remote_raw_xxx, which will ignore any
Packit 62fe53
board-specific or generic versions of these functions.