Sharing C/C++ Header Files With Assembly Source in IAR compiler

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

Sharing C/C++ Header Files With Assembly Source in IAR compiler

578 Views
SreejithN
Contributor I

Hi,

I tried to include S32k146.h header on a assembly file to get the interrupt vector address (S32_SCB->VTOR) But the compiler showing below error 

Error[2]: Failed to open #include file 'stdint.h'  

Already given included directives for assembler

Tags (1)
0 Kudos
Reply
1 Reply

489 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

the C header file can't be used in Assembly code. If you like to get VTOR address you can simply read it from the register address - 0xE000ED08. 

 

Jiri 

0 Kudos
Reply