Skip to content

Commit fa9f011

Browse files
committed
add additional vscode extensions
1 parent 685ac0e commit fa9f011

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
{
33
"dockerfile": "Dockerfile",
44
"extensions": [
5+
"ms-vscode.cpptools",
56
"ms-vscode.cmake-tools",
67
"marus25.cortex-debug",
7-
"xaver.clang-format"
8+
"vsciot-vscode.vscode-iot-workbench",
9+
"xaver.clang-format",
810
],
911
"remoteUser": "vscode",
1012
"postCreateCommand": "git submodule update --recursive --init",

STMicroelectronics/STM32L4_L4+/STM32L4plus.code-workspace

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
}
66
],
77
"settings": {
8-
"git.ignoreLimitWarning": true
8+
"git.ignoreLimitWarning": true,
9+
"git.autofetch": true,
10+
"cmake.configureOnOpen": true,
11+
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools"
912
}
1013
}

cmake/arm-gcc-toolchain.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ endif()
4747
# perform compiler test with the static library
4848
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
4949

50-
set(CMAKE_C_COMPILER ${ARM_TOOLCHAIN_PATH}/${TARGET_TRIPLET}gcc${TOOLCHAIN_EXT})
51-
set(CMAKE_CXX_COMPILER ${ARM_TOOLCHAIN_PATH}/${TARGET_TRIPLET}g++${TOOLCHAIN_EXT})
50+
set(CMAKE_C_COMPILER ${ARM_TOOLCHAIN_PATH}/${TARGET_TRIPLET}gcc${TOOLCHAIN_EXT} CACHE STRING "")
51+
set(CMAKE_CXX_COMPILER ${ARM_TOOLCHAIN_PATH}/${TARGET_TRIPLET}g++${TOOLCHAIN_EXT} CACHE STRING "")
5252
set(CMAKE_ASM_COMPILER ${ARM_TOOLCHAIN_PATH}/${TARGET_TRIPLET}gcc${TOOLCHAIN_EXT})
5353
set(CMAKE_LINKER ${ARM_TOOLCHAIN_PATH}/${TARGET_TRIPLET}gcc${TOOLCHAIN_EXT})
5454
set(CMAKE_SIZE_UTIL ${ARM_TOOLCHAIN_PATH}/${TARGET_TRIPLET}size${TOOLCHAIN_EXT})

0 commit comments

Comments
 (0)