cancel
Showing results for 
Search instead for 
Did you mean: 

Build failed due to overflow error in stm32h7s78-dk

HarshthaR
Visitor

Hi,

I'm getting build error after configuring the ethernet with LWIP. not sure what is the issue.
Attaching the screenshot for the reference.

HarshthaR_0-1756192953662.png

attaching the code for reference. please help me to debug. as I'm facing this for ethernet configuration. what additional changes needs to be done in the flash or somehwhere as its memory related issue.

Thanks,

Harshitha

1 REPLY 1
Ozone
Principal

However you would want to frame it - your Flash is too small, or you want to cram too much code into your Flash.

Try some compiler optimisation settings, preferably optimising for size.
Check the linker removes unused code.
Consider removing unnessesary libraries, or smaller versions with reduced functionality (libnano).

Or, take an MCU with more Flash.