{"id":292,"date":"2025-09-21T02:34:04","date_gmt":"2025-09-20T18:34:04","guid":{"rendered":"https:\/\/szddt.com\/?p=292"},"modified":"2025-12-24T15:20:04","modified_gmt":"2025-12-24T07:20:04","slug":"visual-studio-code%e9%87%8cncs%e4%b8%8b%e8%bd%bd%e5%8a%a0%e9%80%9f","status":"publish","type":"post","link":"https:\/\/szddt.com\/?p=292","title":{"rendered":"Visual studio code\u91ccncs\u4e0b\u8f7d\u52a0\u901f"},"content":{"rendered":"\n<p>\u9274\u4e8e\u7b80\u4e2d\u7f51\u7edc\u73af\u5883\u7684\u7279\u5f02\u6027\uff0c\u5f00\u53d1nrf54L\u7cfb\u5217\u5fc5\u987b\u4f7f\u7528nRF Connect SDK(NCS)\/Zephyr\u5f00\u53d1\uff0c\u5bfc\u81f4\u4e0b\u8f7d\u75db\u82e6\u4e0d\u582a\u3002\u4f9d\u636encs\u7684\u66f4\u65b0\u65e5\u5fd7\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;00:00:51] Stale build configuration (hello_world - build): Unable to find the SDK at path: C:\/ncs\/v3.1.0\/zephyr\n&#91;00:00:51] Stale build configuration (hello_world - build_1): Unable to find the SDK at path: C:\/ncs\/v3.1.0\/zephyr\n&#91;00:00:51] Stale build configuration (blinky - build): Unable to find the SDK at path: C:\/ncs\/v3.1.0\/zephyr\n&#91;00:00:51] Stale build configuration (hello_world - build\/hello_world): Unable to find the SDK at path: C:\/ncs\/v3.1.0\/zephyr\n&#91;00:00:51] Stale build configuration (hello_world - build_1\/hello_world): Unable to find the SDK at path: C:\/ncs\/v3.1.0\/zephyr\n&#91;00:00:51] Stale build configuration (blinky - build\/blinky): Unable to find the SDK at path: C:\/ncs\/v3.1.0\/zephyr\n&#91;00:01:55] nrfutil-sdk-manager install,v3.1.1,--sdk-path,c:\\ncs\\v3.1.1,--type,nrf: Install toolchain v3.1.1\n&#91;00:01:55] nrfutil-sdk-manager install,v3.1.1,--sdk-path,c:\\ncs\\v3.1.1,--type,nrf: Toolchain with version v3.1.1 already installed: success\n&#91;00:01:55] nrfutil-sdk-manager install,v3.1.1,--sdk-path,c:\\ncs\\v3.1.1,--type,nrf: Calculating SDK checksum\n&#91;00:01:55] nrfutil-sdk-manager install,v3.1.1,--sdk-path,c:\\ncs\\v3.1.1,--type,nrf: Verified previously download file: success\n&#91;00:01:55] nrfutil-sdk-manager install,v3.1.1,--sdk-path,c:\\ncs\\v3.1.1,--type,nrf: Download SDK v3.1.1\n&#91;00:05:33] =========== Toolchain validation report for nRF Connect SDK Toolchain v3.1.1 ===========<\/code><\/pre>\n\n\n\n<p>\u518d\u4f9d\u636eC:\\Users\\hec.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.8.654-win32-x64\\platform\\nrfutil\\logs\\nrfutil-sdk-manager.log\u6587\u4ef6\u7684\u5185\u5bb9\u627e\u5230\u4f4d\u4e8e<a href=\"https:\/\/files.nordicsemi.com\/ui\/native\/ncs-src-mirror\/external\/sdk-manager\/\">https:\/\/files.nordicsemi.com\/ui\/native\/ncs-src-mirror\/external\/sdk-manager\/<\/a>\u76ee\u5f55\u4e0b\u76843\u4e2a\u914d\u7f6e\u6587\u4ef6\uff0c\u5206\u522b\u4e3a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>..\/\nconfig-cn.json  31-07-25 23:33:12 +0800 \nconfig.json  31-07-25 23:32:16 +0800\nconfigChanges.json  08-05-25 17:13:29 +0800\nindex.json  19-09-25 21:01:43 +0800<\/code><\/pre>\n\n\n\n<p>\u6839\u636econfigChanges.json\u7684\u5185\u5bb9\uff1a<\/p>\n\n\n\n<p>{<br>&#8220;versions&#8221;: {<br>&#8220;1&#8221;: {<br>&#8220;index_url&#8221;: &#8220;https:\/\/files.nordicsemi.com\/artifactory\/ncs-src-mirror\/external\/sdk-manager\/index.json&#8221;,<br>&#8220;download_url_template&#8221;: &#8220;https:\/\/files.nordicsemi.com\/artifactory\/ncs-src-mirror\/sdk-nrf\/{version}\/src.tar.gz&#8221;<br>}<br>}<br>}<\/p>\n\n\n\n<p>\u53ef\u4ee5\u731c\u6d4b\u5230\u4e0b\u8f7d\u5730\u5740\uff0c\u4f46\u662f\u5b9e\u9645\u4e0a\u52a0\u4e0a\u7248\u672c\u53f7\uff0c\u8f93\u5165\u6587\u4ef6\u540d\u540e\u4ecd\u65e0\u6cd5\u4e0b\u8f7d\uff0c\u518d\u7ecf\u6478\u7d22\uff0c\u53d1\u73b0\u5728\u5982\u4e0b\u5730\u5740\u53ef\u4ee5\u4e0b\u8f7d\uff1a<a href=\"https:\/\/files.nordicsemi.cn\/artifactory\/ncs-src-mirror\/external\/v3.1.1\/src.tar.gz\">https:\/\/files.nordicsemi.cn\/artifactory\/ncs-src-mirror\/external\/v3.1.1\/src.tar.gz<\/a><\/p>\n\n\n\n<p>\u7b80\u5355\u6765\u8bf4\uff0c\u5982\u679c\u8981\u52a0\u901f\u4e0b\u8f7d\u8fc7\u7a0b\uff0c\u53ef\u4ee5\u4ece\u5982\u4e0a\u7f51\u5740\u4e0b\u8f7dncs sdk\u5305\uff0c\u7136\u540e\u91cd\u8981\u7684\u4e00\u6b65\uff1a\u6539\u540d\u4e3asdk-nrf-bundle-v3.1.1.tar.gz\uff0c\u5b58\u653e\u5230\u76ee\u5f55C:\\ncs\\downloads\u4e0b\uff0c\u7136\u540e\u6267\u884c\u5347\u7ea7sdk\u7684\u5e38\u89c4\u6d41\u7a0b\u3002\u53ef\u4ee5\u770b\u5230\u6b63\u5728\u89e3\u538b\u7f29\uff0c\u4ee5\u53ca\u5b89\u88c5\u5b8c\u6210\u7684\u65e5\u5fd7<\/p>\n\n\n\n<p>[22:50:21] Unable to find the toolchain at path: C:\/ncs\/toolchains\/b8b84efebd\/opt\/zephyr-sdk\/arm-zephyr-eabi\/bin\/arm-zephyr-eabi-gcc.exe<br>[22:50:21] Unable to find the toolchain at path: C:\/ncs\/toolchains\/b8b84efebd\/opt\/zephyr-sdk\/arm-zephyr-eabi\/bin\/arm-zephyr-eabi-gcc.exe<br>[22:52:01] nrfutil-sdk-manager install,v3.1.1,&#8211;sdk-path,c:\\ncs\\v3.1.1,&#8211;type,nrf: Install toolchain v3.1.1<br>[22:52:01] nrfutil-sdk-manager install,v3.1.1,&#8211;sdk-path,c:\\ncs\\v3.1.1,&#8211;type,nrf: Toolchain with version v3.1.1 already installed: success<br>[22:52:01] nrfutil-sdk-manager install,v3.1.1,&#8211;sdk-path,c:\\ncs\\v3.1.1,&#8211;type,nrf: Download SDK v3.1.1<br>[23:16:24] Stale build configuration (hello_world &#8211; build): Unable to find the SDK at path: C:\/ncs\/v3.1.0\/zephyr<br>[23:16:24] Stale build configuration (blinky &#8211; build): Unable to find the SDK at path: C:\/ncs\/v3.1.0\/zephyr<br>[23:16:24] Stale build configuration (hello_world &#8211; build\/hello_world): Unable to find the SDK at path: C:\/ncs\/v3.1.0\/zephyr<br>[23:16:24] Stale build configuration (blinky &#8211; build\/blinky): Unable to find the SDK at path: C:\/ncs\/v3.1.0\/zephyr<br>[23:16:24] Stale build configuration (hello_world &#8211; build): Unable to find the SDK at path: C:\/ncs\/v3.1.0\/zephyr<br>[23:16:24] Stale build configuration (blinky &#8211; build): Unable to find the SDK at path: C:\/ncs\/v3.1.0\/zephyr<br>[23:16:24] Stale build configuration (hello_world &#8211; build\/hello_world): Unable to find the SDK at path: C:\/ncs\/v3.1.0\/zephyr<br>[23:16:24] Stale build configuration (blinky &#8211; build\/blinky): Unable to find the SDK at path: C:\/ncs\/v3.1.0\/zephyr<br>[23:16:36] nrfutil-sdk-manager install,v3.1.1,&#8211;sdk-path,c:\\ncs\\v3.1.1,&#8211;type,nrf: Install toolchain v3.1.1<br>[23:16:36] nrfutil-sdk-manager install,v3.1.1,&#8211;sdk-path,c:\\ncs\\v3.1.1,&#8211;type,nrf: Toolchain with version v3.1.1 already installed: success<br>[23:16:36] nrfutil-sdk-manager install,v3.1.1,&#8211;sdk-path,c:\\ncs\\v3.1.1,&#8211;type,nrf: Calculating SDK checksum<br>[23:16:44] nrfutil-sdk-manager install,v3.1.1,&#8211;sdk-path,c:\\ncs\\v3.1.1,&#8211;type,nrf: Verified previously download file: success<br>[23:16:44] nrfutil-sdk-manager install,v3.1.1,&#8211;sdk-path,c:\\ncs\\v3.1.1,&#8211;type,nrf: Unpack SDK v3.1.1<br>[23:19:27] nrfutil-sdk-manager install,v3.1.1,&#8211;sdk-path,c:\\ncs\\v3.1.1,&#8211;type,nrf: Unpacked SDK tarball: success<br>[23:19:29] Unable to find the toolchain at path: C:\/ncs\/toolchains\/b8b84efebd\/opt\/zephyr-sdk\/arm-zephyr-eabi\/bin\/arm-zephyr-eabi-gcc.exe<br>[23:19:29] Unable to find the toolchain at path: C:\/ncs\/toolchains\/b8b84efebd\/opt\/zephyr-sdk\/arm-zephyr-eabi\/bin\/arm-zephyr-eabi-gcc.exe<br>[23:27:58] =========== Toolchain validation report for nRF Connect SDK Toolchain v3.1.1 ===========<br>\ud83d\udce6 Using the nRF Connect SDK v3.1.0 at c:\\ncs\\v3.1.0<br>No issues were detected with the toolchain.<\/p>\n\n\n\n<p>\u53e6\u5916\u68c0\u7d22\u5230\u4e00\u4e2a\u6709\u7528\u7684\u4fe1\u606f\uff0c\u5916\u7f51\u548c\u5185\u7f51\u7684\u4e0b\u8f7d\u8def\u5f84\u662f\u4e0d\u540c\u7684\uff0c\u5916\u7f51\u662fcom\u57df\u540d\uff0c\u5185\u7f51\u662fcn\u57df\u540d\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u4e0b\u8f7d\u66f4\u65b0v3.2.0\uff0c\u5148\u89e3\u6790\u4e0b\u8f7d\u8fde\u63a5\uff0c\u4ecejson\u6587\u4ef6\u91cc\u627e\u5230\u8981\u4e0b\u8f7d\u7684\u6587\u4ef6\u540d\uff1a<\/p>\n\n\n\n<p><a href=\"https:\/\/files.nordicsemi.com\/ui\/api\/v1\/download\/contentBrowsing\/NCS\/external\/bundles\/v3\/index-windows-x86_64.json?isNativeBrowsing=true\">https:\/\/files.nordicsemi.com\/ui\/api\/v1\/download\/contentBrowsing\/NCS\/external\/bundles\/v3\/index-windows-x86_64.json?isNativeBrowsing=true<\/a><\/p>\n\n\n\n<p>\u5728\u6253\u5f00\u7684\u7f51\u5740\u91cc\u627e\u5230\u9700\u8981\u4e0b\u8f7d\u7684\u6587\u4ef6\u540d\uff0c\u6bd4\u5982\u201cncs-toolchain-x86_64-windows-66cdf9b75e.tar.gz\u201d\uff0c\u62fc\u63a5\u7f51\u5740\uff0c\u590d\u5236\u5230\u6d4f\u89c8\u5668\u6253\u5f00\uff1a<a href=\"https:\/\/files.nordicsemi.com\/ui\/native\/NCS\/external\/bundles\/v3\/ncs-toolchain-x86_64-windows-66cdf9b75e.tar.gz\">https:\/\/files.nordicsemi.com\/ui\/native\/NCS\/external\/bundles\/v3\/ncs-toolchain-x86_64-windows-66cdf9b75e.tar.gz<\/a><\/p>\n\n\n\n<p>\u6b64\u65f6\u4f1a\u51fa\u73b0\u4e0b\u8f7d\u5730\u5740\uff0c\u590d\u5236\u4e0b\u8f7d\u5730\u5740\u5230IDM\/FDM\u91cc\u4e0b\u8f7d\uff0c\u6bd4\u5982\u6b63\u5e38\u94fe\u63a5\u5e94\u8be5\u662f\uff1a<a href=\"https:\/\/files.nordicsemi.com\/ui\/api\/v1\/download\/contentBrowsing\/NCS\/external\/bundles\/v3\/ncs-toolchain-x86_64-windows-66cdf9b75e.tar.gz?isNativeBrowsing=true\">https:\/\/files.nordicsemi.com\/ui\/api\/v1\/download\/contentBrowsing\/NCS\/external\/bundles\/v3\/ncs-toolchain-x86_64-windows-66cdf9b75e.tar.gz?isNativeBrowsing=true<\/a><\/p>\n\n\n\n<p>\u6d4b\u8bd5\u66f4\u6362\u4e3acn\u57df\u540d\u4e0b\u8f7d\u66f4\u5feb\uff0c\u5177\u4f53\u662f\uff1a<a href=\"https:\/\/files.nordicsemi.cn\/ui\/api\/v1\/download\/contentBrowsing\/NCS\/external\/bundles\/v3\/ncs-toolchain-x86_64-windows-66cdf9b75e.tar.gz?isNativeBrowsing=true\">https:\/\/files.nordicsemi.cn\/ui\/api\/v1\/download\/contentBrowsing\/NCS\/external\/bundles\/v3\/ncs-toolchain-x86_64-windows-66cdf9b75e.tar.gz?isNativeBrowsing=true<\/a><\/p>\n\n\n\n<p>\u4ee5\u4e0a\u662f\u4e0b\u8f7d\u5de5\u5177\u94fe\uff0c\u4e0b\u8f7d\u6e90\u4ee3\u7801\u7684\u65b9\u5f0f\u4e0e\u4e4b\u524d\u63cf\u8ff0\u7c7b\u4f3c\uff0c\u7ec4\u6210\u7f51\u5740<a href=\"https:\/\/files.nordicsemi.cn\/artifactory\/ncs-src-mirror\/external\/v3.1.1\/src.tar.gz\">https:\/\/files.nordicsemi.cn\/artifactory\/ncs-src-mirror\/external\/v3.2.0\/src.tar.gz<\/a>\u5373\u53ef\u590d\u5236\u5230\u6d4f\u89c8\u5668\u4e0b\u8f7d\uff0c\u5b9e\u9645\u4e0b\u8f7d\u7f51\u5740\u4e3a\uff1a<a href=\"https:\/\/files.nordicsemi.cn\/ui\/api\/v1\/download?repoKey=ncs-src-mirror&amp;path=external%252Fv3.2.0%252Fsrc.tar.gz&amp;isNativeBrowsing=true\">https:\/\/files.nordicsemi.cn\/ui\/api\/v1\/download?repoKey=ncs-src-mirror&amp;path=external%252Fv3.2.0%252Fsrc.tar.gz&amp;isNativeBrowsing=true<\/a><\/p>\n\n\n\n<p>v3.2.1\u4e5f\u53ef\u4ee5\u4e0b\u8f7d\u4e86\uff0c\u5177\u4f53\u5730\u5740\u662f\uff1a<\/p>\n\n\n\n<p><a href=\"https:\/\/files.nordicsemi.cn\/ui\/api\/v1\/download?repoKey=ncs-src-mirror&amp;path=external%252Fv3.2.0%252Fsrc.tar.gz&amp;isNativeBrowsing=true\">https:\/\/files.nordicsemi.cn\/ui\/api\/v1\/download?repoKey=ncs-src-mirror&amp;path=external%252Fv3.2.1%252Fsrc.tar.gz&amp;isNativeBrowsing=true<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9274\u4e8e\u7b80\u4e2d\u7f51\u7edc\u73af\u5883\u7684\u7279\u5f02\u6027\uff0c\u5f00\u53d1nrf54L\u7cfb\u5217\u5fc5\u987b\u4f7f\u7528nRF Connect SDK(NCS)\/Ze&hellip; <a href=\"https:\/\/szddt.com\/?p=292\" class=\"more-link read-more\" rel=\"bookmark\">\u7ee7\u7eed\u9605\u8bfb <span class=\"screen-reader-text\">Visual studio code\u91ccncs\u4e0b\u8f7d\u52a0\u901f<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,1],"tags":[],"class_list":{"0":"post-292","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-4","7":"category-3","8":"category-uncategorized","9":"h-entry","11":"h-as-article"},"_links":{"self":[{"href":"https:\/\/szddt.com\/index.php?rest_route=\/wp\/v2\/posts\/292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szddt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/szddt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/szddt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/szddt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=292"}],"version-history":[{"count":4,"href":"https:\/\/szddt.com\/index.php?rest_route=\/wp\/v2\/posts\/292\/revisions"}],"predecessor-version":[{"id":335,"href":"https:\/\/szddt.com\/index.php?rest_route=\/wp\/v2\/posts\/292\/revisions\/335"}],"wp:attachment":[{"href":"https:\/\/szddt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/szddt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/szddt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}