EmbDev.net

Forum: ARM programming with GCC/GNU tools Makefile Example


von Rohan D. (rohan_d)


Attached files:

Rate this post
useful
not useful
Hello ,

i m completly newbie to makefile , i want makefile example for flashing 
LED or any simplee program u can suggest . i m using lpc2148 uC 
Devlopment board . and WinARM GCC toolchain for creating HEX file on 
Windows Platform .

the makefile examples given in sample folder are just hard to understand 
me as i m newbie . i m attaching a sample program that is i had 
downloaded from website . it is showing error . that specified path cant 
find . when i look in to makefile i found that the code for programming 
a HEX file was wrote in to that .

cant i just create only HEX file and then program it using Flash utility 
?
if yes how ? what changes wiil i have make in "makefile" ?

the sample program attached contains C file and makefile .


dear moderator pls help me .

thanx and regards
Rohan

von iopet (Guest)


Rate this post
useful
not useful
Hi,
You have two solutions:
a) check on WinARM/Yagarto sites for examples, there are some, including 
for your micro;
b) search the sf.net for    " GNU ARM C/C++ Development Support 
0.5.3.201010141144" which will easy your job. This is a plug-in for 
different tool chains, including WinARM and allows you to generate 
managed make projects - aka you will not need to write your makefile. 
Use this first, I hope you will enjoy it.
Regards,
Iopet

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.