5.1.2.1. Command-Line Build Flow
Similar with Nios II Software Build Tools, you can create the Nios® V processor software project with Nios V Command Shell and Ashling* RiscFree* IDE for Altera® FPGAs.
| Flow | Nios® V Processor | Nios® II Processor |
|---|---|---|
| Invoke BSP Editor GUI |
|
|
| Invoke Command Shell | niosv-shell |
|
| Create a BSP | niosv-bsp -c –p=<path to .qpf file> -s=<path to .qsys file> -t=<bsp type> [OPTIONS] settings.bsp | nios2-bsp <bsp type> <bsp-dir> [<sopc>] [<override>] |
| Generate a BSP | niosv-bsp –g [OPTIONS] settings.bsp | |
| Update a BSP | niosv-bsp –u [OPTIONS] settings.bsp | |
| Examine a BSP | niosv-bsp –q –E=<script name> [OPTIONS] settings.bsp | nios2-bsp-query-settings --settings settings.bsp |
| Create an APP | niosv-app -b=<bsp directory>-s=<source files directory> [OPTIONS] | nios2-app-generate-makefile --bsp-dir <bsp directory> --src-file <source files directory> [<OPTIONS>] |
| Build an App | cmake -B <build directory> -S <app directory> -G “Unix Makefiles” make –C <build directory> |
make |
| Download an ELF | niosv-download <filename.elf> | nios2-download <filename.elf> |
| Run an ELF | niosv-download –g -r | nios2-download –g -r |
| Open JTAG UART Terminal | juart-terminal | nios2-terminal |
Related Information