From 7252c9fd1443c2c99bf69d4b8050cf53e55d71b9 Mon Sep 17 00:00:00 2001 From: Lizongdi <1210855344@qq.com> Date: Tue, 16 Jun 2026 13:32:25 +0800 Subject: [PATCH] sub up --- .clangd | 2 + .cproject | 130 +++++++++++++++++----------------- .vscode/c_cpp_properties.json | 8 +++ .vscode/settings.json | 15 ++++ robot | 2 +- 5 files changed, 91 insertions(+), 66 deletions(-) create mode 100644 .clangd create mode 100644 .vscode/c_cpp_properties.json create mode 100644 .vscode/settings.json diff --git a/.clangd b/.clangd new file mode 100644 index 0000000..ec0b890 --- /dev/null +++ b/.clangd @@ -0,0 +1,2 @@ +CompileFlags: + CompilationDatabase: build diff --git a/.cproject b/.cproject index dfddc81..c5bb5a9 100644 --- a/.cproject +++ b/.cproject @@ -1,8 +1,8 @@ - - + + @@ -24,50 +24,50 @@ - - - - - - + + @@ -89,42 +89,42 @@ - - - - - + - + - + diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..a1c7a21 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,8 @@ +{ + "configurations": [ + { + "name": "STM32", + "compileCommands": "${workspaceFolder}/build/compile_commands.json" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..8627b90 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,15 @@ +{ + "cmake.cmakePath": "cube-cmake", + "cmake.configureArgs": [ + "-DCMAKE_COMMAND=cube-cmake" + ], + "cmake.preferredGenerators": [ + "Ninja" + ], + "stm32cube-ide-clangd.path": "cube", + "stm32cube-ide-clangd.arguments": [ + "starm-clangd", + "--query-driver=${env:CUBE_BUNDLE_PATH}/gnu-tools-for-stm32/14.3.1+st.2/bin/arm-none-eabi-gcc*", + "--query-driver=${env:CUBE_BUNDLE_PATH}/gnu-tools-for-stm32/14.3.1+st.2/bin/arm-none-eabi-g++*" + ] +} \ No newline at end of file diff --git a/robot b/robot index b316915..a126caa 160000 --- a/robot +++ b/robot @@ -1 +1 @@ -Subproject commit b316915c2e24c41215e597d8393f20520e3ef5b7 +Subproject commit a126caa4e7d46c198dddc87f3de42f6bdb62870c