cancel
Showing results for 
Search instead for 
Did you mean: 

How to build Lighting demo example available in STSW-BNRG-Mesh using Keil?

MHan.2
Associate

Hi,

I just got a STEVAL-IDB008v2 boards and I want to test lighting demo example available in STSW-BNRG-Mesh. I have followed the steps in "Getting started with the ST BlueNRG-Mesh embedded firmware". Unfortunately, there is error while building the program using Keil:

error: L6050U: The code size of this image (174134 bytes) exceeds the maximum allowed for this version of the linker.

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

Target not created.

I got similar error when I tried to use IAR. Any advice how to resolve this issue?

Thank you in advance!

2 REPLIES 2
SJAIN.2
Associate

Hi,

As per the error: L6050U: The code size of this image (174134 bytes) exceeds the maximum allowed for this version of the linker.

It seems, IAR & KEIL are able to compile the code only up to 64K due to license unavailability.

For IAR: Time limiting option can be selected through which code of any size can be compiled but only for 30 days.

Whereas for KEIL: Free license is available for STM32F0/G0/L0 and BlueNRG-1/2/LP and more details are available on the link shared below:

MDK for STM32F0/G0/L0 and BlueNRG-1/2/LP - Installation & Activation (keil.com)

Thanks for your quick response. This helped me a lot.