Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
1,003 Views

Adding a C library to the NIOS 2 project

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
Highlighted
Valued Contributor III
20 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
Highlighted
Valued Contributor III
20 Views

I also have that problem..

0 Kudos