Keil uvision4 usage summaries (Chinese Character comments, C keywords, etc)

Source: Internet
Author: User
Tags virtual environment

Recently, I tried to download the latest version of Keil and add protues to create a virtual environment. The main cause is the economic problem. Electronic components cost money...

Today, I encountered some problems with using Keil uvision 4 and recorded them for later viewing :)

As for activation, there is no shortage in town. No more

Problem 1: No STC in Keil

Solution:

Solution 1: Use Atmel 89C52. If you use the unique function of STC, specify the header file separately.

Solution 2: Download The uv3.cdb file (uv3.cdb in 2012-08-21) from the official STC homepage and put it in the installation directory. Although it is 3, I can put it under 4.

Add method

Change uv3.cdb to uv4.cdb to overwrite the files in the installation directory. In this case, only STC is enabled for the next Startup of Keil. (Not tested by yourself, recorded only)

Add Method B

Rename uv3.cdb as STC. CDB and place it in uv4. And modify the tools. ini file under the parent directory of uv4.

Book0 = uv4 \ release_notes.htm ("uvision Release Notes") add cdb0 = uv4 \ STC. CDB ("stc cpu data base ")

You can.

In this way, the database option will be prompted when Keil is started next time. You need to select STC or the original one.


Problem 2: unable to enter Chinese comments in Keil


Solution:

Solution 1: Enter // "in English //"". Enter Chinese comments in english quotes

Solution 2: In the menu toolbar. Edit --- "Configuration

Remove the use color in comments check box.

Normal display:

When a large number of Chinese comments are used, I feel that the second solution is better and can save a lot ""


Question 3: No color is displayed for the c keyword in Keil.

Solution: Problem 2

Change foreground to your preferred color.


Related Article

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.