From 292231272643681e633887d0d2edb67bf1b3476a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=A1=E5=9D=82=E6=98=B4?= Date: Wed, 23 Apr 2025 10:00:43 +0800 Subject: [PATCH] remove: homework5 --- homework5/.clang-format | 38 -------------- homework5/.eide/eide.json | 80 ------------------------------ homework5/.eide/files.options.yml | 20 -------- homework5/.gitignore | 15 ------ homework5/.vscode/settings.json | 1 - homework5/.vscode/tasks.json | 40 --------------- homework5/homework5.code-workspace | 44 ---------------- 7 files changed, 238 deletions(-) delete mode 100644 homework5/.clang-format delete mode 100644 homework5/.eide/eide.json delete mode 100644 homework5/.eide/files.options.yml delete mode 100644 homework5/.gitignore delete mode 100644 homework5/.vscode/settings.json delete mode 100644 homework5/.vscode/tasks.json delete mode 100644 homework5/homework5.code-workspace diff --git a/homework5/.clang-format b/homework5/.clang-format deleted file mode 100644 index ecc57c4..0000000 --- a/homework5/.clang-format +++ /dev/null @@ -1,38 +0,0 @@ ---- -BasedOnStyle: Microsoft -Language: Cpp - -################################### -# indent conf -################################### - -UseTab: Never -IndentWidth: 4 -TabWidth: 4 -ColumnLimit: 0 -AccessModifierOffset: -4 -NamespaceIndentation: All -FixNamespaceComments: false -BreakBeforeBraces: Linux - -################################### -# other styles -################################### - -# -# for more conf, you can ref: https://clang.llvm.org/docs/ClangFormatStyleOptions.html -# - -AllowShortIfStatementsOnASingleLine: true - -AllowShortLoopsOnASingleLine: true - -AllowShortBlocksOnASingleLine: true - -IndentCaseLabels: true - -SortIncludes: false - -AlignConsecutiveMacros: AcrossEmptyLines - -AlignConsecutiveAssignments: Consecutive diff --git a/homework5/.eide/eide.json b/homework5/.eide/eide.json deleted file mode 100644 index 958e24c..0000000 --- a/homework5/.eide/eide.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "name": "homework5", - "type": "C51", - "dependenceList": [], - "srcDirs": [ - "src" - ], - "virtualFolder": { - "name": "", - "files": [], - "folders": [] - }, - "outDir": "build", - "deviceName": null, - "packDir": null, - "miscInfo": { - "uid": "9c9d006068a4118c55b2fd6daf3986f5" - }, - "targets": { - "Debug": { - "excludeList": [], - "toolchain": "Keil_C51", - "compileConfig": { - "options": "null" - }, - "uploader": "Custom", - "uploadConfig": { - "bin": "", - "commandLine": "", - "eraseChipCommand": "" - }, - "uploadConfigMap": {}, - "custom_dep": { - "name": "default", - "incList": [], - "libList": [], - "defineList": [] - }, - "builderOptions": { - "SDCC": { - "version": 3, - "beforeBuildTasks": [], - "afterBuildTasks": [], - "global": { - "device": "mcs51", - "optimize-type": "speed", - "use-non-free": false - }, - "c/cpp-compiler": { - "language-c": "c99" - }, - "asm-compiler": {}, - "linker": { - "$mainFileName": "main", - "output-format": "hex" - } - }, - "Keil_C51": { - "version": 2, - "beforeBuildTasks": [], - "afterBuildTasks": [], - "global": { - "ram-mode": "SMALL", - "rom-mode": "LARGE" - }, - "c/cpp-compiler": { - "optimization-type": "SPEED", - "optimization-level": "level-8" - }, - "asm-compiler": {}, - "linker": { - "remove-unused": true, - "output-format": "elf" - } - } - } - } - }, - "version": "3.5" -} \ No newline at end of file diff --git a/homework5/.eide/files.options.yml b/homework5/.eide/files.options.yml deleted file mode 100644 index c258721..0000000 --- a/homework5/.eide/files.options.yml +++ /dev/null @@ -1,20 +0,0 @@ -########################################################################################## -# Append Compiler Options For Source Files -########################################################################################## - -# syntax: -# : -# For get pattern syntax, please refer to: https://www.npmjs.com/package/micromatch -# -# examples: -# 'main.cpp': --cpp11 -Og ... -# 'src/*.c': -gnu -O2 ... -# 'src/lib/**/*.cpp': --cpp11 -Os ... -# '!Application/*.c': -O0 -# '**/*.c': -O2 -gnu ... - -version: "2.0" -options: - Debug: - files: {} - virtualPathFiles: {} diff --git a/homework5/.gitignore b/homework5/.gitignore deleted file mode 100644 index c2f4ce9..0000000 --- a/homework5/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# dot files -/.vscode/launch.json -/.settings -/.eide/log -/.eide.usr.ctx.json - -# project out -/build -/bin -/obj -/out - -# eide template -*.ept -*.eide-template diff --git a/homework5/.vscode/settings.json b/homework5/.vscode/settings.json deleted file mode 100644 index 9e26dfe..0000000 --- a/homework5/.vscode/settings.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/homework5/.vscode/tasks.json b/homework5/.vscode/tasks.json deleted file mode 100644 index 3e192b9..0000000 --- a/homework5/.vscode/tasks.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "version": "2.0.0", - "tasks": [ - { - "label": "build", - "type": "shell", - "command": "${command:eide.project.build}", - "group": "build", - "problemMatcher": [] - }, - { - "label": "flash", - "type": "shell", - "command": "${command:eide.project.uploadToDevice}", - "group": "build", - "problemMatcher": [] - }, - { - "label": "build and flash", - "type": "shell", - "command": "${command:eide.project.buildAndFlash}", - "group": "build", - "problemMatcher": [] - }, - { - "label": "rebuild", - "type": "shell", - "command": "${command:eide.project.rebuild}", - "group": "build", - "problemMatcher": [] - }, - { - "label": "clean", - "type": "shell", - "command": "${command:eide.project.clean}", - "group": "build", - "problemMatcher": [] - } - ] -} \ No newline at end of file diff --git a/homework5/homework5.code-workspace b/homework5/homework5.code-workspace deleted file mode 100644 index 8c192af..0000000 --- a/homework5/homework5.code-workspace +++ /dev/null @@ -1,44 +0,0 @@ -{ - "folders": [ - { - "path": "." - } - ], - "settings": { - "files.autoGuessEncoding": true, - "C_Cpp.default.configurationProvider": "cl.eide", - "C_Cpp.errorSquiggles": "disabled", - "files.associations": { - ".eideignore": "ignore", - "*.a51": "a51", - "*.h": "c", - "*.c": "c", - "*.hxx": "cpp", - "*.hpp": "cpp", - "*.c++": "cpp", - "*.cpp": "cpp", - "*.cxx": "cpp", - "*.cc": "cpp" - }, - "[yaml]": { - "editor.insertSpaces": true, - "editor.tabSize": 4, - "editor.autoIndent": "advanced" - } - }, - "extensions": { - "recommendations": [ - "cl.eide", - "keroc.hex-fmt", - "xiaoyongdong.srecord", - "hars.cppsnippets", - "zixuanwang.linkerscript", - "redhat.vscode-yaml", - "IBM.output-colorizer", - "cschlosser.doxdocgen", - "ms-vscode.vscode-serial-monitor", - "alefragnani.project-manager", - "cl.stm8-debug" - ] - } -} \ No newline at end of file