Forum Discussion
Altera_Forum
Honored Contributor
11 years agoModify/Add a new Function to existing BSP/HAL Driver
Can someone Help with the steps involved in modifying an existing bsp/HAL driver for Nios. I need to add few Features in the exiting driver. I cannot even add print statements as the "generate BS...
Altera_Forum
Honored Contributor
11 years agoYou shouldn't be changing the auto generated HAL drivers. If you want to add your own custom files start a new .h and .c files in your project folder and# include the generated HAL files (or not if you don't want to use the auto generated drivers).
If you don't include a driver in your main program then it won't be used. You can make your own drivers (by including system.h) as described above.