In MDK configuration Stm32 project is a very troublesome thing, so directly apply engineering template, reduce the time spent. (here with Wildfire's M3 engineering template)
The configuration of a template is based on a relative path, so the template can be copied anywhere.
1. folder renamed, here I changed to Shuogg_project, open the project (in user), change the output name and filename, of course, no change also has no effect;
2. Selection for a change, this template default is Stm32f103ve;
3. Personal habits: Add stm32f10x_conf.h and Stm32f10x_it.h to the user folder for easy modification;
4. Use the serial port burning write remember to hook on create hex;
5. In stm32f10x_conf.h annotation out of use peripherals, can reduce a little compile time, but peripheral C file will still compile, so just save a few seconds;
(The following figure works just to play with the water lights, so just leave these few)
6. Delete the use of the external peripherals of C files, which can reduce a lot of compile time;
completed. Then you can try compiling it.
Project template address (3.5 library):
http://download.csdn.net/detail/u014563989/9474759