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.

Issue with global pointer

Altera_Forum
Honored Contributor II
812 Views

I am trying to display a picture on VGA and I have SDRAM with 128MB on hardware. But when I place large array off 220*240 pixels in the code it gives me the global pointer error. 

 

I am getting this Error:  

 

warning: Unable to reach (null) (at 0x00047ff4) from the global pointer (at 0x000342cc) because the offset (81192) is out of the allowed range, -32678 to 32767. 

 

 

 

I saw that the solution might be to add -G0 in the compiler options. But I do not know how to do this in the Eclipse. 

I can not find this option in the Eclipse IDE. Can someone tell me how do I add -G0 in the compiler options ? I need pictures or printscreens. 

 

Help me please.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
81 Views
Reply