Skip to content

Commit af3b500

Browse files
authored
Merge pull request #81 from github0null/dev
v2.15.3 revision
2 parents d1734e3 + 92fbc6e commit af3b500

20 files changed

Lines changed: 1052 additions & 539 deletions

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/node_modules
22
/out
33
/out.min
4-
src/Telemetry/TelemetryTask.ts
4+
src/Telemetry/
55
vsc-extension-quickstart.md
66
*.vsix
77
.EIDE

.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.git
12
.vscode
23
.vscode-test
34
out

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,30 @@
44

55
***
66

7+
### [v2.15.3] (revision)
8+
9+
**New Features**:
10+
- Support `SC000`, `SC300` chips for armcc/armclang
11+
12+
**Bug Fixes**:
13+
- **Source files** under project resources **root** are ignored.
14+
- A warning appears when creating a project using a workspace template.
15+
16+
**Changes**:
17+
- English README are preferred.
18+
- Use CustomConfigurationProvider provide Intellisence information for `C/C++`, no longer use `c_cpp_properties. Json`.
19+
- Use unify `env.ini` file for each target in a project. Instead of creating a separate '\<taregt\>.env.ini' file for each target. (**so the old env configuration will be invalid**)
20+
- In the `env.ini` file, the `"workspace.order"` variable will be **invalid**, please use the `"EIDE_BUILD_ORDER"` variable instead. [docs](https://docs.em-ide.com/#/zh-cn/multi_prj_workspace?id=%e6%9e%84%e5%bb%ba%e4%bc%98%e5%85%88%e7%ba%a7)
21+
22+
**Optimized**:
23+
- Better build output rendering for `keil_c51, iar_stm8` toolchain
24+
- Provide more complete brows Info to C/C++ plug-in.
25+
- Output a more detailed log to "unify_builder.log".
26+
- In dark theme, some 'file' icon has low contrast.
27+
- When using the Exclude file function, use filters to ignore files with invalid file suffixes.
28+
29+
***
30+
731
### [v2.15.2] (revision)
832
- **修复:v2.15.1 更新增加了源文件路径变量支持,导致打开项目时加载速度过慢的问题**
933
- 优化:当开启 VT100 终端颜色失败时,自动禁用编译输出的关键字高亮(可通过向 Builder.AdditionalCommandLine 设置添加 `-force-color` 强制开启高亮)

README.md

Lines changed: 59 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,66 @@
44

55
***
66

7-
## [English](./README_EN.md)
7+
## [中文](./README_ZH-CN.md)
88

9-
## 简述 📑
9+
## Summary 📑
1010

11-
一款适用于 8051/STM8/Cortex-M/RISC-V 的单片机开发环境。
11+
An embedded development environment for `8051/STM8/Cortex-M[0/0+/3/4/7]/RISC-V` on VsCode.
1212

13-
在 vscode 上提供 **8051**, **STM8**, **Cortex-M**, **RISC-V** ... 项目的 开发, 编译, 烧录 等功能。
13+
Provide `8051/STM8/Cortex-M/RISC-V` project development, compilation, burning and other functions.
1414

15-
**注意:**
16-
- **仅支持 Windows 平台,Win7 及以上**
15+
**Note:**
16+
- **Support only Windows platform, Windows 7 SP1 and later**
1717

1818
![preview](https://docs.em-ide.com/preview.png)
1919

2020
***
2121

22-
## 功能特性 🎉
22+
## Features 🎉
2323

24-
* 支持开发 8051STM8Cortex-MRISC-V 项目
25-
* 支持导入 KEIL 项目 (仅支持 KEIL 5 及以上版本)
26-
* 支持安装标准的 KEIL 芯片支持包 (仅用于 Cortex-M 项目)
27-
* 提供丰富的项目模板方便快速开始项目
28-
* 一键编译、快速编译,支持多种主流的编译工具 (armcc, gcc-arm-none-eabi, keil_c51, sdcc ...)
29-
* 一键烧录到芯片,支持多种主流的烧录器 (jlink, stlink, openocd, pyocd ...)
30-
* 内置的串口监视器,一键打开串口
31-
* 支持使用 Cppcheck 对项目进行静态检查
32-
* 自动生成默认调试配置,为调试器插件 Cortex-debug / STM8-debug 生成默认配置
33-
* 支持编写 js 脚本来导入任意的 IDE 项目源文件资源
34-
* 内置多种实用工具,`CMSIS Config Wizard UI`, `反汇编查看``程序资源视图` ...
24+
* Support development of 8051, STM8, Cortex-M\[0/0+/3/4/7], RISC-V projects
25+
* Support to import KEIL projects (KEIL 5 and later only)
26+
* Support for installing standard KEIL chip support packs (only for Cortex-M projects)
27+
* Provides rich project templates for quick start projects
28+
* One-click compilation, fast compilation, support a variety of mainstream compilation tools (support: armcc, gcc-arm-none-eabi, keil_c51, sdcc ...)
29+
* One key to burn chip, support a variety of mainstream burn device (support: jlink, stlink, openocd, pyocd ...)
30+
* Built-in serial port monitor, one click to open the serial port
31+
* Supports static checking of projects using Cppcheck
32+
* Automatically generates default debug configurations for debugger plug-in `cortex-debug/STM8-Debug`
33+
* Support for writing JS scripts to import arbitrary IDE project source file resources
34+
* Built in a variety of utilities, 'CMSIS Config Wizard UI', 'disassembly view', 'program resource view'...
3535

3636
***
3737

38-
## 支持的编译器 🔨
38+
## Example
39+
40+
- Create An RISC-V Project By Internal Template
41+
42+
![](https://docs.em-ide.com/img/show/new_prj.gif)
43+
44+
- Build Project
45+
46+
![](https://docs.em-ide.com/img/show/build_prj.gif)
47+
48+
- Flash Project (It failed because there was no connection to the development board, for demonstration purposes only)
49+
50+
![](https://docs.em-ide.com/img/show/flash_prj.gif)
51+
52+
- Show Source File Disassembly Code
53+
54+
![](https://docs.em-ide.com/img/show/show_disasm.gif)
55+
56+
- Static Check Project By Cppcheck
57+
58+
![](https://docs.em-ide.com/img/show/cppcheck_prj.gif)
59+
60+
- Program Resource View
61+
62+
![](https://docs.em-ide.com/img/show/show_prj_res.gif)
63+
64+
***
65+
66+
## Toolchain Support 🔨
3967

4068
![8051](https://img.shields.io/badge/-8051_:-grey.svg) ![status](https://img.shields.io/badge/Keil_C51-✔-brightgreen.svg) ![status](https://img.shields.io/badge/SDCC-✔-brightgreen.svg)
4169

@@ -47,32 +75,32 @@
4775

4876
***
4977

50-
## 快速开始 🏃‍♀️
78+
## Quick Start 🏃‍♀️
5179

52-
1. 安装上述的任意一款编译器
80+
1. Install any of the above compilers
5381

54-
2. 打开扩展的 Operations 栏,设置编译器的安装路径
82+
2. Open the **Operations** bar of the extension to set the compiler installation path
5583

56-
3. 点击 Operations 栏的 `新建``导入` 功能,开始你的项目
84+
3. Click on the `New` or `Import` function in the Operations bar to start your project
5785

5886
***
5987

60-
## 使用文档 📖
88+
## Document 📖
6189

62-
[文档地址: https://docs.em-ide.com](https://docs.em-ide.com)
90+
[https://docs.em-ide.com](https://docs.em-ide.com)
91+
92+
> The English document is being translated
6393
6494
***
6595

66-
## 更新日志 📌
96+
## ChangeLog 📌
6797

6898
[ChangeLog](https://marketplace.visualstudio.com/items/CL.eide/changelog)
6999

70100
***
71101

72-
## 遇到了问题 ? 😥
73-
74-
反馈途径:
102+
## Community 🌈
75103

76-
- [论坛: https://discuss.em-ide.com](https://discuss.em-ide.com/)
104+
- [Forum https://discuss.em-ide.com](https://discuss.em-ide.com/)
77105

78-
- [Github Issue](https://github.com/github0null/eide/issues)
106+
- [Github](https://github.com/github0null/eide/issues)

README_EN.md

Lines changed: 0 additions & 73 deletions
This file was deleted.

README_ZH-CN.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Embedded IDE
2+
3+
[![](https://vsmarketplacebadge.apphb.com/version/cl.eide.svg)](https://marketplace.visualstudio.com/items?itemName=CL.eide) [![](https://vsmarketplacebadge.apphb.com/installs/cl.eide.svg)](https://marketplace.visualstudio.com/items?itemName=CL.eide) [![](https://vsmarketplacebadge.apphb.com/downloads/cl.eide.svg)](https://marketplace.visualstudio.com/items?itemName=CL.eide) [![](https://vsmarketplacebadge.apphb.com/rating/cl.eide.svg)](https://marketplace.visualstudio.com/items?itemName=CL.eide)
4+
5+
***
6+
7+
## 简述 📑
8+
9+
一款适用于 8051/STM8/Cortex-M/RISC-V 的单片机开发环境。
10+
11+
在 vscode 上提供 **8051**, **STM8**, **Cortex-M**, **RISC-V** ... 项目的 开发, 编译, 烧录 等功能。
12+
13+
**注意:**
14+
- **仅支持 Windows 平台,Win7 及以上**
15+
16+
![preview](https://docs.em-ide.com/preview.png)
17+
18+
***
19+
20+
## 功能特性 🎉
21+
22+
* 支持开发 8051,STM8,Cortex-M,RISC-V 项目
23+
* 支持导入 KEIL 项目 (仅支持 KEIL 5 及以上版本)
24+
* 支持安装标准的 KEIL 芯片支持包 (仅用于 Cortex-M 项目)
25+
* 提供丰富的项目模板方便快速开始项目
26+
* 一键编译、快速编译,支持多种主流的编译工具 (armcc, gcc-arm-none-eabi, keil_c51, sdcc ...)
27+
* 一键烧录到芯片,支持多种主流的烧录器 (jlink, stlink, openocd, pyocd ...)
28+
* 内置的串口监视器,一键打开串口
29+
* 支持使用 Cppcheck 对项目进行静态检查
30+
* 自动生成默认调试配置,为调试器插件 Cortex-debug / STM8-debug 生成默认配置
31+
* 支持编写 js 脚本来导入任意的 IDE 项目源文件资源
32+
* 内置多种实用工具,`CMSIS Config Wizard UI`, `反汇编查看``程序资源视图` ...
33+
34+
***
35+
36+
## 支持的编译器 🔨
37+
38+
![8051](https://img.shields.io/badge/-8051_:-grey.svg) ![status](https://img.shields.io/badge/Keil_C51-✔-brightgreen.svg) ![status](https://img.shields.io/badge/SDCC-✔-brightgreen.svg)
39+
40+
![STM8](https://img.shields.io/badge/-STM8_:-grey.svg) ![status](https://img.shields.io/badge/IAR_STM8-✔-brightgreen.svg) ![status](https://img.shields.io/badge/SDCC-✔-brightgreen.svg)
41+
42+
![ARM](https://img.shields.io/badge/-ARM_:-grey.svg) ![status](https://img.shields.io/badge/ARMCC-✔-brightgreen.svg) ![status](https://img.shields.io/badge/ARMCLang-✔-brightgreen.svg) ![status](https://img.shields.io/badge/ARM_GCC-✔-brightgreen.svg)
43+
44+
![RISC-V](https://img.shields.io/badge/-RISCV_:-grey.svg) ![status](https://img.shields.io/badge/RISCV_GCC-✔-brightgreen.svg)
45+
46+
***
47+
48+
## 快速开始 🏃‍♀️
49+
50+
1. 安装上述的任意一款编译器
51+
52+
2. 打开扩展的 Operations 栏,设置编译器的安装路径
53+
54+
3. 点击 Operations 栏的 `新建``导入` 功能,开始你的项目
55+
56+
***
57+
58+
## 使用文档 📖
59+
60+
[文档地址: https://docs.em-ide.com](https://docs.em-ide.com)
61+
62+
***
63+
64+
## 更新日志 📌
65+
66+
[ChangeLog](https://marketplace.visualstudio.com/items/CL.eide/changelog)
67+
68+
***
69+
70+
## 遇到了问题 ? 😥
71+
72+
反馈途径:
73+
74+
- [论坛: https://discuss.em-ide.com](https://discuss.em-ide.com/)
75+
76+
- [Github Issue](https://github.com/github0null/eide/issues)

lib/node-utility

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"homepage": "https://github.com/github0null/eide/blob/master/README.md",
2828
"license": "MIT",
2929
"description": "An embedded development environment for 8051/STM8/Cortex-M/RISC-V",
30-
"version": "2.15.2",
30+
"version": "2.15.3",
3131
"engines": {
3232
"vscode": "^1.60.0"
3333
},
@@ -144,6 +144,12 @@
144144
{
145145
"title": "Embedded IDE",
146146
"properties": {
147+
"EIDE.Option.EnableTelemetry": {
148+
"type": "boolean",
149+
"scope": "resource",
150+
"markdownDescription": "%settings.enable.telemetry%",
151+
"default": true
152+
},
147153
"EIDE.Option.ShowOutputFilesInExplorer": {
148154
"type": "boolean",
149155
"scope": "resource",
@@ -1084,7 +1090,7 @@
10841090
},
10851091
{
10861092
"command": "_cl.eide.project.source.modify.path",
1087-
"when": "viewItem == V_FOLDER || viewItem == V_FOLDER_ROOT || viewItem == V_FILE_ITEM || viewItem == V_EXCFILE_ITEM && view == Project"
1093+
"when": "viewItem == PROJECT || viewItem == V_FOLDER || viewItem == V_FOLDER_ROOT || viewItem == V_FILE_ITEM || viewItem == V_EXCFILE_ITEM && view == Project"
10881094
},
10891095
{
10901096
"command": "_cl.eide.project.addPackage",

package.nls.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"eide.project.upload": "Upload Program To Device",
2727
"eide.project.flash.erase.all": "Erase Chip",
2828
"eide.project.gen.makefile": "Generate Makefile Template",
29-
"eide.project.modify.files.options": "Append separate compiler options to the file",
29+
"eide.project.modify.files.options": "Append separate compiler params for source files",
3030
"eide.project.import.ext.project.src.struct": "Import source file resources from other IDE's project",
3131

3232
"eide.prj.menus.main.cppcheck": "Static Check",
@@ -84,6 +84,8 @@
8484
"eide.deps.macro.show": "Display All Macros",
8585
"eide.deps.macro.add": "Add Macro",
8686

87+
"settings.enable.telemetry": "Enable telemetry for extension. We will collect information from the logs to help improve the functionality of this extension.",
88+
8789
"settings.builder.jobs": "The number of threads when build",
8890
"settings.builder.gen.makefile.params": "Generate the Makefile parameters file",
8991

package.nls.zh-CN.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"eide.project.upload": "烧录",
2727
"eide.project.flash.erase.all": "擦除芯片",
2828
"eide.project.gen.makefile": "生成 Makefile 模板",
29-
"eide.project.modify.files.options": "为文件附加单独的编译选项",
29+
"eide.project.modify.files.options": "为源文件附加单独的编译参数",
3030
"eide.project.import.ext.project.src.struct": "从其他 IDE 的项目中导入源文件资源",
3131

3232
"eide.workspace.build": "构建所有项目",
@@ -77,6 +77,8 @@
7777
"eide.deps.macro.show": "显示所有宏定义",
7878
"eide.deps.macro.add": "添加宏定义",
7979

80+
"settings.enable.telemetry": "启用遥测功能。我们将收集日志中的信息,帮助改进该扩展的功能",
81+
8082
"settings.builder.jobs": "构建时使用的线程数",
8183
"settings.builder.gen.makefile.params": "生成 Makefile 参数文件",
8284

0 commit comments

Comments
 (0)