Questions about visual study code

I want to develop it in visual study code.
I have a few problems right now

1. The left nrf icon in the attached image continues to disappear.
Whenever it disappears, if you remove it from the extension and restart the extension, the icon reappears, but if you turn off vs code and turn it back on, it disappears again.

2 create a new application does not create when you import a sample from the module directory and create a build configuration.

It hasn't been going on for several days due to the above two problems.
Please tell me the solution to the above

I would like to ask if there is no sdk about nrf5340 or nrf7002 in keil or ses. (vs code is too inconvenient)

1.

2.

  • Hi,

    1. The left nrf icon in the attached image continues to disappear.
    Whenever it disappears, if you remove it from the extension and restart the extension, the icon reappears, but if you turn off vs code and turn it back on, it disappears again.

    I have not found any other reports of this. Can you say more about what you do when the icond disappears? Also, can you generate and upload the support intormation here?

    2 create a new application does not create when you import a sample from the module directory and create a build configuration.

    I suspect you are seeing these issues because you do not have git installed and/or have not configured it fully, as described in this post. You can either do that, or as a workaround copy the sample manually, or run it in place (without making a copy).

  • 안녕하세요.
    콘텐츠 1에 대해 생성된 지원 정보를 업로드합니다.

    VS Code를 켰는데 위 이미지와 같이 nrf 확장 아이콘이 없어서 확장 프로그램에서 사용하지 않았습니다 -> 확장 재개 -> 클릭하여 다시 나타나고 복사합니다.

    두 번째 내용에 대해 시도해 보겠습니다.

    감사합니다.

    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    중요: 아래 데이터에는 사용자 환경에 대한 민감한 정보나 기밀 정보가 포함될 수 있습니다.
    다른 사람이 이 기능을 보는 것을 원하지 않으면 공유하기 전에 제거해야 합니다.

    도움과 지원이 필요한 경우 Nordic DevZone(devzone.nordicsemi.com/)을 방문하세요.

    {
    "플랫폼": {
    "os": "win32",
    "osVersion": "Windows 11 Home",
    "osKernel": "10.0.22631",
    "vscode": "1.94.2",
    "electron": "30.5.1",
    "node": "v20.16.0"
    },
    "system": {
    "date": "2024-10-24T01:17:34.567Z",
    "vscodeRoot": "c:\\Program Files\\Microsoft VS Code\\resources\\app",
    "nrfConnectForDesktopInstalled": true,
    "vscodeUptime": "00:00:14",
    "osUptime": "20:01:27",
    "cpu": "Intel(R) Core(TM) Ultra 7 155H"
    },
    "workspace": {
    "name": "sta",
    "workspaceFile": null,
    "folders": [
    "\\c\\ncs\\sta"
    ]
    },
    "sdks": [
    {
    "version": "v2.7.0",
    "path": "c:\\ncs\\v2.7.0"
    },
    {
    "version": "v2.6.1",
    "path": "c:\\ncs\\ v2.6.1"
    },
    {
    "버전": "v2.6.0",
    "경로": "c:\\ncs\\v2.6.0"
    }
    ],
    "activeBuild": "\\c\\ncs\\sta\\빌드",
    "앱": [
    {
    "workspace": "\\c\\ncs\\sta",
    "uri": "\\c\\ncs\\sta",
    "buildConfigurations": [
    {
    "id": "\\c\\ncs\\sta\\build",
    "name": "build",
    "boardId": "nrf7002dk/ nrf5340/cpuapp",
    "type": "Zephyr",
    "isChild": false,
    "isStale": false,
    "taskBindings": {
    "build": [],
    "pristineBuild": [],
    "flash": [],
    "eraseAndFlash": []
    }

    } ]
    }
    ],
    "topdir": "c:\\ncs\\v2.7.0",
    "workspaceState": "freestanding-ready",
    "toolchains": [
    {
    "버전": "2.7.0",
    "경로": "c:\\ncs\\toolchains\\ce3b5ff664"
    },
    {
    "버전": "2.6.1",
    "경로": "c:\\ncs\\toolchains\\cf2149caf2"
    },
    {
    "버전": "2.6.0",
    "경로": "c:\\ncs\\toolchains\\cf2149caf2"
    }
    ],
    "activeToolchain": {
    "유형": "설치",
    "경로": "c:\\ncs\\toolchains\\ce3b5ff664",
    "버전": "2.7.0",
    "displayName": "nRF Connect SDK 툴체인 v2.7.0"
    },
    "connectedDevices": [],
    "deviceProvider": "nrfutil",
    "도구": {
    "C:\\ncs\\toolchains\\ce3b5ff664\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gcc.exe": "0.16.5-1",
    "C:\\프로그램 파일\\SEGGER\\JLink_V794e\\JLink.exe": "7.94e",
    "C:\\프로그램 파일\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.24.2",
    "C:\\ncs\\toolchains\\ce3b5ff664\\cmake": "3.21.0",
    "C:\\ncs\\toolchains\\ce3b5ff664\\opt\\bin\\스크립트\\west.exe": "1.2.0",
    "C:\\ncs\\toolchains\\ce3b5ff664\\opt\\bin\\python.exe": "3.9.13",
    "C:\\ncs\\toolchains\\ce3b5ff664\\opt\\bin\\ninja.exe": "1.10.2",
    "C:\\ncs\\toolchains\\ce3b5ff664\\opt\\bin\\ gperf.exe": "3.1",
    "C:\\ncs\\toolchains\\ce3b5ff664\\opt\\bin\\dtc.exe": "1.4.7",
    "C:\\ncs\\toolchains\\ce3b5ff664\\opt\\bin\\gn.exe": "2172",
    "C:\\ncs\\toolchains\\ce3b5ff664\\mingw64\\bin\\git.exe": "2.37.3.windows.1",
    "arm-gdbPath": "c:\\ncs\\toolchains\\ce3b5ff664\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe",
    "riscv-gdbPath": "C:\\ncs\\toolchains\\ce3b5ff664\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin\\riscv64-zephyr-elf-gdb.exe"
    },
    "nrfutil": {
    "nrfutil-device": {
    "버전": "2.5.0",
    "binPath": "c:\\Users\\Oz\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2024.9.87-win32-x64\\platform\\nrfutil\\bin\\nrfutil-device"
    },
    "nrfutil-toolchain-manager": {
    "version": "0.14.4",
    "binPath": "c:\\Users\\Oz\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2024.9.87-win32-x64\\platform\\nrfutil\\bin\\nrfutil-toolchain-manager"
    }
    },
    " environment": {
    "westEnv": {
    "HOME": "C:\\Users\\Oz",
    "HOMEDRIVE": "C:",
    "HOMEPATH": "\\Users\\Oz",
    "PATH": "C:\\ncs\\toolchains\\ce3b5ff664; C:\\ncs\\툴체인\\ce3b5ff664\\mingw64\\bin; C:\\ncs\\툴체인\\ce3b5ff664\\bin; C:\\ncs\\툴체인\\ce3b5ff664\\opt\\bin; C:\\ncs\\툴체인\\ce3b5ff664\\opt\\bin\\스크립트; C:\\ncs\\툴체인\\ce3b5ff664\\opt\\nanopb\\발전기-bin; C:\\ncs\\툴체인\\ce3b5ff664\\opt\\zephyr-sdk\\aarch64-zephyr-elf\\bin; C:\\ncs\\툴체인\\ce3b5ff664\\opt\\zephyr-sdk\\x86_64-zephyr-elf\\bin; C:\\ncs\\툴체인\\ce3b5ff664\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin; C:\\ncs\\툴체인\\ce3b5ff664\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin; c:\\Users\\Oz\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2024.9.87-win32-x64\\platform\\nrfutil\\lib\\nrfutil-toolchain-manager; C:\\프로그램 파일(x86)\\NVIDIA Corporation\\PhysX\\common; C:\\윈도우\\시스템32; C:\\윈도우; C:\\Windows\\System32\\Wbem입니다. C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\; C:\\Windows\\System32\\OpenSSH\\; C:\\프로그램 파일\\반디집\\; C:\\프로그램 파일\\dotnet\\; C:\\프로그램 파일\\노르딕 세미컨덕터\\nrf-command-line-tools\\bin\\; C:\\프로그램 파일(x86)\\Windows 키트\\8.1\\Windows 성능 툴킷\\; C:\\파이썬\\스크립트\\; C:\\파이썬\\; C:\\Users\\Oz\\AppData\\Local\\Programs\\Python\\Launcher\\; C:\\Users\\Oz\\AppData\\Local\\Microsoft\\WindowsApps;; C:\\Users\\Oz\\AppData\\Local\\afreeca입니다. C:\\사용자\\Oz\\AppData\\로컬\\SOOP; C:\\Program Files\\Microsoft VS Code\\bin",
    "ZEPHYR_BASE": "c:\\ncs\\v2.7.0\\zephyr",
    "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
    "ZEPHYR_SDK_INSTALL_DIR": "C:\\ncs\\toolchains\\ce3b5ff664\\opt\\zephyr-sdk",
    "PYTHONPATH": "C:\\ncs\\toolchains\\ce3b5ff664\\opt\\bin; C:\\ncs\\툴체인\\ce3b5ff664\\opt\\bin\\Lib; C:\\ncs\\toolchains\\ce3b5ff664\\opt\\bin\\Lib\\site-packages"
    },
    "inherited": {
    "HOME": "C:\\Users\\Oz",
    "HOMEDRIVE": "C:",
    "HOMEPATH": "\\Users\\Oz",
    "path": "C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common; C:\\윈도우\\시스템32; C:\\윈도우; C:\\Windows\\System32\\Wbem입니다. C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\; C:\\Windows\\System32\\OpenSSH\\; C:\\프로그램 파일\\반디집\\; C:\\프로그램 파일\\dotnet\\; C:\\프로그램 파일\\노르딕 세미컨덕터\\nrf-command-line-tools\\bin\\; C:\\프로그램 파일(x86)\\Windows 키트\\8.1\\Windows 성능 툴킷\\; C:\\파이썬\\스크립트\\; C:\\파이썬\\; C:\\사용자\\Oz\\AppData\\로컬\\P로그램\\파이썬\\런처\\; C:\\Users\\Oz\\AppData\\Local\\Microsoft\\WindowsApps;; C:\\Users\\Oz\\AppData\\Local\\afreeca입니다. C:\\사용자\\Oz\\AppData\\로컬\\SOOP; C:\\Program Files\\Microsoft VS Code\\bin",
    "PATH": "C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common; C:\\윈도우\\시스템32; C:\\윈도우; C:\\Windows\\System32\\Wbem입니다. C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\; C:\\Windows\\System32\\OpenSSH\\; C:\\프로그램 파일\\반디집\\; C:\\프로그램 파일\\dotnet\\; C:\\프로그램 파일\\노르딕 세미컨덕터\\nrf-command-line-tools\\bin\\; C:\\프로그램 파일(x86)\\Windows 키트\\8.1\\Windows 성능 툴킷\\; C:\\파이썬\\스크립트\\; C:\\파이썬\\; C:\\Users\\Oz\\AppData\\Local\\Programs\\Python\\Launcher\\; C:\\Users\\Oz\\AppData\\Local\\Microsoft\\WindowsApps;; C:\\Users\\Oz\\AppData\\Local\\afreeca입니다. C:\\사용자\\Oz\\AppData\\로컬\\SOOP; C:\\Program Files\\Microsoft VS Code\\bin"
    }
    },
    "terminal": {
    "defaultProfile": null
    },
    "config": {
    "nordic-semiconductor.nrf-connect": {
    "topdir": "${nrf-connect.sdk:2.7.0}",
    "toolchain": {
    "path": "${nrf-connect.toolchain:2.7.0}"
    },
    "ozonePath": "",
    "applications": [],
    "applicationOptions": {},
    "kconfig": {
    "interface": "kconfig"
    },
    "west": {
    "env": {
    "$base": "terminal"
    }
    },
    "boardRoots": [
    "c:\\ncs",
    "c:\\Workspace\\Nordic"
    ],
    "taskBindings": {},
    "buildTerminal": {
    "condensedProgress": true
    },
    "debugging": {
    "flash": true,
    "bindings": {},
    "justMyCode": true
    },
    "activeAppFollowActiveEditor": true,
    "deviceProvider": "nrfutil",
    "flash": {
    "softreset": false,
    "erase": false,
    "recover": false
    },
    "enableTelemetry": true,
    "thirdpartyIntegration": {},
    "toolchainManager": {
    "indexURL": null,
    "installDirectory": null
    },
    "nrfutil": {
    "home": null
    },
    "defaultOpenAction": "ask"
    },
    "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": {
    "버전": "2024.9.87",
    "경로": "c:\\Users\\Oz\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2024.9.87-win32-x64",
    "isActive": true
    },
    "nordic-semiconductor.nrf-terminal": {
    "version": "2024.9.14",
    "path": "c:\\Users\\Oz\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2024.9.14",
    "isActive": true
    },
    "nordic-semiconductor.nrf-devicetree": {
    "버전": "2024.9.26",
    "경로": "c:\\Users\\Oz\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2024.9.26",
    "isActive": true
    },
    "nordic-semiconductor.nrf-kconfig": {
    "버전": "2024.9.20",
    "경로": "c:\\Users\\Oz\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2024.9.20",
    "isActive": true
    }
    },
    " 외부": {
    "marus25.cortex-debug": "1.12.1",
    "ms-vscode.cpptools": "1.22.10",
    "ms-vscode.js-debug": "1.94.0",
    "ms-vscode.js-debug-companion": "1.1.3",
    "ms-vscode.vscode-js-profile-table": "1.0.10",
    "DavidAnson.vscode-markdownlint": "0.56.0",
    "GitHub.copilot": "1.242.0",
    "GitHub.copilot-chat": "0.21.2",
    " 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",
    "MS-CEINTL.vscode-language-pack-ko": "1.94.2024101609",
    "ms-vscode.cmake-tools": "1.19.52",
    "ms-vscode.cpptools-extension-pack": "1.3.0",
    "ms-vscode.makefile-tools": "0.11.13",
    " ms-vscode.vscode-serial-monitor": "0.13.1",
    "trond-snekvik.gnu-mapfiles": "1.1.0",
    "twxs.cmake": "0.0.17"

    }
    }
    }

  • Hello.
    About number two
    I also linked it to github, and even if I copy and paste files in the common folder into the path, the configuration will not be created.
    Looking at the attached image again, the CMakeList path seems to be set differently, where can I set the path?

  • Hi,

    Regarding issue 1, we are having problems understanding how that could happen. Do you see anything in the developer console, under "Help > Toggle Developer Tools"?

    Also, the debug information  that you shared seens to be manipulated somehow? Did you do any changes to it or automatically translate part sof it or similar? I ask because there are text stings there in Korean that I would expect should always be in English.

    And regarding issue 2, the sample use relative dependencies to other code (../comon/..), and when the sample is copied out, those files are not include,and will therefore not be found. I suggest bulding the sample in place in the SDK folder to avoid that issue.

Related