Hi all, I created NXP S32k144 new project in Keil, I added startup files also and packs are also updated then also i am getting these error.
Please help.
Thanks and Regard. Ravi Ranjan
.\Objects\S32K144_BSP.axf: Error: L6218E: Undefined symbol Image$$RW_m_data$$Base (referred from startup.o). .\Objects\S32K144_BSP.axf: Error: L6218E: Undefined symbol Image$$VECTOR_RAM$$Base (referred from startup.o). .\Objects\S32K144_BSP.axf: Error: L6218E: Undefined symbol Image$$VECTOR_ROM$$Base (referred from startup.o). .\Objects\S32K144_BSP.axf: Error: L6218E: Undefined symbol Image$$ARM_LIB_STACK$$ZI$$Limit (referred from startup_s32k144.o).
http://www.keil.com/support/docs/3501.htm
That does not address the issue. The issue here is the definition:
#define __INITIAL_SP Image$$ARM_LIB_STACK$$ZI$$Limit
in my case from cmsis_armclang.h, is not being exported by the Linker. The Linker is supposed to generate the symbol from the ARM_LIB_STACK base and size parameters. Which it apparently does not.
You need a proper linker scatter file in order to get the symbol ARM_LIB_STACK.
A line like this:
ARM_LIB_STACK 0x40000 EMPTY -0x20000 { }
Take a look at the linker manual:
infocenter.arm.com/.../pge1362065977713.html