SDK Example fails to compile

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SDK Example fails to compile

Jump to solution
884 Views
MWMinor
Contributor V

Hi

I am trying to compile the SDK example lwip_httpsrv_freetos for running on my TWR60K512DM tower board but get an error 'region 'SRAM_UPPER' overflowed by 51120 bytes.

How do I fix this please...?

Thanks

0 Kudos
Reply
1 Solution
870 Views
MWMinor
Contributor V

I solved the problem by changing the default setting for global data placement to SRAM_LOWER.

The programme now compiles fine.

View solution in original post

0 Kudos
Reply
1 Reply
871 Views
MWMinor
Contributor V

I solved the problem by changing the default setting for global data placement to SRAM_LOWER.

The programme now compiles fine.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1865322%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESDK%20Example%20fails%20to%20compile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1865322%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20compile%20the%20SDK%20example%20lwip_httpsrv_freetos%20for%20running%20on%20my%20TWR60K512DM%20tower%20board%20but%20get%20an%20error%20'region%20'SRAM_UPPER'%20overflowed%20by%2051120%20bytes.%3C%2FP%3E%3CP%3EHow%20do%20I%20fix%20this%20please...%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1866313%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20SDK%20Example%20fails%20to%20compile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1866313%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20solved%20the%20problem%20by%20changing%20the%20default%20setting%20for%20global%20data%20placement%20to%20SRAM_LOWER.%3C%2FP%3E%3CP%3EThe%20programme%20now%20compiles%20fine.%3C%2FP%3E%3C%2FLINGO-BODY%3E