cancel
Showing results for 
Search instead for 
Did you mean: 

I've buy the VL53L3CX Nucléo and I've started to program this but I've this error message

MSAMB.1
Associate III

I'm using the P-Nucleo 53lA2 and I downloaded the X CUBE and the API when I flash the main program I've this error message : VL53L3CX_SimpleRanging\VL53L3CX_SimpleRanging.axf: error: L6050U: The code size of this image (42414 bytes) exceeds the maximum allowed for this version of the linker.

Someone knows how can I solve this ?

Thank you

1 REPLY 1
Ben1
Associate III

Do you use the lite version of Keil? If so, you are limited to 32kB code size. I know the basic binary compiled file is 42kB so the error could be thrown, but 42414 bytes overeflow seems too much... Try playing around optimization flags? You can follow this link for more info: https://www.keil.com/support/man/docs/armclang_intro/armclang_intro_chr1382084370492.htm

Good Luck