Skip to content

Commit 25eafbe

Browse files
authored
Merge pull request #468 from github0null/dev
v3.25.1 revision
2 parents 8adc07a + 3e7354d commit 25eafbe

18 files changed

+844
-290
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ All notable version changes will be recorded in this file.
66

77
***
88

9+
### [v3.25.1] revision
10+
11+
**Improve**:
12+
- `Import Project`: Improve project parser when import an eclipse project.
13+
- `Debug`: One-click to start debugging. NOT NEED ANY `launch.json`. [See Here](https://em-ide.com/docs/advance/debug_project)
14+
- `Toolchain Options`: New option `use-newlib-nano`, `not-use-syscalls` for `arm-none-eabi-gcc` toolchain.
15+
16+
***
17+
918
### [v3.25.0] update
1019

1120
**New**:

lang/arm.gcc.verify.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,14 @@
144144
"dwarf-3"
145145
]
146146
},
147+
"use-newlib-nano": {
148+
"markdownDescription": "Use newlib-nano (--specs=nano.specs)",
149+
"type": "boolean"
150+
},
151+
"not-use-syscalls": {
152+
"markdownDescription": "Do not use syscalls (--specs=nosys.specs)",
153+
"type": "boolean"
154+
},
147155
"misc-control": {
148156
"markdownDescription": "Other Global Options",
149157
"description.zh-cn": "编译器附加选项(全局)",

package.json

Lines changed: 42 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"homepage": "https://em-ide.com",
3737
"license": "MIT",
3838
"description": "A mcu development environment for 8051/AVR/STM8/Cortex-M/MIPS/RISC-V",
39-
"version": "3.25.0",
39+
"version": "3.25.1",
4040
"preview": false,
4141
"engines": {
4242
"vscode": "^1.67.0"
@@ -114,6 +114,12 @@
114114
"yaml": "^1.10.2"
115115
},
116116
"contributes": {
117+
"debuggers": [
118+
{
119+
"type": "eide.cortex-debug",
120+
"label": "EIDE (Cortex-Debug)"
121+
}
122+
],
117123
"terminal": {
118124
"profiles": [
119125
{
@@ -541,6 +547,20 @@
541547
}
542548
],
543549
"commands": [
550+
{
551+
"command": "eide.debug.start",
552+
"category": "eide",
553+
"title": "%eide.project.debug.start%",
554+
"icon": {
555+
"dark": "./res/icon/Run_16x.svg",
556+
"light": "./res/icon/Run_16x.svg"
557+
}
558+
},
559+
{
560+
"command": "eide.refresh.external_tools_index",
561+
"category": "eide",
562+
"title": "Refresh External Tools Index"
563+
},
544564
{
545565
"command": "eide.open.makelibs.cfg",
546566
"category": "eide",
@@ -1217,17 +1237,22 @@
12171237
{
12181238
"when": "cl.eide.projectActived && config.EIDE.Option.ShowToolbarInEditerTitle",
12191239
"command": "eide.project.build",
1220-
"group": "navigation"
1240+
"group": "navigation@1"
12211241
},
12221242
{
12231243
"when": "cl.eide.projectActived && config.EIDE.Option.ShowToolbarInEditerTitle",
1224-
"command": "eide.project.clean",
1225-
"group": "navigation"
1244+
"command": "eide.project.uploadToDevice",
1245+
"group": "navigation@2"
12261246
},
12271247
{
12281248
"when": "cl.eide.projectActived && config.EIDE.Option.ShowToolbarInEditerTitle",
1229-
"command": "eide.project.uploadToDevice",
1230-
"group": "navigation"
1249+
"command": "eide.debug.start",
1250+
"group": "navigation@3"
1251+
},
1252+
{
1253+
"when": "cl.eide.projectActived && config.EIDE.Option.ShowToolbarInEditerTitle",
1254+
"command": "eide.project.clean",
1255+
"group": "navigation@4"
12311256
}
12321257
],
12331258
"editor/context": [
@@ -1291,10 +1316,15 @@
12911316
"when": "viewItem == SOLUTION && view == cl.eide.view.projects"
12921317
},
12931318
{
1294-
"command": "eide.project.clean",
1319+
"command": "eide.debug.start",
12951320
"group": "inline@4",
12961321
"when": "viewItem == SOLUTION && view == cl.eide.view.projects"
12971322
},
1323+
{
1324+
"command": "eide.project.clean",
1325+
"group": "inline@5",
1326+
"when": "viewItem == SOLUTION && view == cl.eide.view.projects"
1327+
},
12981328
{
12991329
"command": "_cl.eide.project.setActive",
13001330
"when": "viewItem == SOLUTION && view == cl.eide.view.projects && cl.eide.enable.active",
@@ -1315,6 +1345,11 @@
13151345
"when": "viewItem == SOLUTION && view == cl.eide.view.projects",
13161346
"group": "2_build@2"
13171347
},
1348+
{
1349+
"command": "eide.debug.start",
1350+
"when": "viewItem == SOLUTION && view == cl.eide.view.projects",
1351+
"group": "2_build@3"
1352+
},
13181353
{
13191354
"command": "eide.project.uploadToDevice",
13201355
"when": "viewItem == SOLUTION && view == cl.eide.view.projects",

package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"eide.project.modify.files.options": "Show Extra Options Of All Source Files",
3333
"eide.project.import.ext.project.src.struct": "Import SourceFile Tree From Other Project",
3434
"eide.project.generate_builder_params": "Generate builder.params",
35+
"eide.project.debug.start": "Start Debugging (Cortex-Debug)",
3536

3637
"eide.prj.menus.main.static-check": "Static Check",
3738
"eide.prj.menus.sub.static-check.cppcheck": "Run Cppcheck",

package.nls.zh-CN.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"eide.project.modify.files.options": "查看所有源文件的附加编译参数",
3333
"eide.project.import.ext.project.src.struct": "从其他 IDE 的项目中导入源文件树",
3434
"eide.project.generate_builder_params": "生成 builder.params",
35+
"eide.project.debug.start": "启动调试(Cortex-Debug)",
3536

3637
"eide.prj.menus.main.static-check": "静态检查",
3738
"eide.prj.menus.sub.static-check.cppcheck": "执行 Cppcheck",

res/data/builtin_headers/lint_sdcc.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#define __interrupt(x)
2323
#define __using(x)
2424
#define __at(x)
25-
#define __asm__(x)
2625
#define __naked
2726

2827
// for pic

res/data/models/arm.gcc.model.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,32 @@
299299
"cpp"
300300
]
301301
},
302+
"use-newlib-nano": {
303+
"type": "selectable",
304+
"command": {
305+
"true": "--specs=nano.specs",
306+
"false": ""
307+
},
308+
"group": [
309+
"c",
310+
"cpp",
311+
"asm",
312+
"linker"
313+
]
314+
},
315+
"not-use-syscalls": {
316+
"type": "selectable",
317+
"command": {
318+
"true": "--specs=nosys.specs",
319+
"false": ""
320+
},
321+
"group": [
322+
"c",
323+
"cpp",
324+
"asm",
325+
"linker"
326+
]
327+
},
302328
"misc-control": {
303329
"type": "list",
304330
"command": "",

res/icon/Run_16x.svg

Lines changed: 1 addition & 0 deletions
Loading

res/icon/Run_blue_16x.svg

Lines changed: 1 addition & 0 deletions
Loading

res/icon/Run_grey_16x.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)