Skip to main content
RKhal.2
Associate III
April 16, 2019
Solved

BSP example of 32L476GDISCOVERY

  • April 16, 2019
  • 2 replies
  • 1112 views

Hi,

I am working on board STM32L476G-DISCO, and I want build the example in STM32Cube_FW_L4_V1.13.0 Repository, ({USERNAME}\STM32Cube\Repository\STM32Cube_FW_L4_V1.13.0\Projects\32L476GDISCOVERY\Examples\BSP),

it all build successfully but at the end it show error

(compiling main.c...

linking...

STM32L476G-Discovery\STM32L476G-Discovery.axf: Warning: L6988W: Ignoring unknown patch sdcomp-29491-629360.

STM32L476G-Discovery\STM32L476G-Discovery.axf: error: L6050U: The code size of this image (33298 bytes) exceeds the maximum allowed for this version of the linker.

Finished: 0 information, 1 warning, 0 error and 1 fatal error messages.

"STM32L476G-Discovery\STM32L476G-Discovery.axf" - 1 Error(s), 1 Warning(s).

Target not created.)

How to solve this problem??????

Regards.

Rizwan

This topic has been closed for replies.
Best answer by Imen.D

Hello,

Are you using MDK-ARM Evaluation Version? There is a code-size limitations (see Keil limitations)

Regards,

Imen

2 replies

Imen.DBest answer
ST Technical Moderator
April 18, 2019

Hello,

Are you using MDK-ARM Evaluation Version? There is a code-size limitations (see Keil limitations)

Regards,

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
RKhal.2
RKhal.2Author
Associate III
April 19, 2019

Yes, I am using the MDK-ARM (Keil), You are right it has limitations, when I decrease code size then this error was disappear.

Thanks

Regards

Rizwan