From d324d5f92a652a777c78099f5af13d9c14f2b6d5 Mon Sep 17 00:00:00 2001 From: yelvlab Date: Sat, 27 Sep 2025 11:05:08 +0800 Subject: [PATCH] Stop tracking .vscode directory --- .vscode/extensions.json | 26 ------- .vscode/launch.json | 36 ---------- .vscode/settings.json | 30 --------- .vscode/tasks.json | 145 ---------------------------------------- 4 files changed, 237 deletions(-) delete mode 100644 .vscode/extensions.json delete mode 100644 .vscode/launch.json delete mode 100644 .vscode/settings.json delete mode 100644 .vscode/tasks.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json deleted file mode 100644 index 3243635..0000000 --- a/.vscode/extensions.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "recommendations": [ - "ms-vscode.cmake-tools", - "ms-vscode.cpptools", - "ms-vscode.cpptools-extension-pack", - "ms-vscode.cpptools-themes", - "ms-vscode.vscode-embedded-tools", - "ms-vscode.hexeditor", - "ms-vscode.notepadplusplus-keybindings", - "twxs.cmake", - "xaver.clang-format", - "marus25.cortex-debug", - "cheshirekow.cmake-format", - "mcu-debug.debug-tracker-vscode", - "mcu-debug.memory-view", - "mcu-debug.peripheral-viewer", - "mcu-debug.rtos-views", - "trond-snekvik.gnu-mapfiles", - "zixuanwang.linkerscript", - "gurumukhi.selected-lines-count", - "gruntfuggly.todo-tree", - "vscode-icons-team.vscode-icons", - "jeff-hykin.better-cpp-syntax", - "dan-c-underwood.arm" - ] -} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 717cbb6..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - { - "cwd": "${workspaceFolder}", - "executable": "${workspaceFolder}/Build/Debug/Application/Application.elf", - "name": "Debug with OpenOCD", - "request": "launch", - "type": "cortex-debug", - "runToEntryPoint": "main", - "showDevDebugOutput": "none", - "gdbPath": "${workspaceFolder}/Toolchain/xpack-arm-none-eabi-gcc-11.3.1-1.1/bin/arm-none-eabi-gdb.exe", - "servertype": "openocd", - "serverpath": "${workspaceFolder}/Toolchain/xpack-openocd-0.11.0-3/bin/openocd.exe", - "svdFile": "${workspaceFolder}/GD32E230.svd", - "liveWatch": { - "enabled": true, - "samplesPerSecond": 1 - }, - "configFiles": [ - "${workspaceFolder}/Toolchain/xpack-openocd-0.11.0-3/scripts/target/openocd_gdlink_gd32e23x.cfg" - ], - "serverArgs": [ - "-s", "${workspaceFolder}/Toolchain/xpack-openocd-0.11.0-3/scripts" - ], - "searchDir": [ - "${workspaceFolder}" - ], - "preLaunchTask": "Build", - "preRestartCommands": [ - "load", - "continue" - ], - }, - ] -} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 4107651..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "terminal.integrated.tabs.enabled": true, - "terminal.integrated.profiles.windows": { - "Git Bash": { - "path": "C:\\Program Files\\Git\\bin\\bash.exe", - "icon": "terminal-bash" - }, - "Git-Bash": { - "path": "D:\\Git\\bin\\bash.exe", - "icon": "terminal-bash" - } - }, - "terminal.integrated.defaultProfile.windows": "Git-Bash", - "clang-format.assumeFilename": ".clang-format", - "clang-format.executable": "clang-format", - "C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools", - "cmake.configureOnOpen": true, - "cmake.buildDirectory": "${workspaceFolder}/Build", - "vcpkg.storageLocation": "C:\\Dev\\Tools\\vcpkg", - "files.associations": { - "*.h": "c", - "*.c": "c", - "array": "c", - "string": "c", - "string_view": "c", - "ranges": "c", - "span": "c" - }, - "cortex-debug.variableUseNaturalFormat": true, -} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index 3c31cd0..0000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,145 +0,0 @@ -{ - "version": "2.0.0", - "tasks": [ - { - "label": "Build and Flash", - "group": { - "kind": "build", - "isDefault": true - }, - "dependsOn": [ - "Build", - "Flash MCU" - ], - "dependsOrder": "sequence", - "icon": { - "id": "insert", - "tooltip": "Build and Flash" - } - }, - { - "label": "Flash MCU", - "type": "shell", - "command": "'${workspaceFolder}/Toolchain/xpack-openocd-0.11.0-3/bin/openocd.exe' -s '${workspaceFolder}' -f '${workspaceFolder}/Toolchain/xpack-openocd-0.11.0-3/scripts/target/openocd_gdlink_gd32e23x.cfg' -c 'init; reset halt; flash write_image erase ${command:cmake.launchTargetFilename}; reset; exit'", - "group": { - "kind": "build", - "isDefault": true - }, - "problemMatcher": [], - "options": { - "cwd": "${command:cmake.buildDirectory}/Application", - "environment": { - "CLICOLOR_FORCE": "1", - "OPENOCD_SCRIPTS": "" - } - }, - "presentation": { - "clear": true - }, - "icon": { - "id": "gather", - "tooltip": "Flash MCU" - } - }, - { - "label": "Reset MCU", - "type": "shell", - "command": "'${workspaceFolder}/Toolchain/xpack-openocd-0.11.0-3/bin/openocd.exe' -s '${workspaceFolder}' -f '${workspaceFolder}/Toolchain/xpack-openocd-0.11.0-3/scripts/target/openocd_gdlink_gd32e23x.cfg' -c 'init; reset; exit'", - "group": { - "kind": "build", - "isDefault": true - }, - "problemMatcher": [], - "options": { - "cwd": "${command:cmake.buildDirectory}/Application", - "environment": { - "CLICOLOR_FORCE": "1", - "OPENOCD_SCRIPTS": "" - } - }, - "presentation": { - "clear": true - }, - "icon": { - "id": "discard", - "tooltip": "Reset MCU" - } - }, - { - "label": "Mass Erase MCU", - "type": "shell", - "command": "'${workspaceFolder}/Toolchain/xpack-openocd-0.11.0-3/bin/openocd.exe' -s '${workspaceFolder}' -f '${workspaceFolder}/Toolchain/xpack-openocd-0.11.0-3/scripts/target/openocd_gdlink_gd32e23x.cfg' -c 'init; reset halt; gd32e23x mass_erase 0; exit'", - "group": { - "kind": "build", - "isDefault": true - }, - "problemMatcher": [], - "options": { - "cwd": "${command:cmake.buildDirectory}/Application", - "environment": { - "CLICOLOR_FORCE": "1", - "OPENOCD_SCRIPTS": "" - } - }, - "presentation": { - "clear": true - }, - "icon": { - "id": "clear-all", - "tooltip": "Erase MCU" - } - }, - { - "label": "OpenOCD Server", - "type": "shell", - "command": [ - "'${workspaceFolder}/Toolchain/xpack-openocd-0.11.0-3/bin/openocd.exe' -s '${workspaceFolder}' -f '${workspaceFolder}/Toolchain/xpack-openocd-0.11.0-3/scripts/target/openocd_gdlink_gd32e23x.cfg'" - ], - "group": { - "kind": "build", - "isDefault": true - }, - "problemMatcher": [], - "options": { - "cwd": "${command:cmake.buildDirectory}/Application", - "environment": { - "CLICOLOR_FORCE": "1", - "OPENOCD_SCRIPTS": "" - } - }, - "presentation": { - "clear": true - } - }, - { - "label": "Build", - "type": "cmake", - "command": "build", - "group": { - "kind": "build", - "isDefault": true - }, - "problemMatcher": [ - { - "base": "$gcc", - "fileLocation": [ - "relative", - "${command:cmake.buildDirectory}" - ] - } - ], - "options": { - "environment": { - "CLICOLOR_FORCE": "1" - } - }, - "presentation": { - "clear": true - }, - "icon": { - "id": "code", - "tooltip": "Build" - } - } - ] -} \ No newline at end of file