From e511ce372005a7bbaeb29e737f8a5acd4d284f4b Mon Sep 17 00:00:00 2001 From: github0null Date: Fri, 29 Aug 2025 11:35:32 +0800 Subject: [PATCH] - revert workspace Save() - remove global options for gnu_sdcc_mcs51 - remove ouput .bin by default for gnu_sdcc_mcs51 --- CHANGELOG.md | 2 +- lang/sdcc.mcs51.verify.json | 5 ----- package.json | 2 +- res/data/models/sdcc.mcs51.model.json | 6 ------ src/EIDETypeDefine.ts | 2 +- 5 files changed, 3 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f841248..30aae66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ All notable version changes will be recorded in this file. *** -### [v3.24.1] update +### [v3.24.2] update **New**: - `8051 Toolchain`: Support new SDCC + Binutils Toolchain for mcs51 https://github.com/github0null/sdcc-binutils-mcs51/blob/master/README_zh.md diff --git a/lang/sdcc.mcs51.verify.json b/lang/sdcc.mcs51.verify.json index ca0dbf8..6b594ac 100644 --- a/lang/sdcc.mcs51.verify.json +++ b/lang/sdcc.mcs51.verify.json @@ -203,11 +203,6 @@ true, false ] - }, - "misc-controls": { - "markdownDescription": "Other Global Options", - "description.zh-cn": "编译器附加选项(全局)", - "$ref": "#/definitions/misc-controls" } } }, diff --git a/package.json b/package.json index 41cb08c..b44ab66 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "homepage": "https://em-ide.com", "license": "MIT", "description": "A mcu development environment for 8051/AVR/STM8/Cortex-M/MIPS/RISC-V", - "version": "3.24.1", + "version": "3.24.2", "preview": false, "engines": { "vscode": "^1.67.0" diff --git a/res/data/models/sdcc.mcs51.model.json b/res/data/models/sdcc.mcs51.model.json index fef8260..ed59151 100644 --- a/res/data/models/sdcc.mcs51.model.json +++ b/res/data/models/sdcc.mcs51.model.json @@ -175,12 +175,6 @@ "toolPath": "bin/i51-elf-objcopy", "outputSuffix": ".hex", "command": "-O ihex ${linkerOutput} ${output}" - }, - { - "name": "output bin file", - "toolPath": "bin/i51-elf-objcopy", - "outputSuffix": ".bin", - "command": "-O binary ${linkerOutput} ${output}" } ] }, diff --git a/src/EIDETypeDefine.ts b/src/EIDETypeDefine.ts index 3fb3097..bd8d6b0 100644 --- a/src/EIDETypeDefine.ts +++ b/src/EIDETypeDefine.ts @@ -1565,7 +1565,7 @@ export class WorkspaceConfiguration extends Configuration { // workspace only can be force save, because user will modify this file, // so we can not override it Save(force?: boolean) { - if (force || !this.isLoadFailed) + if (force) super.Save(); }