Skip to content
Snippets Groups Projects
Unverified Commit 7e96ae40 authored by Bernard Xiong's avatar Bernard Xiong Committed by GitHub
Browse files

Merge pull request #9 from yangjie11/dev

更新vscode配置,使其能在vscode smart插件上使用
parents 04817c72 4c5b3732
No related branches found
No related tags found
No related merge requests found
Showing
with 188 additions and 13 deletions
...@@ -2,17 +2,17 @@ ...@@ -2,17 +2,17 @@
# Automatically generated file; DO NOT EDIT. # Automatically generated file; DO NOT EDIT.
# Configuration # Configuration
# #
# CONFIG_CORTEX_A is not set CONFIG_CORTEX_A=y
# CONFIG_CORTEX_M is not set # CONFIG_CORTEX_M is not set
# CONFIG_AARCH64 is not set # CONFIG_AARCH64 is not set
CONFIG_RISCV64=y # CONFIG_RISCV64 is not set
# CONFIG_I386 is not set # CONFIG_I386 is not set
CONFIG_ARCH="RISCV64" CONFIG_ARCH="Cortex-A"
# CONFIG_GNU_GCC is not set # CONFIG_GNU_GCC is not set
CONFIG_GNU_GCC_MUSL=y CONFIG_GNU_GCC_MUSL=y
# CONFIG_GNU_GCC_NEWLIB is not set # CONFIG_GNU_GCC_NEWLIB is not set
CONFIG_Toolchain="gcc_musl" CONFIG_Toolchain="gcc_musl"
CONFIG_EXEC_PATH="/opt/rtt/riscv64-linux-musleabi_for_x86_64-pc-linux-gnu/bin" CONFIG_EXEC_PATH="/opt/rtt/arm-linux-musleabi_for_x86_64-pc-linux-gnu/bin"
CONFIG_CUSTOM_PREFIX=y CONFIG_CUSTOM_PREFIX=y
CONFIG_PREFIX="riscv64-unknown-linux-musl-" CONFIG_PREFIX="arm-linux-musleabi-"
CONFIG_TARGET_FILE="" CONFIG_TARGET_FILE=""
{
"version": "5.0.0",
"env": {
"common": {
"ARCH": "arm",
"RTT_CC": "gcc"
},
"windows": {
"RTT_CC_PREFIX": "%ARCH%-linux-musleabi-",
"RTT_EXEC_PATH": "${SDK_ROOT}/tools/gnu_gcc/%ARCH%-linux-musleabi_for_i686-w64-mingw32/bin"
},
"linux": {
"RTT_CC_PREFIX": "${ARCH}-linux-musleabi-",
"RTT_EXEC_PATH": "${SDK_ROOT}/tools/gnu_gcc/${ARCH}-linux-musleabi_for_x86_64-pc-linux-gnu/bin"
}
},
"project_list": [
{
"folder": "/apps",
"name": {
"en": "Applications",
"zh": "模板应用"
}
},
{
"folder": "/workspace",
"name": {
"en": "Services",
"zh": "用户应用"
}
},
{
"folder": "/prebuilt",
"name": {
"en": "prebuilt",
"zh": "预编译"
}
}
],
"toolchain": {
"name": "arm-linux-musleabi",
"installed": false,
"version": "7.3.0",
"pipeline": "143917",
"timestamp": "1665549511"
},
"kernel": {
"folder": "/../rt-thread/bsp/qemu-vexpress-a9"
}
}
\ No newline at end of file
{
"RT-Thread Smart.SDK ROOT": "."
}
\ No newline at end of file
{
"env": {
"windows": {
"VENV_MODE": true,
"PATH": "%PATH%;%RTT_EXEC_PATH%"
},
"linux": {
"PATH": "$PATH:$RTT_EXEC_PATH"
}
},
"statusBarItem": {
"build": {
"icon": "$(zap)",
"enable": true,
"commands": [
"scons"
],
"label": "编译",
"tooltip": "编译 RT-Thread Smart"
},
"clean": {
"icon": "$(clear-all)",
"enable": true,
"commands": [
"scons -c"
],
"label": "清理",
"tooltip": "清理 RT-Thread Smart"
}
}
}
\ No newline at end of file
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: gcc.exe 生成活动文件",
"command": "C:\\msys32\\mingw32\\bin\\gcc.exe",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
"options": {
"cwd": "C:\\msys32\\mingw32\\bin"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "调试器生成的任务。"
}
],
"version": "2.0.0"
}
\ No newline at end of file
{ {
"RT-Thread Smart.Program": "hello.elf", "RT-Thread Smart.Program": "hello.elf",
"RT-Thread Smart.Target Path": "/root/bin/", "RT-Thread Smart.Target Path": "/root/bin/",
"RT-Thread Smart.SDK ROOT": "../../.." "RT-Thread Smart.SDK ROOT": "../.."
} }
\ No newline at end of file
...@@ -27,6 +27,15 @@ ...@@ -27,6 +27,15 @@
"label": "清理", "label": "清理",
"tooltip": "清理 RT-Thread Smart 工程" "tooltip": "清理 RT-Thread Smart 工程"
}, },
"install": {
"icon": "$(zap)",
"enable": true,
"commands": [
"cp ${EXECUTABLE_PROGRAM} ../../root/bin"
],
"label": "安装并打包",
"tooltip": "安装 elf 到 root 目录"
},
"download": { "download": {
"icon": "$(cloud-download)", "icon": "$(cloud-download)",
"enable": true, "enable": true,
......
{ {
"RT-Thread Smart.Program": "ping.elf", "RT-Thread Smart.Program": "ping.elf",
"RT-Thread Smart.Target Path": "/root/bin/", "RT-Thread Smart.Target Path": "/root/bin/",
"RT-Thread Smart.SDK ROOT": "../../.." "RT-Thread Smart.SDK ROOT": "../.."
} }
\ No newline at end of file
...@@ -27,6 +27,15 @@ ...@@ -27,6 +27,15 @@
"label": "清理", "label": "清理",
"tooltip": "清理 RT-Thread Smart 工程" "tooltip": "清理 RT-Thread Smart 工程"
}, },
"install": {
"icon": "$(zap)",
"enable": true,
"commands": [
"cp ${EXECUTABLE_PROGRAM} ../../root/bin"
],
"label": "安装并打包",
"tooltip": "安装 elf 到 root 目录"
},
"download": { "download": {
"icon": "$(cloud-download)", "icon": "$(cloud-download)",
"enable": true, "enable": true,
......
{ {
"RT-Thread Smart.Program": "pong.elf", "RT-Thread Smart.Program": "pong.elf",
"RT-Thread Smart.Target Path": "/root/bin/", "RT-Thread Smart.Target Path": "/root/bin/",
"RT-Thread Smart.SDK ROOT": "../../.." "RT-Thread Smart.SDK ROOT": "../.."
} }
\ No newline at end of file
...@@ -27,6 +27,15 @@ ...@@ -27,6 +27,15 @@
"label": "清理", "label": "清理",
"tooltip": "清理 RT-Thread Smart 工程" "tooltip": "清理 RT-Thread Smart 工程"
}, },
"install": {
"icon": "$(zap)",
"enable": true,
"commands": [
"cp ${EXECUTABLE_PROGRAM} ../../root/bin"
],
"label": "安装并打包",
"tooltip": "安装 elf 到 root 目录"
},
"download": { "download": {
"icon": "$(cloud-download)", "icon": "$(cloud-download)",
"enable": true, "enable": true,
......
{ {
"RT-Thread Smart.Program": "vi.elf", "RT-Thread Smart.Program": "vi.elf",
"RT-Thread Smart.Target Path": "/root/bin/", "RT-Thread Smart.Target Path": "/root/bin/",
"RT-Thread Smart.SDK ROOT": "../../.." "RT-Thread Smart.SDK ROOT": "../.."
} }
\ No newline at end of file
...@@ -27,6 +27,15 @@ ...@@ -27,6 +27,15 @@
"label": "清理", "label": "清理",
"tooltip": "清理 RT-Thread Smart 工程" "tooltip": "清理 RT-Thread Smart 工程"
}, },
"install": {
"icon": "$(zap)",
"enable": true,
"commands": [
"cp ${EXECUTABLE_PROGRAM} ../../root/bin"
],
"label": "安装并打包",
"tooltip": "安装 elf 到 root 目录"
},
"download": { "download": {
"icon": "$(cloud-download)", "icon": "$(cloud-download)",
"enable": true, "enable": true,
......
{ {
"RT-Thread Smart.Program": "webclient.elf", "RT-Thread Smart.Program": "webclient.elf",
"RT-Thread Smart.Target Path": "/root/bin/", "RT-Thread Smart.Target Path": "/root/bin/",
"RT-Thread Smart.SDK ROOT": "../../.." "RT-Thread Smart.SDK ROOT": "../.."
} }
\ No newline at end of file
...@@ -27,6 +27,15 @@ ...@@ -27,6 +27,15 @@
"label": "清理", "label": "清理",
"tooltip": "清理 RT-Thread Smart 工程" "tooltip": "清理 RT-Thread Smart 工程"
}, },
"install": {
"icon": "$(zap)",
"enable": true,
"commands": [
"cp ${EXECUTABLE_PROGRAM} ../../root/bin"
],
"label": "安装并打包",
"tooltip": "安装 elf 到 root 目录"
},
"download": { "download": {
"icon": "$(cloud-download)", "icon": "$(cloud-download)",
"enable": true, "enable": true,
......
{ {
"RT-Thread Smart.Program": "webserver.elf", "RT-Thread Smart.Program": "webserver.elf",
"RT-Thread Smart.Target Path": "/services/", "RT-Thread Smart.Target Path": "/services/",
"RT-Thread Smart.SDK ROOT": "../../.." "RT-Thread Smart.SDK ROOT": "../.."
} }
\ No newline at end of file
...@@ -27,6 +27,15 @@ ...@@ -27,6 +27,15 @@
"label": "清理", "label": "清理",
"tooltip": "清理 RT-Thread Smart 工程" "tooltip": "清理 RT-Thread Smart 工程"
}, },
"install": {
"icon": "$(zap)",
"enable": true,
"commands": [
"cp ${EXECUTABLE_PROGRAM} ../../root/bin"
],
"label": "安装并打包",
"tooltip": "安装 elf 到 root 目录"
},
"download": { "download": {
"icon": "$(cloud-download)", "icon": "$(cloud-download)",
"enable": true, "enable": true,
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
} }
], ],
// Linux 下的 gdb 调试器路径(工具链包含 gdb) // Linux 下的 gdb 调试器路径(工具链包含 gdb)
"miDebuggerPath": "${workspaceFolder}/../../../tools/gnu_gcc/gdb/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux/bin/arm-none-eabi-gdb" "miDebuggerPath": "${workspaceFolder}/../../tools/gnu_gcc/gdb/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux/bin/arm-none-eabi-gdb"
} }
] ]
} }
\ No newline at end of file
{ {
"RT-Thread Smart.Program": "hello.elf", "RT-Thread Smart.Program": "hello.elf",
"RT-Thread Smart.Target Path": "/bin/", "RT-Thread Smart.Target Path": "/bin/",
"RT-Thread Smart.SDK ROOT": "../../.." "RT-Thread Smart.SDK ROOT": "../.."
} }
\ No newline at end of file
...@@ -30,6 +30,15 @@ ...@@ -30,6 +30,15 @@
"label": "清理", "label": "清理",
"tooltip": "清理 RT-Thread Smart 工程" "tooltip": "清理 RT-Thread Smart 工程"
}, },
"install": {
"icon": "$(zap)",
"enable": true,
"commands": [
"cp ${EXECUTABLE_PROGRAM} ../../root/bin"
],
"label": "安装并打包",
"tooltip": "安装 elf 到 root 目录"
},
"download": { "download": {
"icon": "$(cloud-download)", "icon": "$(cloud-download)",
"enable": true, "enable": true,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment