From 20f1185dd84bcadf4b238d1d2ca18f5ca79157d4 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Mon, 5 Feb 2001 04:14:59 +0000 Subject: Initial revision --- config/README | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 config/README (limited to 'config/README') diff --git a/config/README b/config/README new file mode 100644 index 0000000..caedebd --- /dev/null +++ b/config/README @@ -0,0 +1,34 @@ +The files in this directory define a basic set of functionality for each +board. They are loaded by calling "load_generic_config", normally done +as part of the baseboard description for a given board. + +This functionality is a partial replacement for the tool-specific +configuration previously found in the testsuite/config directory. Note +that no tool-specific actions are defined here; they still need to be +defined by the tool-specific config files. However, for tools that +simply wish to download and execute programs on a board, the +functionality here should be sufficient. + +The functions that can be defined are: + +${board}_open +${board}_close +${board}_exec +${board}_binary +${board}_reboot +${board}_download +${board}_upload +${board}_transmit +${board}_send +${board}_file +${board}_spawn +${board}_load + +Normally these functions are invoked indirectly by the testcases when +they invoke the remote_xxx version of the function. + +The ${board}_xxx functions will be called in preference to the default +versions (or the ones specified by the "connect" protocol in the board +description). However, the version defined by the "connect" protocol +are still accessible by calling remote_raw_xxx, which will ignore any +board-specific or generic versions of these functions. -- cgit v1.1