C51-Extension-for-VScode
C51-Extension-for-VScode copied to clipboard
适用于VScode 的 C51 系列单片机编译插件
C51 Extension
The C51 Program Compile
Language snippets
-
#uchar
: 'typedef unsigned char uchar;' -
#uint
: 'typedef unsigned char uint;' -
#inc
: '#include <reg52.h>'
Extension Settings
This extension contributes the following settings:
-
C51.binDir
: The C51 Bin Directory -
C51.OnlyOutputHexFile
: Only Output Hex File
How to use
-
Before you start, Setting the C51 bin dir.
-
Create a .c file and wite your program.
-
Click the right mouse button then click "Build C51".
-
If your program no error, the hex file will created in the current dir.
Known Issues
EN:
If some error on installing, please update vscode.
Program file name must have once '.c'.
E.x : File name not support 'test.c.c'.
CH:
如果拓展安装失败请确保VScode为最新版。
源码文件的文件名必须有一个“.c”。
例如:文件名不支持“test.c.c”,应为“test.c”。
更新日志
0.1.1
- 修复".C"文件编译错误.
0.1.0
- 忘了修复了什么错误.
- 给插件添加了图标.
0.0.8
- 语法高亮支持.
- 自动补全支持.
- 修复编译时终端窗口不清空问题.
0.0.5
修复大写 '.C' 文件不支持的问题. (Thanks @wangnengquan's issue on github)
0.0.4
添加Github链接.
0.0.3
在README.me中添加“How to use ?”信息.
0.0.2
在 .c 文件编辑窗口中添加“Build C51”右键选项. 添加 "Only output hex file" 设置.
0.0.1
第一个发行版本.