Skip to main content
WLefe
Associate
May 18, 2019
Solved

Error while running Linker in IAR (STM32F746G-DISCO)

  • May 18, 2019
  • 2 replies
  • 1969 views

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.

This topic has been closed for replies.
Best answer by WLefe

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.

2 replies

Tesla DeLorean
Guru
May 18, 2019

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
WLefe
WLefeAuthorBest answer
Associate
May 18, 2019

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.