File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
STMicroelectronics/STM32L4_L4+ Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 2
2
{
3
3
"dockerfile" : " Dockerfile" ,
4
4
"extensions" : [
5
+ " ms-vscode.cpptools" ,
5
6
" ms-vscode.cmake-tools" ,
6
7
" marus25.cortex-debug" ,
7
- " xaver.clang-format"
8
+ " vsciot-vscode.vscode-iot-workbench" ,
9
+ " xaver.clang-format" ,
8
10
],
9
11
"remoteUser" : " vscode" ,
10
12
"postCreateCommand" : " git submodule update --recursive --init" ,
Original file line number Diff line number Diff line change 5
5
}
6
6
],
7
7
"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"
9
12
}
10
13
}
Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ endif()
47
47
# perform compiler test with the static library
48
48
set (CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY )
49
49
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 "" )
52
52
set (CMAKE_ASM_COMPILER ${ARM_TOOLCHAIN_PATH} /${TARGET_TRIPLET}gcc${TOOLCHAIN_EXT} )
53
53
set (CMAKE_LINKER ${ARM_TOOLCHAIN_PATH} /${TARGET_TRIPLET}gcc${TOOLCHAIN_EXT} )
54
54
set (CMAKE_SIZE_UTIL ${ARM_TOOLCHAIN_PATH} /${TARGET_TRIPLET}size${TOOLCHAIN_EXT} )
You can’t perform that action at this time.
0 commit comments