cancel
Showing results for 
Search instead for 
Did you mean: 

BSP example of 32L476GDISCOVERY

RKhal.2
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hello,

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

Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

2 REPLIES 2
Imen.D
ST Employee

Hello,

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

Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
RKhal.2
Associate III

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