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.

Nios BSP debug

Altera_Forum
Honored Contributor II
907 Views

Hello again Altera community, I have a need to set my Nios II BSP to debug disabled and optimization to some enabled level (1 or 2 is fine). I have tried to set these properties by right clicking the BSP project in the Nios II SDK and changing the settings, but these settings do not appear to be retained and are set back to debug on and optimization off the next time I look at them. I get the impression that I may need to change settings in the BSP editor but I have not yet determined how to make that work without causing the BSP compile to fail. Any tips are appreciated, thanks!

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
156 Views

So, I think I found one possible solution. If you open the BSP Editor in the Nios II IDE for Eclipse, there is a section under Settings->Common->hal->make. Here, you can set the debug and optimization options. Changing these options, generating, and building the BSP, the settings appear to be in effect. However, they don't always seem to hold if you open the BSP Editor again, for example, the -g debug flag I removed looks like it gets restored automatically.

Reply