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.
Hi Krishnapriya,
the demo/evaluation-Version of Keil is code size restricted to 32 kB. You Need to have a license to link programs bigger than 32 kB. Maybe try to vary the Compiler-optimization in the "Options for Target/C/C++"-tab. That might reduce the generated code-size. When this doesn't help you may be able to remove some modules you don't Need in order to decrease the code-size of your program. Version 5.16 of Keil is also code-size-restricted, so installing that will not help.
Greetings, Niclas
http://www.keil.com/demo/limits.asp
www2.keil.com/.../
http://www.keil.com/support/docs/3755.htm
Hi Andrew Neil,
Thank you,I compiled my code like as u suggested.But code size is not reducing.How can i solve this problem.please help me.
Regards Krishnapriya
View all questions in Keil forum