IAR,Error[Li005]: no definition for "__VECTOR_RAM"

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IAR,Error[Li005]: no definition for "__VECTOR_RAM"

4,492 次查看
710787859
Contributor I

I'm coding。IC is MKE02Z64 and IDE is IAR. There are three link errors and i can't deal with them. What should i do?

Error[Li005]: no definition for "__VECTOR_TABLE"

Error[Li005]: no definition for __VECTOR_RAM"
Error[Li005]: no definition for "__BOOT_STACK_ADDRESS"

0 项奖励
回复
4 回复数

3,547 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi

Could you let me know your SDK version and IAR version?

If you are using SDK 2.4, then you need to upgrade your IAR to version 8.22.

Please check the release note for more details

pastedImage_1.png

Regards

Daniel

0 项奖励
回复

3,547 次查看
710787859
Contributor I

My IAR version is 8.22. I don't use SDK and just copy startup files from FRDM-KE02 to my new project.

I don't find the definition of "__VECTOR_TABLE","__VECTOR_RAM", "__BOOT_STACK_ADDRESS".

0 项奖励
回复

3,547 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Baode

Addresses for VECTOR_TABLE and VECTOR_RAM  and __BOOT_STACK_ADDRESS come from the linker file,  I would suggest you check your linker file.

Regards

Daniel

0 项奖励
回复

3,547 次查看
710787859
Contributor I

Hi Daniel,

I have checked my linker file. There is no problem. And I open the linker file and can't find the definitions. Is this a bug of IAR8.22? could you give me a KE02 project based on IAR8.22?

0 项奖励
回复