STM8 global variable Definition declaration

Source: Internet
Author: User

In the 1.ST Visual Develop development environment, you cannot define variables in the. h file, define the variables in the. c file, and then declare them in the. h file. Add: Suddenly found that there is another situation, the variable is defined in a. h file, in another. h file after making an extern declaration can also, later found that the two. h files do not have their own. c files and are all in the same path of the project file and not in the module's files.

2.ST Visual Develop Development environment if the entry or exit debug is slow, or the menu bar disappears this kind of problem, that is, the project file is abnormal, as long as the new project or the recent OK project documents copied over to replace can, but the latter may not be thorough, suggest the former to solve.

STM8 global variable Definition declaration

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.