STM32 Engineering Template Simple Tutorial (Keil MDK)

Source: Internet
Author: User

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


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.