Hi,
I am using NUCLEOL152RE board.I loaded X-NUCLEO-IKS01A1 example datalog project. I'm still fairly new to Keil so this may be a very silly question but when trying to compile a project, I get the following error:
project.sct(7): error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.
And i removed the scatter file.Now this error is replaced by the error .\STM32L152RE_NUCLEO\Project.axf: Error: L6200E: Symbol SysTick_Handler multiply defined (by hal_cm3.o and stm32l1xx_it.o).
If i commented all those functions in stm32l1xx_it.c i will get the following error
.\STM32L152RE_NUCLEO\Project.axf: error: L6050U: The code size of this image (42830 bytes) exceeds the maximum allowed for this version of the linker.
Please help me to solve this errors.I would greatly appreciate if someone could help.
Regards Krishnapriya.
Surely, that message is entirely clear & self explanatory?
www2.keil.com/.../
http://www.keil.com/demo/limits.asp
The reason you didn't see it initially was because the errors prevented creating the executable image - so there was no way to determine its size!
Hi, Thanks for your valuable time.If i download mdk516.exe it will solve or not?I think my code is around 42Kb.
How do you think that would help?
Did you read the links I provided?
FYI, I just tried exporting & building the complete NUCLEO L152RE mbed SDK, and it is also too big for the Lite version - at 36540.
The Project as downloaded has optimisation set to -O0 (ie, none).
www.keil.com/.../armcc_pge1396883051548.htm
Changing to -O1 reduces the size sufficiently to build successfully with the Lite version:
Program Size: Code=30732 RO-data=824 RW-data=60 ZI-data=1352