I'd like to make changes to standard Altera driver (e.g. add debug variables), store the changes as a patch file and have it applied automatically each time I re-generate BSP. How it can be done?
This is a nice question. You do some modifications to each project you create and you need to save these modifications to save time. You can simply Go to the "Refactor" drop menu and select "Create Script". The following document will help you to create your own script. You will be able to share this script with your team.
I'm looking for a way to patch the C sources of pristine copy of BSP with my modifications.
Unfortunately, creating a script from Eclipse does not pickup any changes I made to the sources.
The linked pdf describes how BSP settings can be customized using Tcl Script.
Is there a similar standard way to modify BSP code (preferably, without writing the whole Tcl script from scratch)?