ClickLink to Keil V3 to add the STC series single-chip microcomputer library file method + header file library
Add a single-chip microcomputer database, you can chooseSTCSingle-Chip Microcomputer, without affecting the use of the original database.
Procedure:
1. Download the STC database for Keil and rename it STC. CDB. Place the files in the folder to the corresponding folder. If there is no STC folder, create a new one. Or copy it to the Keil/uv2 directory. (If kile3 is UV3, then kile4 is uv4 ). The STC folder contains various types of single-chip microcomputer models, such as stc10 11 12 15 90 ····
2. Open the tools. ini file in the Keil folder, add the tools. ini file, and add the STC. CDB path. Enter cdb0 = uv2 \ STC. CDB ("STC") under [uv2] (that is, on the top of [C51]), save and exit, and add it. (If kile3 is UV3, kile4 is uv4) Use: when setting options for the target, click the device page and select "STC" in the database ". When creating a project, select "STC" in select a CPU date base file ".
3. Create a project. Add the header file name and the header file path:
Please indicate Reprinted from: http://blog.csdn.net/kaly_liu/article/details/8849334