I am working on a program based on LPC2148. Included header file #include <LPC214X.H>. But identifiers such as PINSEL0, IODDIR0, IOSET0, IOCLR0 are showing as undefined identifier. May i know why it is showing so?
That's not an 8051!
Using the 8051 compiler for that is not ever going to end well ...
Which compiler I should use?
One which supports the chip you are using!
Before compiling i installed Legacy support for ARM7, ARM9 & Cortex-R. Still showing the same. Should i download anything else?
Review what LPC214X.H actually defines, and if it is the same era/version as the code you are lifting.
http://www.keil.com/forum/62338/ These links appear to work fine, try a VPN if blocking locally.