elecrom
Junior Member level 3
Hello All,
I have recently installed crossworks for arm v2. However I am not able to compile even simple LED blink program in crossworks. I have installed support packages for LPC2138 microcontroller.
--------------------------------------------------------------
#include<LPC213x.h>
int main()
{
IO1DIR = 0xFF000000;
while(1)
{
IO1PIN = 0xFF000000;
asm("nop");
asm("nop");
asm("nop");
asm("nop");
IO1PIN = 0x00000000;
asm("nop");
asm("nop");
asm("nop");
asm("nop");
};
}
--------------------------------------------------------------
I get following Errors:
- LPC213X.h no such file or directory (Although this file is present at "C:\Documents and Settings\OK\Local Settings\Application Data\Rowley Associates Limited\CrossWorks for ARM\packages\include\targets\LPC213x.h")
- implicit declaration of function "asm"
How to resolve these errors ? I tried a lot, but could not figure out how to specify include directories to the crossworks IDE.
Can any one suggest any other good free ARM compiler ? What about YAGARTO ?
I have recently installed crossworks for arm v2. However I am not able to compile even simple LED blink program in crossworks. I have installed support packages for LPC2138 microcontroller.
--------------------------------------------------------------
#include<LPC213x.h>
int main()
{
IO1DIR = 0xFF000000;
while(1)
{
IO1PIN = 0xFF000000;
asm("nop");
asm("nop");
asm("nop");
asm("nop");
IO1PIN = 0x00000000;
asm("nop");
asm("nop");
asm("nop");
asm("nop");
};
}
--------------------------------------------------------------
I get following Errors:
- LPC213X.h no such file or directory (Although this file is present at "C:\Documents and Settings\OK\Local Settings\Application Data\Rowley Associates Limited\CrossWorks for ARM\packages\include\targets\LPC213x.h")
- implicit declaration of function "asm"
How to resolve these errors ? I tried a lot, but could not figure out how to specify include directories to the crossworks IDE.
Can any one suggest any other good free ARM compiler ? What about YAGARTO ?