In the configuration page the intellisense mode is set to default (meaning it’s using macos-clang-x64)
Here are the info from log diagnostic:
{
"configurations": [
{
"name": "PlatformIO",
"includePath": [
Version: 1.28.3
Current Configuration:
{
"name": "PlatformIO",
"includePath": [
"/Users/danilomessina/Documents/GIT_repository/robot/Projects/Zephyr_RTOS_STM-nucleo/include",
"/Users/danilomessina/Documents/GIT_repository/robot/Projects/Zephyr_RTOS_STM-nucleo/src",
"/Users/danilomessina/Documents/GIT_repository/robot/Projects/Zephyr_RTOS_STM-nucleo/.pio/build/nucleo_f446re/zephyr/include/generated/zephyr",
"/Users/danilomessina/.platformio/packages/framework-zephyr/include",
"/Users/danilomessina/Documents/GIT_repository/robot/Projects/Zephyr_RTOS_STM-nucleo/.pio/build/nucleo_f446re/zephyr/include/generated",
"/Users/danilomessina/.platformio/packages/framework-zephyr/soc/st/stm32",
"/Users/danilomessina/.platformio/packages/framework-zephyr/lib/libc/newlib/include",
"/Users/danilomessina/.platformio/packages/framework-zephyr/soc/st/stm32/common",
"/Users/danilomessina/.platformio/packages/framework-zephyr/drivers",
"/Users/danilomessina/.platformio/packages/framework-zephyr/soc/st/stm32/stm32f4x",
"/Users/danilomessina/.platformio/packages/framework-zephyr/_pio/modules/hal/cmsis/CMSIS/Core/Include",
"/Users/danilomessina/.platformio/packages/framework-zephyr/_pio/modules/hal/cmsis_6/CMSIS/Core/Include",
"/Users/danilomessina/.platformio/packages/framework-zephyr/modules/cmsis_6",
"/Users/danilomessina/.platformio/packages/framework-zephyr/_pio/modules/hal/stm32/stm32cube/stm32f4xx/soc",
"/Users/danilomessina/.platformio/packages/framework-zephyr/_pio/modules/hal/stm32/stm32cube/stm32f4xx/drivers/include",
"/Users/danilomessina/.platformio/packages/framework-zephyr/_pio/modules/hal/stm32/stm32cube/common_ll/include",
"/Users/danilomessina/Documents/GIT_repository/robot/Projects/Zephyr_RTOS_STM-nucleo/.pio/libdeps/nucleo_f446re/Unity/src"
],
"browse": {
"limitSymbolsToIncludedHeaders": true,
"path": [
"/Users/danilomessina/Documents/GIT_repository/robot/Projects/Zephyr_RTOS_STM-nucleo/include",
"/Users/danilomessina/Documents/GIT_repository/robot/Projects/Zephyr_RTOS_STM-nucleo/src",
"/Users/danilomessina/Documents/GIT_repository/robot/Projects/Zephyr_RTOS_STM-nucleo/.pio/build/nucleo_f446re/zephyr/include/generated/zephyr",
"/Users/danilomessina/.platformio/packages/framework-zephyr/include",
"/Users/danilomessina/Documents/GIT_repository/robot/Projects/Zephyr_RTOS_STM-nucleo/.pio/build/nucleo_f446re/zephyr/include/generated",
"/Users/danilomessina/.platformio/packages/framework-zephyr/soc/st/stm32",
"/Users/danilomessina/.platformio/packages/framework-zephyr/lib/libc/newlib/include",
"/Users/danilomessina/.platformio/packages/framework-zephyr/soc/st/stm32/common",
"/Users/danilomessina/.platformio/packages/framework-zephyr/drivers",
"/Users/danilomessina/.platformio/packages/framework-zephyr/soc/st/stm32/stm32f4x",
"/Users/danilomessina/.platformio/packages/framework-zephyr/_pio/modules/hal/cmsis/CMSIS/Core/Include",
"/Users/danilomessina/.platformio/packages/framework-zephyr/_pio/modules/hal/cmsis_6/CMSIS/Core/Include",
"/Users/danilomessina/.platformio/packages/framework-zephyr/modules/cmsis_6",
"/Users/danilomessina/.platformio/packages/framework-zephyr/_pio/modules/hal/stm32/stm32cube/stm32f4xx/soc",
"/Users/danilomessina/.platformio/packages/framework-zephyr/_pio/modules/hal/stm32/stm32cube/stm32f4xx/drivers/include",
"/Users/danilomessina/.platformio/packages/framework-zephyr/_pio/modules/hal/stm32/stm32cube/common_ll/include",
"/Users/danilomessina/Documents/GIT_repository/robot/Projects/Zephyr_RTOS_STM-nucleo/.pio/libdeps/nucleo_f446re/Unity/src"
]
},
"defines": [
"PLATFORMIO=60118",
"STM32F4",
"STM32F446xx",
"CORE_CM4",
"HSE_VALUE=8000000",
"KERNEL",
"K_HEAP_MEM_POOL_SIZE=1024",
"STM32F446xx",
"USE_FULL_LL_DRIVER",
"USE_HAL_DRIVER",
"_ANSI_SOURCE",
"__LINUX_ERRNO_EXTENSIONS__",
"__PROGRAM_START",
"__ZEPHYR__=1",
"__PLATFORMIO_BUILD_DEBUG__",
""
],
"cStandard": "c99",
"cppStandard": "c++20",
"forcedInclude": [
"/Users/danilomessina/Documents/GIT_repository/robot/Projects/Zephyr_RTOS_STM-nucleo/.pio/build/nucleo_f446re/zephyr/include/generated/zephyr/autoconf.h",
"/Users/danilomessina/.platformio/packages/framework-zephyr/include/zephyr/toolchain/zephyr_stdint.h"
],
"compilerPath": "/Users/danilomessina/.platformio/packages/toolchain-gccarmnoneeabi/bin/arm-none-eabi-gcc",
"compilerArgs": [
"-mcpu=cortex-m4",
"-mthumb",
"-mabi=aapcs",
"-mfp16-format=ieee",
"-isystem",
"/Users/danilomessina/.platformio/packages/framework-zephyr/lib/libc/common/include",
""
],
"compilerPathIsExplicit": true,
"cStandardIsExplicit": true,
"cppStandardIsExplicit": true,
"intelliSenseModeIsExplicit": false,
"recursiveIncludesReduceIsExplicit": false,
"recursiveIncludesPriorityIsExplicit": false,
"recursiveIncludesOrderIsExplicit": false,
"compilerPathInCppPropertiesJson": "/Users/danilomessina/.platformio/packages/toolchain-gccarmnoneeabi/bin/arm-none-eabi-gcc",
"mergeConfigurations": false,
"recursiveIncludes": {}
}
Modified Settings:
{
"C_Cpp.errorSquiggles": "disabled",
"C_Cpp.default.compilerPath": "/Users/danilomessina/.platformio/packages/toolchain-gccarmnoneeabi/bin/arm-none-eabi-gcc",
"C_Cpp.loggingLevel": "Information"
}
Additional Tracked Settings:
{
"editorTabSize": 4,
"editorInsertSpaces": true,
"editorAutoClosingBrackets": "languageDefined",
"filesEncoding": "utf8",
"filesAssociations": {},
"filesExclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true
},
"filesAutoSaveAfterDelay": false,
"editorInlayHintsEnabled": true,
"editorParameterHintsEnabled": true,
"searchExclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/*.code-search": true
},
"workbenchSettingsEditor": "ui"
}
cpptools version (native): 1.28.3.0
Current database path: /Users/danilomessina/Library/Caches/vscode-cpptools/e1164c6d0370f3e3bc3857e0a929a2ab/.browse.VC.db
No active translation units.