Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12622 Discussions

Adding a C library to the NIOS 2 project

Altera_Forum
Honored Contributor II
1,919 Views

Does anyone know how to import a C library to the NIOS 2 project in Eclipse? I have a few source and header files in C which I want to add to my project and their functions. How do I do that? Can I simply copy the files in the workspace?

0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
936 Views

if you have Nios II Library then it's maybe has specific configuration and it's better to import it in the eclipse and add the library path in the project, otherwise you can copy source (*.c) and headers (*.h) to your project source folder (not bsp folder) and rebuild the project.

0 Kudos
Altera_Forum
Honored Contributor II
936 Views

I also have that problem..

0 Kudos
Reply