Missing auto-complete on header files includes in VS Code with nRF Connect extension

Hello.

I'm following the nRF Connect SDK Fundamentals course. I've setup VS Code with the nRF Connect extension, and everything with building, flashing, etc. works fine.

However, auto-complete does not seem to work on header files includes.

If I write out the complete path, I can even ctrl+click on the header file to open it, so header files are obviously found.

It is quite annoying to work without auto-complete when one is not familiar with Zephyr and such.

So I'm wondering if something is wrong with my setup?


{
  "platform": {
    "os": "linux",
    "osVersion": "#1 SMP PREEMPT Wed Feb 1 12:03:19 UTC 2023",
    "osKernel": "5.15.91-1-MANJARO",
    "vscode": "1.74.3",
    "electron": "19.1.9",
    "node": "v16.14.2"
  },
  "system": {
    "date": "2023-02-07T21:54:28.764Z",
    "vscodeRoot": "/usr/lib/code",
    "nrfConnectForDesktopInstalled": "unknown",
    "vscodeUptime": "00:58:38",
    "osUptime": "03:18:31",
    "cpu": {
      "model": "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz",
      "speed": "1109 MHz",
      "count": 2
    },
    "memory": {
      "total": "7.49 GB",
      "free": "1.21 GB"
    }
  },
  "workspace": {
    "name": "fundamentals (Workspace)",
    "workspaceFile": "/home/vebjorn/Code/nordic-academy/fundamentals/fundamentals.code-workspace",
    "folders": [
      "/home/vebjorn/Code/nordic-academy/fundamentals",
      "/home/vebjorn/Code/nordic-academy/fundamentals/lesson1-exercise2-blinky",
      "/home/vebjorn/Code/nordic-academy/fundamentals/lesson2-exercise1-polling",
      "/home/vebjorn/Code/nordic-academy/fundamentals/lesson2-exercise2-interrupt",
      "/home/vebjorn/Code/nordic-academy/fundamentals/lesson3-exercise1-application",
      "/home/vebjorn/Code/nordic-academy/fundamentals/lesson3-exercise2-customize",
      "/home/vebjorn/Code/nordic-academy/fundamentals/lesson4-exercise1-print",
      "/home/vebjorn/Code/nordic-academy/fundamentals/lesson4-exercise2-logger",
      "/home/vebjorn/Code/nordic-academy/fundamentals/lesson4-exercise3-config_logger",
      "/home/vebjorn/Code/nordic-academy/fundamentals/lesson5-exercise1-uart_leds"
    ]
  },
  "extensions": {
    "internal": {
      "nordic-semiconductor.nrf-connect": {
        "version": "2023.1.44",
        "path": "/home/vebjorn/.vscode-oss/extensions/nordic-semiconductor.nrf-connect-2023.1.44-linux-x64",
        "isActive": true
      },
      "nordic-semiconductor.nrf-terminal": {
        "version": "2022.11.29",
        "path": "/home/vebjorn/.vscode-oss/extensions/nordic-semiconductor.nrf-terminal-2022.11.29",
        "isActive": true
      },
      "nordic-semiconductor.nrf-devicetree": {
        "version": "2022.11.153",
        "path": "/home/vebjorn/.vscode-oss/extensions/nordic-semiconductor.nrf-devicetree-2022.11.153",
        "isActive": true
      },
      "nordic-semiconductor.nrf-kconfig": {
        "version": "2022.11.50",
        "path": "/home/vebjorn/.vscode-oss/extensions/nordic-semiconductor.nrf-kconfig-2022.11.50",
        "isActive": true
      }
    },
    "external": {
      "marus25.cortex-debug": "1.6.10",
      "ms-vscode.cpptools": "1.13.9",
      "ms-vscode.js-debug": "1.74.1",
      "ms-vscode.js-debug-companion": "1.0.18",
      "ms-vscode.vscode-js-profile-table": "1.0.3",
      "mcu-debug.debug-tracker-vscode": "0.0.13",
      "mcu-debug.memory-view": "0.0.19",
      "mcu-debug.rtos-views": "0.0.4",
      "mjmcloug.vscode-elixir": "1.1.0",
      "ms-python.isort": "2022.8.0",
      "ms-python.python": "2022.20.2",
      "ms-vscode.cpptools-extension-pack": "1.3.0",
      "ms-vscode.cpptools-themes": "2.0.0",
      "rust-lang.rust-analyzer": "0.3.1394",
      "trond-snekvik.gnu-mapfiles": "1.1.0"
    }
  },
  "tools": {
    "/home/vebjorn/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc": "0.15.1",
    "/opt/SEGGER/JLink/JLinkExe": "7.84e",
    "/usr/bin/nrfjprog": "10.19.0",
    "nrfutil": "Not found",
    "/home/vebjorn/ncs/toolchains/v2.2.0/usr/local/bin/cmake": "3.20.5",
    "/home/vebjorn/ncs/toolchains/v2.2.0/usr/local/bin/west": "0.14.0",
    "/home/vebjorn/ncs/toolchains/v2.2.0/usr/local/bin/python3": "3.8.2",
    "/home/vebjorn/ncs/toolchains/v2.2.0/usr/local/bin/ninja": "1.9.0",
    "/home/vebjorn/ncs/toolchains/v2.2.0/usr/bin/gperf": "3.1",
    "/home/vebjorn/ncs/toolchains/v2.2.0/usr/bin/dtc": "1.4.7",
    "/home/vebjorn/ncs/toolchains/v2.2.0/opt/bin/gn": "1871",
    "/home/vebjorn/ncs/toolchains/v2.2.0/usr/local/bin/git": "2.37.3",
    "gdbPath": "/home/vebjorn/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb"
  },
  "sdks": [
    {
      "version": "2.2.0",
      "path": "/home/vebjorn/ncs/nrf_connect_sdk"
    }
  ],
  "toolchains": [
    {
      "version": "2.2.0",
      "path": "/home/vebjorn/ncs/toolchains/v2.2.0"
    }
  ],
  "connectedDevices": [
    {
      "serialNumber": "XXXXX"
    }
  ],
  "deviceProviders": [
    "nrfjprog"
  ],
  "config": {
    "nordic-semiconductor.nrf-connect": {
      "topdir": "${nrf-connect.sdk:2.2.0}",
      "toolchain": {
        "path": "${nrf-connect.toolchain:2.2.0}"
      },
      "ozonePath": "",
      "applications": [
        "${workspaceFolder:lesson1-exercise2-blinky}",
        "${workspaceFolder:lesson2-exercise1-polling}",
        "${workspaceFolder:lesson2-exercise2-interrupt}",
        "${workspaceFolder:lesson3-exercise1-application}",
        "${workspaceFolder:lesson3-exercise2-customize}",
        "${workspaceFolder:lesson4-exercise1-print}",
        "${workspaceFolder:lesson4-exercise2-logger}",
        "${workspaceFolder:lesson4-exercise3-config_logger}",
        "${workspaceFolder:lesson5-exercise1-uart_leds}"
      ],
      "applicationOptions": {},
      "kconfig": {
        "interface": "kconfig",
        "executeInDefaultShell": false
      },
      "welcome": {
        "showOnStartup": true
      },
      "west": {
        "env": {
          "$base": "terminal"
        }
      },
      "boardRoots": [],
      "enableTelemetry": false,
      "taskBindings": {},
      "debugging": {
        "backend": "nRF Debug",
        "flash": true,
        "bindings": {}
      },
      "activeAppFollowActiveEditor": true
    },
    "nordic-semiconductor.nrf-terminal": {
      "terminalMode": "character",
      "scrollBack": 1000
    },
    "marus25.cortex-debug": {
      "armToolchainPath": null,
      "armToolchainPrefix": "arm-none-eabi",
      "gdbPath": null,
      "objdumpPath": null,
      "JLinkGDBServerPath": null,
      "openocdPath": null,
      "pyocdPath": null,
      "PEGDBServerPath": null,
      "stutilPath": null,
      "stlinkPath": null,
      "stm32cubeprogrammer": null,
      "enableTelemetry": true,
      "registerUseNaturalFormat": true,
      "variableUseNaturalFormat": true,
      "dbgServerLogfile": null,
      "showDevDebugOutput": "none"
    }
  },
  "environment": {
    "westExe": "west",
    "westEnv": {
      "ELECTRON_RUN_AS_NODE": "1",
      "GIT_EXEC_PATH": "/home/vebjorn/ncs/toolchains/v2.2.0/usr/lib/git-core",
      "HOME": "/home/vebjorn",
      "PATH": "/home/vebjorn/ncs/toolchains/v2.2.0/usr/bin:/home/vebjorn/ncs/toolchains/v2.2.0/usr/local/bin:/home/vebjorn/ncs/toolchains/v2.2.0/opt/bin:/home/vebjorn/ncs/toolchains/v2.2.0/opt/nanopb/generator-bin:/home/vebjorn/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin:/home/vebjorn/ncs/toolchains/v2.2.0/arm-zephyr-eabi/bin:/home/vebjorn/.cargo/bin:/home/vebjorn/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin",
      "ZEPHYR_BASE": "/home/vebjorn/ncs/nrf_connect_sdk/zephyr",
      "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
      "ZEPHYR_SDK_INSTALL_DIR": "/home/vebjorn/ncs/toolchains/v2.2.0/opt/zephyr-sdk",
      "PYTHONPATH": "/home/vebjorn/ncs/toolchains/v2.2.0/usr/local/lib/python3.8/site-packages",
      "USER": "vebjorn"
    },
    "inherited": {
      "ELECTRON_RUN_AS_NODE": "1",
      "HOME": "/home/vebjorn",
      "PATH": "/home/vebjorn/.cargo/bin:/home/vebjorn/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin",
      "USER": "vebjorn"
    },
    "toolchainPath": "/home/vebjorn/ncs/toolchains/v2.2.0",
    "toolchainBinPath": "/home/vebjorn/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin",
    "toolchainVersion": "2.2.0"
  },
  "terminal": {
    "shell": null,
    "defaultProfile": null
  }
}

Parents Reply Children
  • Yes. Autocomplete works with functions.

    I got it working with include paths also now.

    I ran the command C/C++: Edit Configurations (JSON)  and added this as the content of the c_cpp_properties.json in my workspace:

    {
        "configurations": [
            {
                "name": "Linux",
                "configurationProvider": "nrf-connect",
                "includePath": [
                    "${workspaceFolder}/**",
                    "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/include/"
                ],
                "mergeConfigurations": true
            }
        ],
        "version": 4
    }

    For some reason I had to specify the full path, using ${nrf-connect.sdk:2.2.0} did not work.

    I guess you provide some kind of configuration with your extension, I suggest you add the sdk includes folders in the "includePath" so that all your users gets autocomplete on includes files.

  • Glad to hear that you got it working. I forwarded the issue to our developers. 

    What does the command C/C++: Log Diagnostics output on your side?

  • -------- Diagnostics - 2/15/2023, 5:36:44 PM
    Version: 1.13.9
    Current Configuration:
    {
        "name": "Linux",
        "includePath": [
            "${workspaceFolder}/**"
        ],
        "defines": [],
        "compilerPath": "/usr/bin/clang",
        "cStandard": "c17",
        "cppStandard": "c++14",
        "intelliSenseMode": "linux-clang-x64",
        "intelliSenseModeIsExplicit": false,
        "cStandardIsExplicit": false,
        "cppStandardIsExplicit": false,
        "mergeConfigurations": false,
        "compilerPathIsExplicit": false,
        "configurationProvider": "nrf-connect",
        "browse": {
            "path": [
                "${workspaceFolder}/**"
            ],
            "limitSymbolsToIncludedHeaders": true
        }
    }
    Custom browse configuration: 
    {
        "browsePath": [
            "/home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/src/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/include",
            "zephyr/include/generated",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/soc/arm/nordic_nrf/nrf91",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/lib/libc/newlib/include",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/soc/arm/nordic_nrf/common",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrf/include",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrf/include/tfm",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrf/tests/include",
            "tfm/generated/interface/include",
            "/home/vebjorn/ncs/nrf_connect_sdk/modules/hal/cmsis/CMSIS/Core/Include",
            "/home/vebjorn/ncs/nrf_connect_sdk/modules/hal/nordic/nrfx",
            "/home/vebjorn/ncs/nrf_connect_sdk/modules/hal/nordic/nrfx/drivers/include",
            "/home/vebjorn/ncs/nrf_connect_sdk/modules/hal/nordic/nrfx/mdk",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/modules/hal_nordic/nrfx",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/nrf_modem/include",
            "tfm/install/interface/include",
            "modules/nrfxlib/nrfxlib/nrf_security/src/include/generated",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/nrf_security/include",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/nrf_security/include/mbedtls",
            "/home/vebjorn/ncs/nrf_connect_sdk/mbedtls/include",
            "/home/vebjorn/ncs/nrf_connect_sdk/mbedtls/include/mbedtls",
            "/home/vebjorn/ncs/nrf_connect_sdk/mbedtls/include/psa",
            "/home/vebjorn/ncs/nrf_connect_sdk/mbedtls/library",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/crypto/nrf_oberon/include/mbedtls",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/crypto/nrf_oberon/include",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/misc/*",
            "/home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/build/zephyr/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/lib/os/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/kernel/include",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/arch/arm/include",
            "/home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/build/zephyr/misc/generated/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/soc/arm/nordic_nrf/nrf91/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/soc/arm/nordic_nrf/common/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/soc/arm/nordic_nrf/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/subsys/logging/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/subsys/logging/backends/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/subsys/pm/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/subsys/tracing/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrf/lib/adp536x/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrf/subsys/partition_manager/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/arch/arm/core/offsets/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/arch/common/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/arch/arm/core/aarch32/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/arch/arm/core/aarch32/cortex_m/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/arch/arm/core/aarch32/cortex_m/cmse/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/arch/arm/core/aarch32/mpu/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/arch/arm/core/aarch32/mpu/cortex_m",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/lib/libc/newlib/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/soc/arm/common/cortex_m/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrf/boards/arm/thingy91_nrf9160/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/subsys/random/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/drivers/clock_control/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/drivers/console/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/drivers/gpio/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/drivers/i2c/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/drivers/spi/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/drivers/serial/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrf/drivers/entropy/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/drivers/timer/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/drivers/pinctrl/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrf/lib/nrf_modem_lib/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrf/lib/fatal_error/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrf/lib/modem_antenna/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrf/modules/tfm/tfm/boards/src/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/modules/trusted-firmware-m/src/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/modules/trusted-firmware-m/interface/*",
            "/home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/build/tfm/install/interface/src/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/modules/hal/nordic/nrfx/mdk/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/modules/hal_nordic/nrfx/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/modules/hal/nordic/nrfx/helpers/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/modules/hal/nordic/nrfx/drivers/src/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/mbedtls/library/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/nrf_security/src/legacy/*",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/kernel/*"
        ],
        "compilerPath": "/home/vebjorn/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc",
        "standard": "c99",
        "compilerArgsLegacy": []
    }
    Custom configurations:
    [ /home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/src/main.c ]
    {
        "includePath": [
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/include",
            "/home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/build/zephyr/include/generated",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/soc/arm/nordic_nrf/nrf91",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/lib/libc/newlib/include",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/soc/arm/nordic_nrf/common",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrf/include",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrf/include/tfm",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrf/tests/include",
            "/home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/build/tfm/generated/interface/include",
            "/home/vebjorn/ncs/nrf_connect_sdk/modules/hal/cmsis/CMSIS/Core/Include",
            "/home/vebjorn/ncs/nrf_connect_sdk/modules/hal/nordic/nrfx",
            "/home/vebjorn/ncs/nrf_connect_sdk/modules/hal/nordic/nrfx/drivers/include",
            "/home/vebjorn/ncs/nrf_connect_sdk/modules/hal/nordic/nrfx/mdk",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/modules/hal_nordic/nrfx",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/nrf_modem/include",
            "/home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/build/tfm/install/interface/include",
            "/home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/build/modules/nrfxlib/nrfxlib/nrf_security/src/include/generated",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/nrf_security/include",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/nrf_security/include/mbedtls",
            "/home/vebjorn/ncs/nrf_connect_sdk/mbedtls/include",
            "/home/vebjorn/ncs/nrf_connect_sdk/mbedtls/include/mbedtls",
            "/home/vebjorn/ncs/nrf_connect_sdk/mbedtls/include/psa",
            "/home/vebjorn/ncs/nrf_connect_sdk/mbedtls/library",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/crypto/nrf_oberon/include/mbedtls",
            "/home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/crypto/nrf_oberon/include"
        ],
        "defines": [
            "KERNEL",
            "MBEDTLS_CONFIG_FILE=\\\"nrf-config.h\\\"",
            "MBEDTLS_USER_CONFIG_FILE=\\\"nrf-config-user.h\\\"",
            "NRF9160_XXAA",
            "NRF_SKIP_FICR_NS_COPY_TO_RAM",
            "NRF_TRUSTZONE_NONSECURE",
            "TFM_PSA_API",
            "USE_PARTITION_MANAGER=1",
            "_ANSI_SOURCE",
            "_FORTIFY_SOURCE=1",
            "__LINUX_ERRNO_EXTENSIONS__",
            "__PROGRAM_START",
            "__ZEPHYR__=1",
            "__CDT_PARSER__"
        ],
        "standard": "c99",
        "forcedInclude": [
            "/home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/build/zephyr/include/generated/autoconf.h",
            "/home/vebjorn/ncs/nrf_connect_sdk/zephyr/include/zephyr/toolchain/zephyr_stdint.h"
        ],
        "intelliSenseMode": "linux-gcc-arm",
        "compilerPath": "/home/vebjorn/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc",
        "compilerArgs": [
            "-mcpu=cortex-m33",
            "-mthumb",
            "-mabi=aapcs",
            "-mfp16-format=ieee"
        ]
    }
    Translation Unit Mappings:
    [ /home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/src/main.c ]:
        /home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/src/main.c
    Translation Unit Configurations:
    [ /home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/src/main.c ]:
        Process ID: 2816
        Memory Usage: 278 MB
        Compiler Path: /home/vebjorn/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
        Includes:
            /home/vebjorn/ncs/nrf_connect_sdk/zephyr/include
            /home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/build/zephyr/include/generated
            /home/vebjorn/ncs/nrf_connect_sdk/zephyr/soc/arm/nordic_nrf/nrf91
            /home/vebjorn/ncs/nrf_connect_sdk/zephyr/lib/libc/newlib/include
            /home/vebjorn/ncs/nrf_connect_sdk/zephyr/soc/arm/nordic_nrf/common
            /home/vebjorn/ncs/nrf_connect_sdk/nrf/include
            /home/vebjorn/ncs/nrf_connect_sdk/nrf/include/tfm
            /home/vebjorn/ncs/nrf_connect_sdk/nrf/tests/include
            /home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/build/tfm/generated/interface/include
            /home/vebjorn/ncs/nrf_connect_sdk/modules/hal/cmsis/CMSIS/Core/Include
            /home/vebjorn/ncs/nrf_connect_sdk/modules/hal/nordic/nrfx
            /home/vebjorn/ncs/nrf_connect_sdk/modules/hal/nordic/nrfx/drivers/include
            /home/vebjorn/ncs/nrf_connect_sdk/modules/hal/nordic/nrfx/mdk
            /home/vebjorn/ncs/nrf_connect_sdk/zephyr/modules/hal_nordic/nrfx
            /home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/nrf_modem/include
            /home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/build/tfm/install/interface/include
            /home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/build/modules/nrfxlib/nrfxlib/nrf_security/src/include/generated
            /home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/nrf_security/include
            /home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/nrf_security/include/mbedtls
            /home/vebjorn/ncs/nrf_connect_sdk/mbedtls/include
            /home/vebjorn/ncs/nrf_connect_sdk/mbedtls/include/mbedtls
            /home/vebjorn/ncs/nrf_connect_sdk/mbedtls/include/psa
            /home/vebjorn/ncs/nrf_connect_sdk/mbedtls/library
            /home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/crypto/nrf_oberon/include/mbedtls
            /home/vebjorn/ncs/nrf_connect_sdk/nrfxlib/crypto/nrf_oberon/include
            /home/vebjorn/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/12.1.0/include
            /home/vebjorn/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/12.1.0/include-fixed
            /home/vebjorn/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/sys-include
            /home/vebjorn/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/include
        Defines:
            KERNEL
            MBEDTLS_CONFIG_FILE=\"nrf-config.h\"
            MBEDTLS_USER_CONFIG_FILE=\"nrf-config-user.h\"
            NRF9160_XXAA
            NRF_SKIP_FICR_NS_COPY_TO_RAM
            NRF_TRUSTZONE_NONSECURE
            TFM_PSA_API
            USE_PARTITION_MANAGER=1
            _ANSI_SOURCE
            _FORTIFY_SOURCE=1
            __LINUX_ERRNO_EXTENSIONS__
            __PROGRAM_START
            __ZEPHYR__=1
            __CDT_PARSER__
        Forced Includes:
            /home/vebjorn/Code/nordic-academy/fundamentals/lesson6-exercise2-i2c/build/zephyr/include/generated/autoconf.h
            /home/vebjorn/ncs/nrf_connect_sdk/zephyr/include/zephyr/toolchain/zephyr_stdint.h
        Standard Version: c99
        IntelliSense Mode: linux-gcc-arm
        Other Flags:
            --gcc
            --gnu_version=120100
    Total Memory Usage: 278 MB
    

Related