Nios II builds the library file and is called in the new project

Source: Internet
Author: User

Select Nios II Library

Choose location, so the library file is independent, and if you choose Make library depend on a BSP will rely on the BSP, if the BSP is deleted, the new project will be compiled error.

Add C source files and H header files

Then build project

Then create a new project:

File->nios II application and BSP from Template

Then add the search path to the library file in the project:

Right-click the project file->properties-> expand nios II Application properties-> Select Nios Application Paths

Add the Library project top-level file in library projects, add the directory containing the library header files to the application include directories, and in the Application library directories Add a directory containing the. A file in the library name, as shown in

Then select OK,

Finally compile the project file, build project.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.