Forum Discussion
Altera_Forum
Honored Contributor
10 years agohow can i include fun.c in nios
hi everyone i put some functions in fun.c, try to make the main.c easy to read. how can i include fun.c in main.c? where should i put the fun.c? i tried to put it in the bsp floder, but the e...
Altera_Forum
Honored Contributor
10 years agoYou can include that into your app folder instead. You can run the command to update the makefile "nios2-app-update-makefile --add-src-files <filenames>"