2020-11-09 07:50 AM
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
2020-11-20 05:46 AM
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