Visible to Intel only — GUID: ebi1652020871227
Ixiasoft
Visible to Intel only — GUID: ebi1652020871227
Ixiasoft
3.2.1.2. niosv-app
Usage
niosv-app [OPTIONS]
Description
The niosv-app utility is used to create an application project, and you must run make manually to build the executable (.elf) for your application.
In addition to the application .elf file, running make generates a .hex file for your application by running the elf2hex automatically. The generated hex files are located in the same directory as the ELF file.
Use case | Example |
---|---|
Create application project which links to a specified BSP | niosv-app -a=<application directory> -b=<bsp directory> -s=<source files directory> [OPTIONS] |
Create a user library | niosv-app -l=<library directory> -s=<source files directory> -p=<public includes directory> [OPTIONS] |
Options | Description |
---|---|
-a, --app-dir=<application directory> | The application directory. |
-l, --lib-dir=<library directory> | The library directory. |
-b, --bsp-dir=<bsp directory> | The BSP directory. |
-L, --link-lib=<linked library directory> | Links the application or library to the specified library directory. Can be specified multiple times. |
-e, --elf-name=<.elf output file name> | The name of the .elf output file. If omitted, the default .elf name is <application directory>.elf. |
-s, --srcs=<source files directory> | Comma separated list of sources. Can be files or directories. Directories have direct descendant source files included. Specified sources are not copied. They show up with relative path in the CMakeList.txt. |
-S, --srcs-recursive=<directory> |
|
-i, --incs=<includes directory> | Comma separated list of include directories. |
-I, --incs-recursive=<directory> |
|
-p, --public-incs=<public includes directory> | Comma separated list of public include directories. This is for libraries to expose public includes (for dependents to #include). |