what are steps needed to write a program for LED? and how we link libraries to our program?? please give full details on that, i am new to this STM32f2 controller. pls provide sample programs.
"what are steps needed to write a program for LED?"
Exactly the same as the steps needed to write any other program:
Define your requirements for the system; Read datasheet/application notes/sample applications; Write code; Test; Correct/reset...
Per Westermark (c) 2012
See also: www.8052.com/.../160143
"how we link libraries to our program?"
Study the appropriate section(s) in your tool Manuals; eg,
http://www.keil.com/support/man/docs/gsac/ http://www.keil.com/support/man/docs/uv4/ http://www.keil.com/support/man/docs/uv4/uv4_ca_sourcefiles.htm
"please give full details on that, i am new to this STM32f2 controller"
So what study of your own have you done to gain familiarity with this controller?
http://www.keil.com/books/ http://www.keil.com/events/ http://www.keil.com/videos/ http://www.keil.com/support/
"pls provide sample programs"
Both Keil and ST provide samples - some are complete worked "lab" exercises... http://www.keil.com/download/list/arm.htm