관리자 기고
VSCode includePath json file edit stm32 cubeide : c_cpp_properties.json + WSL
와이즈캣
2025. 1. 3. 10:45
728x90
반응형
Cubeide Repository Path in WSL : C:/Users/oz/STM32Cube/Repository
STM32 CPU : STM32F429ZI => define STM32F429xx
-------------------------- Windows ----------------------------------------------------
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"C:/Users/oz/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Drivers/STM32F4xx_HAL_Driver/Inc",
"C:/Users/oz/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"C:/Users/oz/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Drivers/CMSIS/Device/ST/STM32F4xx/Include",
"C:/Users/oz/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Drivers/CMSIS/Include"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE",
"STM32F429xx"
],
"compilerPath": "C:/Users/oz/STM32CubeIDE/Tools/bin/arm-none-eabi-gcc",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "windows-gcc-arm"
}
],
"version": 4
}
-------------------------- WSL ----------------------------------------------------------
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"/mnt/c/Users/oz/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Drivers/STM32F4xx_HAL_Driver/Inc",
"/mnt/c/Users/oz/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"/mnt/c/Users/oz/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Drivers/CMSIS/Device/ST/STM32F4xx/Include",
"/mnt/c/Users/oz/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Drivers/CMSIS/Include"
],
"defines": [
"STM32F429xx"
],
"compilerPath": "/usr/bin/clang",
"cStandard": "c17",
"cppStandard": "c++14",
"intelliSenseMode": "linux-clang-x64"
}
],
"version": 4
}
728x90