We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi, i just wanted to start programming arm, i got an LPC1768 board ! i wrote my first program !
here is code
#include "LPC17xx.h" int main(void) { int a; LPC_GPIO1->FIODIR=1; while(1) { LPC_GPIO1->FIOSET=1; for(a=0;a<7200000;a++); LPC_GPIO1->FIOCLR=1; for(a=0;a<7200000;a++); } }
it says :
Rebuild target 'Target 1' assembling startup_LPC17xx.s... compiling main.c... main.c(15): warning: #1-D: last line of file ends without a newline } main.c: 1 warning, 0 errors linking... .\Blinky.axf: Error: L6218E: Undefined symbol SystemInit (referred from startup_lpc17xx.o). Not enough information to list image symbols. Finished: 1 information, 0 warning and 1 error messages. ".\Blinky.axf" - 1 Error(s), 1 Warning(s). Target not created
also if i create it , im not sure how to make it a bin file, my board manual says i must covert it to bin with -H!