Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12435 Discussions

How to patch NIOS II BSP driver

jackhab
New Contributor I
493 Views

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?

0 Kudos
3 Replies
Ahmed_H_Intel1
Employee
362 Views

Hi,

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.

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/nios2/n2sw_nii52015.pdf

 

Regards,

 

jackhab
New Contributor I
362 Views

Hi Ahmed

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)?

Ahmed_H_Intel1
Employee
362 Views

The only way available is to create a script. Can you please let me know what errors you are facing with creating a script?

 

Reply