Keil™, An ARM® Company

Discussion Forum

IENABLE and IDISABLE giving errorin RVCT

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Sathyarajan K
Posted
30-Sep-2006 08:16 GMT
Toolset
ARM
New! IENABLE and IDISABLE giving errorin RVCT

Dear all, I am using LPC 2132 controller. In nested interrupt IENABLE and IDISABLE macros giving error in RVCT.
The error is as below

source\cpu.c(61): error:  #20: identifier "LR" is undefined
source\cpu.c(61): error:  #20: identifier "SP" is undefined
source\cpu.c(61): error:  #20: identifier "LR" is undefined
source\cpu.c(61): warning:  #1287-D: LDM/STM instruction may be expanded
source\cpu.c(61): error:  #20: identifier "SP" is undefined
source\cpu.c(61): error:  #20: identifier "LR" is undefined
source\cpu.c(61): error:  #29: expected an expression


Can any body suggest the problem in my project settings. The same function and same macro is working in CARM. Regards S Rajan

Read-Only
Author
Viktor Bucher
Posted
30-Sep-2006 12:33 GMT
Toolset
ARM
New! RE: IENABLE and IDISABLE giving errorin RVCT

You can't use those macros in RVCT.

Read-Only
Author
Sathyarajan K
Posted
30-Sep-2006 15:41 GMT
Toolset
ARM
New! RE: IENABLE and IDISABLE giving errorin RVCT

Then how can i use nested interrupt in RVCT.
S Rajan

Read-Only
Author
Viktor Bucher
Posted
30-Sep-2006 21:49 GMT
Toolset
ARM
New! RE: IENABLE and IDISABLE giving errorin RVCT

You have to write it in an assembly module

Read-Only
Author
Reinhard Keil
Posted
28-Oct-2006 12:29 GMT
Toolset
ARM
New! RE: IENABLE and IDISABLE giving errorin RVCT

See: http://www.keil.com/support/docs/3229.htm

Next Thread | Thread List | Previous Thread Start a Thread | Settings