Forum Discussion
Altera_Forum
Honored Contributor
12 years agoChanging BSP driver headers
I have a nios2 project where I can do test builds on my own workstation. I also commit code to a version control repository so it can be rebuilt by other developers, or by a build server. The only...
Altera_Forum
Honored Contributor
12 years agoOK, managed to find a way.
I added my edited version of drivers/inc/altera_avalon_uart.h to version control, then added --cmd set_ignore_file altera_avalon_uart_driver altera_avalon_uart.h true to my nios2-bsp arguments in create-this-bsp, to stop it overwriting my edited file. This does the job, regardless of whether I build it locally or on Jenkins. Panic over. :D