Nios® V Processor Software Developer Handbook

ID 743810
Date 7/08/2024
Public
Document Table of Contents

4.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