SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

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 remoteraw_xxx, which will ignore any board-specific or generic versions of these functions.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.