unexpected entries in build configuration

Hi,

I switched to SDK 3.0.0 and got back problem, that I had some time ago with 2.6?? When my code compiles, but controller stuck after many successful builds and I open build configuration, sometimes there are entries from different projects. "Extra CMake arguments" and multiple "Base configuration files" I didn't add there. Even from projects, that are not opened, but just in same /nrf folder. I tried to remove those entries, make pristine build and as recommended by AI cleaned nrfconnect-apps folder, open now only one project at time, restarted computer, but no success. I have to check before every build or flash, because I can't trust it anymore. Can't find pattern. Sometimes I can make 10 builds ok, sometimes after next build there are unwanted entries.

Parents Reply Children
  • // IMPORTANT: The following data can contain sensitive or confidential information about your environment.
    // If you do not want others to see this information, make sure to remove it before sharing the data.

    // For help and support, visit Nordic Semiconductor's DevZone at devzone.nordicsemi.com/.

    {
    "platform": {
    "os": "win32",
    "osVersion": "Windows 10 Pro",
    "osKernel": "10.0.19045",
    "vscode": "1.88.1",
    "electron": "28.2.8",
    "node": "v18.18.2"
    },
    "system": {
    "date": "2025-04-29T15:59:28.153Z",
    "vscodeRoot": "c:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
    "nrfConnectForDesktopInstalled": true,
    "vscodeUptime": "03:19:51",
    "osUptime": "99:36:55",
    "cpu": "AMD Ryzen 7 PRO 4750U with Radeon Graphics"
    },
    "workspace": {
    "name": "Untitled (Workspace)",
    "workspaceFile": "1745690036251",
    "folders": [
    "c:\\NRF\\gw_51_3"
    ]
    },
    "sdks": [
    {
    "version": "v3.0.0",
    "path": "c:\\ncs\\v3.0.0"
    },
    {
    "version": "v2.9.1",
    "path": "c:\\ncs\\v2.9.1"
    },
    {
    "version": "v2.9.0",
    "path": "c:\\ncs\\v2.9.0"
    },
    {
    "version": "v2.8.0",
    "path": "c:\\ncs\\v2.8.0"
    },
    {
    "version": "v2.7.0",
    "path": "c:\\ncs\\v2.7.0"
    },
    {
    "version": "v2.7.0",
    "path": "c:\\NRF\\workspace"
    }
    ],
    "activeBuild": "c:\\NRF\\gw_51_3\\build_60_3_nolog",
    "apps": [
    {
    "workspace": "c:\\NRF\\gw_51_3",
    "uri": "c:\\NRF\\gw_51_3",
    "buildConfigurations": [
    {
    "id": "c:\\NRF\\gw_51_3\\build_60_3_nolog",
    "name": "build_60_3_nolog",
    "boardId": "[email protected]/nrf9160/ns",
    "type": "Sysbuild",
    "isChild": false,
    "isStale": false,
    "taskBindings": {
    "build": [],
    "pristineBuild": [],
    "flash": [],
    "eraseAndFlash": []
    },
    "sdk": "c:\\ncs\\v3.0.0",
    "toolchain": "nRF Connect SDK Toolchain v3.0.0"
    },
    {
    "id": "c:\\NRF\\gw_51_3\\build_log",
    "name": "build_log",
    "boardId": "nrf9151dk/nrf9151/ns",
    "type": "Sysbuild",
    "isChild": false,
    "isStale": false,
    "taskBindings": {
    "build": [],
    "pristineBuild": [],
    "flash": [],
    "eraseAndFlash": []
    },
    "sdk": "c:\\ncs\\v3.0.0",
    "toolchain": "nRF Connect SDK Toolchain v3.0.0"
    },
    {
    "id": "c:\\NRF\\gw_51_3\\build_nolog",
    "name": "build_nolog",
    "boardId": "nrf9151dk/nrf9151/ns",
    "type": "Sysbuild",
    "isChild": false,
    "isStale": false,
    "taskBindings": {
    "build": [],
    "pristineBuild": [],
    "flash": [],
    "eraseAndFlash": []
    },
    "sdk": "c:\\ncs\\v3.0.0",
    "toolchain": "nRF Connect SDK Toolchain v3.0.0"
    }
    ]
    }
    ],
    "toolchains": [
    {
    "version": "3.0.0",
    "path": "c:\\ncs\\toolchains\\0b393f9e1b"
    },
    {
    "version": "2.9.1",
    "path": "c:\\ncs\\toolchains\\b620d30767"
    },
    {
    "version": "2.9.0",
    "path": "c:\\ncs\\toolchains\\b620d30767"
    },
    {
    "version": "2.8.0",
    "path": "c:\\ncs\\toolchains\\2d382dcd92"
    },
    {
    "version": "2.7.0",
    "path": "c:\\ncs\\toolchains\\ce3b5ff664"
    }
    ],
    "connectedDevices": [],
    "tools": {
    "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gcc.exe": "0.17.0",
    "C:\\Program Files\\SEGGER\\JLink_V794i\\JLink.exe": "7.94i",
    "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.24.2",
    "C:\\Users\\urmas.joeleht\\.nrfutil\\bin\\nrfutil.exe": "7.4.1",
    "C:\\ncs\\toolchains\\0b393f9e1b\\cmake": "3.21.0",
    "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\Scripts\\west.exe": "1.2.0",
    "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\python.exe": "3.12.4",
    "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\ninja.exe": "1.10.2",
    "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\gperf.exe": "3.1",
    "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\dtc.exe": "1.4.7",
    "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\gn.exe": "2223",
    "C:\\ncs\\toolchains\\0b393f9e1b\\mingw64\\bin\\git.exe": "2.37.3.windows.1",
    "arm-gdbPath": "c:\\ncs\\toolchains\\0b393f9e1b\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe",
    "riscv-gdbPath": "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin\\riscv64-zephyr-elf-gdb.exe"
    },
    "nrfutil": {
    "nrfutil-device": {
    "version": "2.8.8",
    "binPath": "c:\\Users\\urmas.joeleht\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.4.106-win32-x64\\platform\\nrfutil\\bin\\nrfutil-device"
    },
    "nrfutil-sdk-manager": {
    "version": "1.0.2",
    "binPath": "c:\\Users\\urmas.joeleht\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.4.106-win32-x64\\platform\\nrfutil\\bin\\nrfutil-sdk-manager"
    }
    },
    "environment": {
    "westEnv": {
    "HOME": "C:\\Users\\urmas.joeleht",
    "HOMEDRIVE": "C:",
    "HOMEPATH": "\\Users\\urmas.joeleht",
    "PATH": "C:\\ncs\\toolchains\\0b393f9e1b;C:\\ncs\\toolchains\\0b393f9e1b\\mingw64\\bin;C:\\ncs\\toolchains\\0b393f9e1b\\bin;C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin;C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\Scripts;C:\\ncs\\toolchains\\0b393f9e1b\\opt\\nanopb\\generator-bin;C:\\ncs\\toolchains\\0b393f9e1b\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin;C:\\ncs\\toolchains\\0b393f9e1b\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin;c:\\Users\\urmas.joeleht\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.4.106-win32-x64\\platform\\nrfutil\\lib\\nrfutil-sdk-manager;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\IDEMIA\\AWP\\Dlls;C:\\Program Files\\IDEMIA\\AWP\\Dlls;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\STMicroelectronics\\STM32 ST-LINK Utility\\ST-LINK Utility;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Git\\cmd;C:\\Users\\urmas.joeleht\\.nrfutil\\bin\\;C:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Python\\Python313\\Scripts\\;C:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Python\\Python313\\;C:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\;C:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Python\\Python312\\;;C:\\ncs\\toolchains\\v2.3.0\\opt\\bin\\Scripts;C:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
    "ZEPHYR_BASE": "c:\\ncs\\v3.0.0\\zephyr",
    "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
    "ZEPHYR_SDK_INSTALL_DIR": "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\zephyr-sdk",
    "PYTHONPATH": "C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin;C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\Lib;C:\\ncs\\toolchains\\0b393f9e1b\\opt\\bin\\Lib\\site-packages"
    },
    "inherited": {
    "HOME": "C:\\Users\\urmas.joeleht",
    "HOMEDRIVE": "C:",
    "HOMEPATH": "\\Users\\urmas.joeleht",
    "Path": "C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\IDEMIA\\AWP\\Dlls;C:\\Program Files\\IDEMIA\\AWP\\Dlls;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\STMicroelectronics\\STM32 ST-LINK Utility\\ST-LINK Utility;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Git\\cmd;C:\\Users\\urmas.joeleht\\.nrfutil\\bin\\;C:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Python\\Python313\\Scripts\\;C:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Python\\Python313\\;C:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\;C:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Python\\Python312\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\IDEMIA\\AWP\\Dlls;C:\\Program Files\\IDEMIA\\AWP\\Dlls;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\STMicroelectronics\\STM32 ST-LINK Utility\\ST-LINK Utility;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Git\\cmd;C:\\Users\\urmas.joeleht\\.nrfutil\\bin\\;;C:\\ncs\\toolchains\\v2.3.0\\opt\\bin\\Scripts;C:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
    "PATH": "C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\IDEMIA\\AWP\\Dlls;C:\\Program Files\\IDEMIA\\AWP\\Dlls;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\STMicroelectronics\\STM32 ST-LINK Utility\\ST-LINK Utility;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Git\\cmd;C:\\Users\\urmas.joeleht\\.nrfutil\\bin\\;C:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Python\\Python313\\Scripts\\;C:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Python\\Python313\\;C:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\;C:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Python\\Python312\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\IDEMIA\\AWP\\Dlls;C:\\Program Files\\IDEMIA\\AWP\\Dlls;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\STMicroelectronics\\STM32 ST-LINK Utility\\ST-LINK Utility;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Git\\cmd;C:\\Users\\urmas.joeleht\\.nrfutil\\bin\\;;C:\\ncs\\toolchains\\v2.3.0\\opt\\bin\\Scripts;C:\\Users\\urmas.joeleht\\AppData\\Local\\Programs\\Microsoft VS Code\\bin"
    }
    },
    "terminal": {
    "defaultProfile": null
    },
    "config": {
    "nordic-semiconductor.nrf-connect": {
    "topdir": "",
    "toolchain": {
    "path": "PATH"
    },
    "ozonePath": "",
    "applications": [],
    "applicationOptions": {},
    "kconfig": {
    "interface": "menuconfig"
    },
    "west": {
    "env": {
    "$base": "terminal"
    }
    },
    "boardRoots": [
    "c:\\nrf\\my_boards"
    ],
    "taskBindings": {},
    "buildTerminal": {
    "condensedProgress": true
    },
    "debugging": {
    "flash": true,
    "bindings": {},
    "justMyCode": false
    },
    "activeAppFollowActiveEditor": true,
    "flash": {
    "softreset": false,
    "erase": false,
    "recover": false
    },
    "enableTelemetry": true,
    "thirdpartyIntegration": {},
    "toolchainManager": {
    "indexURL": null,
    "installDirectory": null
    },
    "nrfutil": {
    "home": null
    },
    "defaultOpenAction": "ask",
    "terminalProfile": {
    "shell": null
    },
    "welcome": {
    "showOnStartup": true
    },
    "deviceProvider": "nrfjprog"
    },
    "nordic-semiconductor.nrf-terminal": {
    "terminalMode": "character"
    },
    "marus25.cortex-debug": {
    "variableUseNaturalFormat": true,
    "liveWatchRefreshRate": "300",
    "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,
    "dbgServerLogfile": null
    }
    },
    "extensions": {
    "internal": {
    "nordic-semiconductor.nrf-connect": {
    "version": "2025.4.106",
    "path": "c:\\Users\\urmas.joeleht\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.4.106-win32-x64",
    "isActive": true
    },
    "nordic-semiconductor.nrf-terminal": {
    "version": "2024.9.14",
    "path": "c:\\Users\\urmas.joeleht\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2024.9.14",
    "isActive": true
    },
    "nordic-semiconductor.nrf-devicetree": {
    "version": "2025.4.22",
    "path": "c:\\Users\\urmas.joeleht\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2025.4.22",
    "isActive": true
    },
    "nordic-semiconductor.nrf-kconfig": {
    "version": "2025.4.26",
    "path": "c:\\Users\\urmas.joeleht\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2025.4.26",
    "isActive": true
    }
    },
    "external": {
    "marus25.cortex-debug": "1.12.1",
    "ms-vscode.cpptools": "1.23.6",
    "ms-vscode.js-debug": "1.88.0",
    "ms-vscode.js-debug-companion": "1.1.2",
    "ms-vscode.vscode-js-profile-table": "1.0.8",
    "aaron-bond.better-comments": "3.0.2",
    "brapifra.c-compiler": "0.0.4",
    "chipcode-nl.gcc-arm-windows": "1.0.1",
    "esbenp.prettier-vscode": "11.0.0",
    "hediet.vscode-drawio": "1.9.0",
    "mcu-debug.debug-tracker-vscode": "0.0.15",
    "mcu-debug.memory-view": "0.0.25",
    "mcu-debug.peripheral-viewer": "1.4.6",
    "mcu-debug.rtos-views": "0.0.7",
    "mhutchie.git-graph": "1.30.0",
    "ms-python.python": "2024.4.1",
    "ms-vscode.hexeditor": "1.9.14",
    "ms-vscode.makefile-tools": "0.12.17",
    "PKief.material-icon-theme": "5.20.0",
    "platformio.platformio-ide": "3.3.4",
    "trond-snekvik.gnu-mapfiles": "1.1.0",
    "twxs.cmake": "0.0.17",
    "ZainChen.json": "2.0.2"
    }
    }
    }

  • I discovered, that when I delete all those wrong entries and build all 3 builds in project, all seems ok, no those entries in build edit, but if I "save configuration as preset", in preset, there are again wrong entries. There were no  presets before in this folder. After saving build configurations are still ok. 
    In this preset I see differences: I don't have revision in build - "[email protected]/"
    board root "../gw_51_3_fota" is not actual project folder and isn't open project.

    {
        "version": 2,
        "cmakeMinimumRequired": {
            "major": 3,
            "minor": 20
        },
        "configurePresets": [
            {
                "name": "build_60_3_nolog",
                "displayName": "Build for nRF9160 DK nRF9160 Non Secure",
                "generator": "Ninja",
                "binaryDir": "${sourceDir}/build_60_3_nolog",
                "cacheVariables": {
                    "BOARD": "[email protected]/nrf9160/ns",
                    "CONF_FILE": "prj.conf",
                    "DTC_OVERLAY_FILE": "nrf9160dk_nrf9160_ns.overlay",
                    "BOARD_ROOT": "${sourceParentDir}/my_boards;${sourceDir}/;${sourceParentDir}/gw_51_3_fota"
                }
            },
            {
                "name": "build_log",
                "displayName": "Build for nRF9151 DK nRF9151 Non Secure",
                "generator": "Ninja",
                "binaryDir": "${sourceDir}/build_log",
                "cacheVariables": {
                    "BOARD": "nrf9151dk/nrf9151/ns",
                    "CONF_FILE": "prj_log.conf",
                    "DTC_OVERLAY_FILE": "nrf9151dk_nrf9151_ns.overlay",
                    "BOARD_ROOT": "${sourceParentDir}/my_boards;${sourceDir}/"
                }
            },
            {
                "name": "build_nolog",
                "displayName": "Build for nRF9151 DK nRF9151 Non Secure",
                "generator": "Ninja",
                "binaryDir": "${sourceDir}/build_nolog",
                "cacheVariables": {
                    "BOARD": "nrf9151dk/nrf9151/ns",
                    "CONF_FILE": "prj.conf",
                    "DTC_OVERLAY_FILE": "nrf9151dk_nrf9151_ns.overlay",
                    "BOARD_ROOT": "${sourceParentDir}/my_boards;${sourceDir}/;${sourceParentDir}/gw_51_3_fota"
                }
            }
        ]
    }
Related