Skip to content

Commit 9fe1ab8

Browse files
authored
v3.23.11 revision
v3.23.11 revision
2 parents 699b0e3 + 9a58a0e commit 9fe1ab8

19 files changed

Lines changed: 508 additions & 118 deletions

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ All notable version changes will be recorded in this file.
66

77
***
88

9-
### [v3.23.10] revision
9+
### [v3.23.11] revision
1010

1111
**Improve**:
1212
- `GNU Arm Toolchain`: Support new mcpu: `cortex-m52, cortex-m55, cortex-m85`.
@@ -17,6 +17,7 @@ All notable version changes will be recorded in this file.
1717
- `DebugConfig Generator GUI`: Change gui element width. Sort the option result list.
1818
- `AC5/AC6 Assembler`: Support use `<key>=<val>` preprocessor format for AC5/AC6 armasm.
1919
- `Makefile Generator`: Improve makefile generator.
20+
- `Builder Options`: Add more options for `arm-gcc` and `any-gcc` toolchain.
2021

2122
**Fix**:
2223
- `IAR ARM Toolchain`: Miss auto-gen `-I` params for iar assembler.

lang/any.gcc.verify.json

Lines changed: 116 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,21 @@
122122
"description.zh-cn": "全局选项",
123123
"type": "object",
124124
"properties": {
125+
"output-debug-info": {
126+
"markdownDescription": "Output debug information",
127+
"description.zh-cn": "输出调试信息",
128+
"type": "string",
129+
"default": "disable",
130+
"enum": [
131+
"disable",
132+
"enable",
133+
"dwarf-2",
134+
"dwarf-3"
135+
]
136+
},
125137
"misc-control": {
126-
"markdownDescription": "Global Params",
127-
"description.zh-cn": "编译器全局参数",
138+
"markdownDescription": "Global Options",
139+
"description.zh-cn": "编译器全局选项",
128140
"$ref": "#/definitions/FLAGS",
129141
"default": ""
130142
}
@@ -135,6 +147,46 @@
135147
"description.zh-cn": "C/C++ 编译器选项",
136148
"type": "object",
137149
"properties": {
150+
"language-c": {
151+
"markdownDescription": "C Standard",
152+
"description.zh-cn": "C 标准",
153+
"type": "string",
154+
"default": "",
155+
"enum": [
156+
"c89",
157+
"c90",
158+
"c99",
159+
"c11",
160+
"c17",
161+
"c23",
162+
"gnu89",
163+
"gnu90",
164+
"gnu99",
165+
"gnu11",
166+
"gnu17",
167+
"gnu23"
168+
]
169+
},
170+
"language-cpp": {
171+
"markdownDescription": "C++ Standard",
172+
"description.zh-cn": "C++ 标准",
173+
"type": "string",
174+
"default": "",
175+
"enum": [
176+
"c++98",
177+
"gnu++98",
178+
"c++11",
179+
"gnu++11",
180+
"c++14",
181+
"gnu++14",
182+
"c++17",
183+
"gnu++17",
184+
"c++20",
185+
"gnu++20",
186+
"c++23",
187+
"gnu++23"
188+
]
189+
},
138190
"optimization": {
139191
"markdownDescription": "Optimization Level",
140192
"description.zh-cn": "代码优化级别",
@@ -174,6 +226,11 @@
174226
"markdownDescription": "Data Sections (-fdata-sections)",
175227
"type": "boolean"
176228
},
229+
"signed-char": {
230+
"markdownDescription": "Signed Char (-fsigned-char)",
231+
"description.zh-cn": "Signed Char (-fsigned-char)",
232+
"type": "boolean"
233+
},
177234
"no-rtti": {
178235
"markdownDescription": "Not use RTTI (-fno-rtti)",
179236
"description.zh-cn": "禁用运行时类型信息 (-fno-rtti)",
@@ -184,17 +241,33 @@
184241
"description.zh-cn": "禁用异常处理 (-fno-exceptions)",
185242
"type": "boolean"
186243
},
244+
"warnings": {
245+
"markdownDescription": "Warning Level",
246+
"description.zh-cn": "警告等级",
247+
"type": "string",
248+
"default": "unspecified",
249+
"enum": [
250+
"unspecified",
251+
"no-warnings",
252+
"all-warnings"
253+
]
254+
},
255+
"turn-Warning-into-errors": {
256+
"markdownDescription": "Turn warnings into errors",
257+
"description.zh-cn": "将警告转化为错误",
258+
"type": "boolean"
259+
},
187260
"C_FLAGS": {
188-
"markdownDescription": "C Compiler Params",
189-
"description.zh-cn": "C 编译器参数",
261+
"markdownDescription": "C Compiler Options",
262+
"description.zh-cn": "C 编译器选项",
190263
"$ref": "#/definitions/FLAGS",
191-
"default": "-c -x c"
264+
"default": ""
192265
},
193266
"CXX_FLAGS": {
194-
"markdownDescription": "C++ Compiler Params",
195-
"description.zh-cn": "C++ 编译器参数",
267+
"markdownDescription": "C++ Compiler Options",
268+
"description.zh-cn": "C++ 编译器选项",
196269
"$ref": "#/definitions/FLAGS",
197-
"default": "-c -x c++"
270+
"default": ""
198271
}
199272
}
200273
},
@@ -215,7 +288,7 @@
215288
},
216289
"ASM_FLAGS": {
217290
"markdownDescription": "Assembler Options",
218-
"description.zh-cn": "汇编器参数",
291+
"description.zh-cn": "汇编器选项",
219292
"$ref": "#/definitions/FLAGS",
220293
"default": "-c -x assembler"
221294
}
@@ -251,10 +324,41 @@
251324
"LIB"
252325
]
253326
},
327+
"$disableOutputTask": {
328+
"type": "boolean",
329+
"markdownDescription": "Don't Output Hex/Bin/S19 Files",
330+
"description.zh-cn": "不生成 Hex/Bin/S19 等二进制文件",
331+
"enum": [
332+
true,
333+
false
334+
]
335+
},
336+
"$outputTaskExcludes": {
337+
"type": "array",
338+
"markdownDescription": "Don't Output Specific Binary Files",
339+
"description.zh-cn": "不生成指定的二进制文件",
340+
"default": [],
341+
"items": {
342+
"type": "string",
343+
"default": ".bin",
344+
"enum": [
345+
".bin",
346+
".hex"
347+
],
348+
"enumDescriptions": [
349+
"*.bin file",
350+
"*.hex file"
351+
]
352+
}
353+
},
254354
"remove-unused-input-sections": {
255355
"markdownDescription": "Remove Unused Input Sections (-Wl,--gc-sections)",
256356
"type": "boolean"
257357
},
358+
"print-mem-usage": {
359+
"markdownDescription": "Print Memory Usage For Each Section (-Wl,--print-memory-usage)",
360+
"type": "boolean"
361+
},
258362
"elf-suffix": {
259363
"type": "string",
260364
"size": "small",
@@ -265,15 +369,15 @@
265369
"default": ".elf"
266370
},
267371
"LD_FLAGS": {
268-
"readable_name": "Linker Flags",
269-
"readable_name.zh-cn": "链接器参数",
372+
"readable_name": "Linker Options",
373+
"readable_name.zh-cn": "链接器选项",
270374
"markdownDescription": "Use '-Wl[,option]...' pass options to the linker",
271375
"description.zh-cn": "使用 '-Wl[,option]...' 传递链接器选项",
272376
"$ref": "#/definitions/FLAGS",
273377
"default": ""
274378
},
275379
"LIB_FLAGS": {
276-
"readable_name": "Lib Flags",
380+
"readable_name": "Lib Options",
277381
"readable_name.zh-cn": "链接库",
278382
"markdownDescription": "Lib Flags, like: -lxxx",
279383
"description.zh-cn": "链接库,例如:-lxxx",

lang/arm.gcc.verify.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,14 @@
380380
"markdownDescription": "Not Print Memory Usage (disable: -Wl,--print-memory-usage)",
381381
"type": "boolean"
382382
},
383+
"use-float-printf": {
384+
"markdownDescription": "Enable float-point for printf(...) function (-u _printf_float)",
385+
"type": "boolean"
386+
},
387+
"use-float-scanf": {
388+
"markdownDescription": "Enable float-point for scanf(...) function (-u _scanf_float)",
389+
"type": "boolean"
390+
},
383391
"LD_FLAGS": {
384392
"readable_name": "Other Linker Options",
385393
"readable_name.zh-cn": "链接器附加选项",

lang/arm.v6.verify.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@
309309
],
310310
"enumDescriptions": [
311311
"arm-asm (arm syntax)",
312-
"arm-auto (auto select)",
312+
"arm-auto (auto detect)",
313313
"arm-clang (gnu syntax)"
314314
]
315315
},

package.json

Lines changed: 15 additions & 15 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.23.10",
39+
"version": "3.23.11",
4040
"preview": false,
4141
"engines": {
4242
"vscode": "^1.67.0"
@@ -262,7 +262,7 @@
262262
"type": "string",
263263
"scope": "resource",
264264
"markdownDescription": "%settings.cppcheck.exec.path%",
265-
"default": "${userRoot}/.eide/tools/cppcheck/cppcheck.exe"
265+
"default": "${userHome}/.eide/tools/cppcheck/cppcheck.exe"
266266
},
267267
"EIDE.Builder.ThreadNumber": {
268268
"type": "integer",
@@ -381,13 +381,13 @@
381381
"type": "string",
382382
"scope": "resource",
383383
"markdownDescription": "gnu sdcc for stm8 installation path",
384-
"default": "${userRoot}/.eide/tools/stm8_gnu_sdcc"
384+
"default": "${userHome}/.eide/tools/stm8_gnu_sdcc"
385385
},
386386
"EIDE.STM8.COSMIC.InstallDirectory": {
387387
"type": "string",
388388
"scope": "resource",
389389
"markdownDescription": "COSMIC CXSTM8 root folder path",
390-
"default": "${userRoot}/.eide/tools/cosmic_stm8"
390+
"default": "${userHome}/.eide/tools/cosmic_stm8"
391391
},
392392
"EIDE.ARM.ARMCC5.InstallDirectory": {
393393
"type": "string",
@@ -411,13 +411,13 @@
411411
"type": "string",
412412
"scope": "resource",
413413
"markdownDescription": "%settings.arm.gcc.install.folder%",
414-
"default": "${userRoot}/.eide/tools/gcc_arm"
414+
"default": "${userHome}/.eide/tools/gcc_arm"
415415
},
416416
"EIDE.ARM.LLVM.InstallDirectory": {
417417
"type": "string",
418418
"scope": "resource",
419419
"markdownDescription": "%settings.arm.llvm.install.folder%",
420-
"default": "${userRoot}/.eide/tools/llvm_arm"
420+
"default": "${userHome}/.eide/tools/llvm_arm"
421421
},
422422
"EIDE.ARM.INI.Path": {
423423
"type": "string",
@@ -429,19 +429,19 @@
429429
"type": "string",
430430
"scope": "resource",
431431
"markdownDescription": "%settings.jlink.install.folder%",
432-
"default": "${userRoot}/.eide/tools/jlink"
432+
"default": "${userHome}/.eide/tools/jlink"
433433
},
434434
"EIDE.OpenOCD.ExePath": {
435435
"type": "string",
436436
"scope": "resource",
437437
"markdownDescription": "%settings.openocd.install.folder%",
438-
"default": "${userRoot}/.eide/tools/openocd/bin/openocd.exe"
438+
"default": "${userHome}/.eide/tools/openocd/bin/openocd.exe"
439439
},
440440
"EIDE.STLink.ExePath": {
441441
"type": "string",
442442
"scope": "resource",
443443
"markdownDescription": "%settings.stlink.install.folder%",
444-
"default": "${userRoot}/.eide/tools/st_cube_programer/bin/STM32_Programmer_CLI.exe"
444+
"default": "${userHome}/.eide/tools/st_cube_programer/bin/STM32_Programmer_CLI.exe"
445445
},
446446
"EIDE.ARM.Option.AutoGenerateRTE_Components": {
447447
"type": "boolean",
@@ -459,7 +459,7 @@
459459
"type": "string",
460460
"scope": "resource",
461461
"markdownDescription": "%settings.stvp.path%",
462-
"default": "${userRoot}/.eide/tools/stvp/STVP_CmdLine.exe"
462+
"default": "${userHome}/.eide/tools/stvp/STVP_CmdLine.exe"
463463
},
464464
"EIDE.C51.INI.Path": {
465465
"type": "string",
@@ -471,13 +471,13 @@
471471
"type": "string",
472472
"scope": "resource",
473473
"markdownDescription": "%settings.sdcc.install.folder%",
474-
"default": "${userRoot}/.eide/tools/sdcc"
474+
"default": "${userHome}/.eide/tools/sdcc"
475475
},
476476
"EIDE.RISCV.InstallDirectory": {
477477
"type": "string",
478478
"scope": "resource",
479479
"markdownDescription": "%settings.riscv.gcc.install.folder%",
480-
"default": "${userRoot}/.eide/tools/gcc_riscv"
480+
"default": "${userHome}/.eide/tools/gcc_riscv"
481481
},
482482
"EIDE.RISCV.ToolPrefix": {
483483
"type": "string",
@@ -943,8 +943,8 @@
943943
}
944944
},
945945
{
946-
"command": "_cl.eide.project.configToolchain",
947-
"title": "%eide.builder.config%"
946+
"command": "_cl.eide.project.setupToolchain",
947+
"title": "%eide.builder.setup-toochain%"
948948
},
949949
{
950950
"command": "_cl.eide.project.switchUploader",
@@ -1540,7 +1540,7 @@
15401540
"when": "viewItem == COMPILE_CONFIGURATION && view == cl.eide.view.projects"
15411541
},
15421542
{
1543-
"command": "_cl.eide.project.configToolchain",
1543+
"command": "_cl.eide.project.setupToolchain",
15441544
"when": "viewItem == COMPILE_CONFIGURATION && view == cl.eide.view.projects"
15451545
},
15461546
{

package.nls.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@
8484
"eide.package.comp.uninstall": "Uninstall Component",
8585

8686
"eide.builder.switch": "Select Toolchain",
87-
"eide.builder.config": "Configure Toolchain",
88-
"eide.builder.setup-toolchain-prefix": "Setup Compiler Prefix",
87+
"eide.builder.setup-toochain": "Setup Toolchain",
88+
"eide.builder.setup-toolchain-prefix": "Setup Toolchain Prefix",
8989

9090
"eide.flash.switch": "Select Flasher",
9191
"eide.flash.gen.dbgconf": "Generate Debugger Configuration",

package.nls.zh-CN.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"eide.package.comp.uninstall": "移除组件",
8585

8686
"eide.builder.switch": "切换编译器",
87-
"eide.builder.config": "编译器配置",
87+
"eide.builder.setup-toochain": "设置编译器",
8888
"eide.builder.setup-toolchain-prefix": "设置编译器前缀",
8989

9090
"eide.flash.switch": "切换烧录器",

0 commit comments

Comments
 (0)