Nios® V Processor Software Developer Handbook

ID 743810
Date 10/02/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.3.3.2. Linking User Libraries

You can create and use your own user libraries in the Nios® V processor tools. The Nios® V processor tools enables you to create user libraries in the Nios® V Command Shell, as follows:
  • Create the library using the niosv-app -l=libdir command. This command generates a CMakeLists.txt file.
Configure the application project with the new library by running the niosv-app -a=appdir --link-lib=libdir command to link library to application. The value for the option specifies the path to the library's directory