Hi, I wrote a program on arm7 lpc2148 in keil but couldn't get the output .It is showing the error "error: L6236E: No section matches selector - no section to be FIRST/LAST".. my code is ---------------------------------------------- #include<lpc214x.h> void delay(unsigned int a);
int main() { while(1) { IODIR0=0xffffffff; IOSET0=0x00070000; delay(1000); IOCLR0=0x00070000; } }
void delay(unsigned int a) { unsigned int i,j; for(i=0;i<a;i++) for(j=0;j<1000;j++); } ------------------------------------------------ Can someone please help me get off this error..?
Click the "Manage Run-Time Environment" button (green diamond with the four black dots), expand "Device", and make sure that BOTH "Startup" and "StartupConfig" are checked.