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 set to "ALT_LEGACY_INTERRUPT_API_PRESENT"

Altera_Forum
Honored Contributor II
949 Views

hello, 

 

In Nios II Software Developer’s Handbook (January 2014) P8-11, 

I found following information. 

 

When the SBT selects the interrupt API, it defines one of the following symbols in  

system.h, to identify which interrupt API is available: 

■ ALT_ENHANCED_INTERRUPT_API_PRESENT 

—Defined if the enhanced API is implemented  

■ ALT_LEGACY_INTERRUPT_API_PRESENT 

—Defined if the legacy API is implemented  

 

Does it mean to edit system.h directory? 

 

I confirmed that edited system.h works correctly. 

But in this method, I need edit every time after generating BSP. 

Is there more smart way such as setting GUI switch or other permanent FLAG. 

 

Thank you.
0 Kudos
0 Replies
Reply