Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

15.1.6. nios2-bsp-generate-files

Usage

nios2-bsp-generate-files --bsp-dir <directory> 
 [--debug] [--extended-help] [--help] 
 [--librarian-factory-path <directory>] 
 [--librarian-path <directory>] [--log <filename>] 
 --settings <filename> [--silent] [--verbose] 
 [--version]

Options

  • --bsp-dir <directory>: Path to the directory where the BSP files are generated. Use . for the current directory. The directory <directory> must exist. This command overwrites preexisting files in <directory> without warning.
  • --debug: Sends debug, exception trace, verbose, and default information about the command's operation to stdout.
  • --extended-help: Displays full information about this command and its options.
  • --help: Displays basic information about this command and its options.
  • --librarian-factory-path <directory>: Comma-separated librarian search path. Use $ for default factory search path.
  • --librarian-path <directory>: Comma-separated librarian search path. Use $ for default search path.
  • --log <filename>: Creates a debug log and writes to specified file. Also logs debug information to stdout.
  • --settings <filename>: File name of an existing BSP Settings File (.bsp) to generate files from.
  • --silent: Suppresses information about the command's operation normally sent to stdout.
  • --verbose: Sends verbose and default information about the command's operation to stdout.
  • --version: Displays the version of this command and exits with a zero exit status.

Description

The nios2-bsp-generate-files command populates the files in a BSP directory. The path to an existing .bsp file and the path to the BSP directory are mandatory command-line options. Files are written to the specified BSP directory. Generated files are created unconditionally. Copied files are copied from the Nios II EDS installation folder only if they are not present in the BSP directory, or if the existing files differ from the installation files.

If no command-line arguments are specified, this command returns an exit value of 1 and sends a help message to stderr.

Note:

For more information about this command, use the --extended-help option to display comprehensive usage information.