Forum Discussion
Altera_Forum
Honored Contributor
13 years agoAdding 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?
2 Replies
- Altera_Forum
Honored Contributor
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.
- Altera_Forum
Honored Contributor
I also have that problem..