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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2,457 Views
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 Kudos
4 Replies

1,512 Views
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 Kudos

1,512 Views
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 Kudos

1,512 Views
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 Kudos

1,512 Views
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 Kudos