Altera_Forum
Honored Contributor
14 years agoHow to integrate my own hardware drivers to Nios II project?
I designed my own component interfaced to avalon-MM. The location is: ...\proj\ip\... I also integrated it using sopc builder New Component function and directed the ip search path to ...\proj\ip\... directory. I wrote the driver functions component_regs.h, component.h, component.c, and put them into ...\proj\ip\Inc, ...\proj\ip\HAL\Inc, ...\proj\ip\HAL\Src. Then I wrote my test project using Nios II BSP. When built, an error appearred:
"Can't find the component.h". I want to know where or how to direct the software to find the driver files for any project ?