cancel
Showing results for 
Search instead for 
Did you mean: 

Error while running Linker in IAR (STM32F746G-DISCO)

WLefe
Associate

I've followed this article to configure a CubeMX project with TouchGFX graphics and IAR Embedded Workbench: https://touchgfx.zendesk.com/hc/en-us/articles/360019884752-Configuring-STM32F746G-DISCO

I got it working several times, but suddenly the linker gives an error:

Error[Lp011]: section placement failed 

      unable to allocate space for sections/blocks with a total estimated minimum size of 0x10'1d00 bytes (max align 0x4) in <[0x9000'0000-0x9010'0000]> (total uncommitted space 0x10'0001). 

Error while running Linker

My application consists of a clock (made with this tutorial: https://touchgfx.zendesk.com/hc/en-us/articles/360018667192-Step-1-Setting-up-the-two-Screens) a using some hardware pins. (Blinking an LED and UART.)

All help is appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
WLefe
Associate

I removed alot of imagery from my gui, but forgot to delete them from the images tab in TouchGFX. After i did this, it works.

Thank You.

View solution in original post

2 REPLIES 2

Should be 0x90000000..0x90FFFFFF

You can't cram more than 16MB (128Mb) into the QSPI, reduce the amount of graphic or imagery so it actually fits.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
WLefe
Associate

I removed alot of imagery from my gui, but forgot to delete them from the images tab in TouchGFX. After i did this, it works.

Thank You.