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