2025-04-23 17:54:31 +08:00
<!DOCTYPE html> < html xmlns = "http://www.w3.org/1999/xhtml" xml:lang = "zh-cn" lang = "zh-cn" data-whc_version = "26.1" >
2025-07-22 11:15:46 +08:00
< head > < meta http-equiv = "Content-Type" content = "text/html; charset=UTF-8" / > < meta name = "viewport" content = "width=device-width, initial-scale=1.0" / > < meta http-equiv = "X-UA-Compatible" content = "IE=edge" / > < meta name = "DC.rights.owner" content = "(C) 版权 2025" / > < meta name = "copyright" content = "(C) 版权 2025" / > < meta name = "generator" content = "DITA-OT" / > < meta name = "DC.type" content = "concept" / > < meta name = "description" content = "Luban-Lite VSCode Extension 是 ArtInChip 开发的一款用于快捷编译 SDK 的插件工具,方便用户使用界面选项方式开发 SDK。 安装插件 点此下载 LubanLite VSCode Extension 工具 。 在 VSCode 终端界面,选择 Extensions > More > Install from VSIX 。 ..." / > < meta name = "DC.relation" content = "../../../topics/sdk/env/vscode.html" / > < meta name = "DC.relation" content = "../../../topics/sdk/env/lite-compile-vscode-cmd.html" / > < meta name = "DC.relation" content = "../../../topics/sdk/env/ubuntu2004.html" / > < meta name = "DC.contributor" content = "yan.wang" / > < meta name = "DC.contributor" content = "yan.wang" / > < meta name = "DC.date.modified" content = "2025-05-16" / > < meta name = "DC.format" content = "HTML5" / > < meta name = "DC.identifier" content = "lite-compile-vscode-extension" / >
< title > 使用 Extension 工具< / title > <!-- Generated with build number 2025051600. --> < meta name = "wh-path2root" content = "../../../" / > < meta name = "wh-toc-id" content = "lite-compile-vscode-extension-d3752e571" / > < meta name = "wh-source-relpath" content = "topics/sdk/env/lite-compile-vscode-extension.dita" / > < meta name = "wh-out-relpath" content = "topics/sdk/env/lite-compile-vscode-extension.html" / >
2025-04-23 17:54:31 +08:00
< link rel = "stylesheet" type = "text/css" href = "../../../webhelp/app/commons.css?buildId=2024041900" / >
< link rel = "stylesheet" type = "text/css" href = "../../../webhelp/app/topic.css?buildId=2024041900" / >
2025-07-22 11:15:46 +08:00
< script src = "../../../webhelp/app/options/properties.js?buildId=20250519091401" > < / script >
2025-04-23 17:54:31 +08:00
< script src = "../../../webhelp/app/localization/strings.js?buildId=2024041900" > < / script >
2025-07-22 11:15:46 +08:00
< script src = "../../../webhelp/app/search/index/keywords.js?buildId=20250519091401" > < / script >
2025-04-23 17:54:31 +08:00
< script defer = "defer" src = "../../../webhelp/app/commons.js?buildId=2024041900" > < / script >
< script defer = "defer" src = "../../../webhelp/app/topic.js?buildId=2024041900" > < / script >
< link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/aic-styles-web-internal.css?buildId=2024041900" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/notes.css?buildId=2024041900" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/aic-common.css?buildId=2024041900" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/aic-images.css?buildId=2024041900" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/footnote.css?buildId=2024041900" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/aic-highlight-changes.css?buildId=2024041900" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/search-in-header.css?buildId=2024041900" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/topic-body-list.css?buildId=2024041900" / > < / head >
< body id = "lite-compile-vscode-extension" class = "wh_topic_page frmBody" >
< a href = "#wh_topic_body" class = "sr-only sr-only-focusable" >
跳转到主要内容
< / a >
< header class = "navbar navbar-default wh_header" >
< div class = "container-fluid" >
< div xmlns:whc = "http://www.oxygenxml.com/webhelp/components" class = "wh_header_flex_container navbar-nav navbar-expand-md navbar-dark" >
< div class = "wh_logo_and_publication_title_container" >
< div class = "wh_logo_and_publication_title" >
< a href = "https://www.artinchip.com" class = " wh_logo d-none d-sm-block " > < img src = "../../../company-logo.png" alt = " RTOS SDK 使用指南 SDK 指南文件 " / > < / a >
< div class = " wh_publication_title " > < a href = "../../../index.html" > < span class = "booktitle" > < span class = "ph mainbooktitle" > RTOS SDK 使用指南< / span > < span class = "ph booktitlealt" > SDK 指南文件< / span > < / span > < / a > < / div >
< / div >
< / div >
< div class = "wh_top_menu_and_indexterms_link collapse navbar-collapse" id = "wh_top_menu_and_indexterms_link" >
< / div >
< div class = " wh_search_input navbar-form wh_topic_page_search search " role = "form" >
< form id = "searchForm" method = "get" role = "search" action = "../../../search.html" > < div > < input type = "search" placeholder = "搜索 " class = "wh_search_textfield" id = "textToSearch" name = "searchQuery" aria-label = "搜索查询" required = "required" / > < button type = "submit" class = "wh_search_button" aria-label = "搜索" > < span class = "search_input_text" > 搜索< / span > < / button > < / div > < / form >
< / div > < / div >
< / div >
< / header >
< div class = "container-fluid" id = "wh_topic_container" >
< div class = "row" >
< nav class = "wh_tools d-print-none navbar-expand-md" aria-label = "Tools" >
2025-07-22 11:15:46 +08:00
< div data-tooltip-position = "bottom" class = " wh_breadcrumb " > < ol class = "d-print-none" > < li > < span class = "home" > < a href = "../../../index.html" > < span > 主页< / span > < / a > < / span > < / li > < li > < div class = "topicref" data-id = "id" > < div class = "title" > < a href = "../../../topics/sdk/env/sdk-compile.html" > SDK 编译< / a > < div class = "wh-tooltip" > < p class = "shortdesc" > 介绍不同编译环境下 SDK 的详细编译流程。< / p > < / div > < / div > < / div > < / li > < li > < div class = "topicref" data-id = "id" > < div class = "title" > < a href = "../../../topics/sdk/env/vscode.html" > VSCode< / a > < / div > < / div > < / li > < li class = "active" > < div class = "topicref" data-id = "lite-compile-vscode-extension" > < div class = "title" > < a href = "../../../topics/sdk/env/lite-compile-vscode-extension.html" > 使用 Extension 工具< / a > < div class = "wh-tooltip" > < p class = "shortdesc" > < / p > < / div > < / div > < / div > < / li > < / ol > < / div >
2025-04-23 17:54:31 +08:00
< div class = "wh_right_tools" >
< button class = "wh_hide_highlight" aria-label = "切换搜索突出显示" title = "切换搜索突出显示" > < / button >
< button class = "webhelp_expand_collapse_sections" data-next-state = "collapsed" aria-label = "折叠截面" title = "折叠截面" > < / button >
< div class = " wh_navigation_links " > < span id = "topic_navigation_links" class = "navheader" >
< span class = "navprev" > < a class = "- topic/link link" href = "../../../topics/sdk/env/lite-compile-vscode-cmd.html" title = "使用命令行" aria-label = "上一主题: 使用命令行" rel = "prev" > < / a > < / span >
< span class = "navnext" > < a class = "- topic/link link" href = "../../../topics/sdk/env/ubuntu2004.html" title = "Ubuntu" aria-label = "下一主题: Ubuntu" rel = "next" > < / a > < / span > < / span > < / div >
< div class = " wh_print_link print d-none d-md-inline-block " > < button onClick = "window.print()" title = "打印此页" aria-label = "打印此页" > < / button > < / div >
< button type = "button" id = "wh_toc_button" class = "custom-toggler navbar-toggler collapsed wh_toggle_button navbar-light" aria-expanded = "false" aria-label = "Toggle publishing table of content" aria-controls = "wh_publication_toc" >
< span class = "navbar-toggler-icon" > < / span >
< / button >
< / div >
< / nav >
< / div >
< div class = "wh_content_area" >
< div class = "row" >
< nav id = "wh_publication_toc" class = "col-lg-3 col-md-3 col-sm-12 d-md-block d-none d-print-none" aria-label = "Table of Contents Container" >
< div id = "wh_publication_toc_content" >
2025-07-22 11:15:46 +08:00
< div class = " wh_publication_toc " data-tooltip-position = "right" > < span class = "expand-button-action-labels" > < span id = "button-expand-action" role = "button" aria-label = "Expand" > < / span > < span id = "button-collapse-action" role = "button" aria-label = "Collapse" > < / span > < span id = "button-pending-action" role = "button" aria-label = "Pending" > < / span > < / span > < ul role = "tree" aria-label = "Table of Contents" > < li role = "treeitem" > < div data-tocid = "revinfo_linux-d3752e463" class = "topicref" data-id = "revinfo_linux" data-state = "leaf" > < span role = "button" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/revinfo/revinfo_rtos.html" id = "revinfo_linux-d3752e463-link" > 修订记录< / a > < / div > < / div > < / li > < li role = "treeitem" aria-expanded = "true" > < div data-tocid = "id-d3752e480" class = "topicref" data-id = "id" data-state = "expanded" > < span role = "button" tabindex = "0" aria-labelledby = "button-collapse-action id-d3752e480-link" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/sdk/env/sdk-compile.html" id = "id-d3752e480-link" > SDK 编译< / a > < div class = "wh-tooltip" > < p class = "shortdesc" > 介绍不同编译环境下 SDK 的详细编译流程。< / p > < / div > < / div > < / div > < ul role = "group" class = "navbar-nav nav-list" > < li role = "treeitem" aria-expanded = "false" > < div data-tocid = "id-d3752e497" class = "topicref" data-id = "id" data-state = "not-ready" > < span role = "button" tabindex = "0" aria-labelledby = "button-expand-action id-d3752e497-link" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/sdk/env/sourcecode.html" id = "id-d3752e497-link" > 准备代码< / a > < / div > < / div > < / li > < li role = "treeitem" > < div data-tocid = "id-d3752e525" class = "topicref" data-id = "id" data-state = "leaf" > < span role = "button" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/sdk/env/windows.html" id = "id-d3752e525-link" > Windows< / a > < / div > < / div > < / li > < li role = "treeitem" aria-expanded = "true" > < div data-tocid = "id-d3752e541" class = "topicref" data-id = "id" data-state = "expanded" > < span role = "button" tabindex = "0" aria-labelledby = "button-collapse-action id-d3752e541-link" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/sdk/env/vscode.html" id = "id-d3752e541-link" > VSCode< / a > < / div > < / div > < ul role = "group" class = "navbar-nav nav-list" > < li role = "treeitem" > < div data-tocid = "lite-compile-vscode-cmd-d3752e555" class = "topicref" data-id = "lite-compile-vscode-cmd" data-state = "leaf" > < span role = "button" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/sdk/env/lite-compile-vscode-cmd.html" id = "lite-compile-vscode-cmd-d3752e555-link" > 使用命令行< / a > < div class = "wh-tooltip" > < p class = "shortdesc" > < / p > < / div > < / div > < / div > < / li > < li role = "treeitem" class = "active" > < div data-tocid = "lite-compile-vscode-extension-d3752e571" class = "topicref" data-id = "lite-compile-vscode-extension" data-state = "leaf" > < span role = "button" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/sdk/env/lite-compile-vscode-extension.html" id = "lite-compile-vscode-extension-d3752e571-link" > 使用 Extension 工具< / a > < div class = "wh-tooltip" > < p class = "shortdesc" > < / p > < / div > < / div > < / div > < / li > < / ul > < / li > < li role = "treeitem" > < div data-tocid = "id-d3752e589" class = "topicref" data-id = "id" data-state = "leaf" > < span role = "button" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/sdk/env/ubuntu2004.html" id = "id-d3752e589-link" > Ubuntu< / a > < / div > < / div > < / li > < / ul > < / li > < li role = "treeitem" aria-expanded = "false" > < div data-tocid = "id-d3752e604" class = "topicref" data-id = "id" data-state = "not-ready" > < span role = "button" tabindex = "0" aria-labelledby = "button-expand-action id-d3752e604-link" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/sdk/advanced/sdk-usage.html" id = "id-d3752e604-link" > 使用指南< / a > < div class = "wh-tooltip" > < p class = "shortdesc" > 命令详解,编译选项,镜像和分区配置,添加应用和驱动等的详细使用说明。< / p > < / div > < / div > < / div > < / li > < li role = "treeitem" aria-expanded = "false" > < div data-tocid = "concept_rcx_czh_pzb-d3752e1004" class = "topicref" data-id = "concept_rcx_czh_pzb" d
2025-04-23 17:54:31 +08:00
< / div >
< / nav >
< div class = "col-lg-7 col-md-9 col-sm-12" id = "wh_topic_body" >
< button id = "wh_close_publication_toc_button" class = "close-toc-button d-none" aria-label = "Toggle publishing table of content" aria-controls = "wh_publication_toc" aria-expanded = "true" >
< span class = "close-toc-icon-container" >
< span class = "close-toc-icon" > < / span >
< / span >
< / button >
< button id = "wh_close_topic_toc_button" class = "close-toc-button d-none" aria-label = "Toggle topic table of content" aria-controls = "wh_topic_toc" aria-expanded = "true" >
< span class = "close-toc-icon-container" >
< span class = "close-toc-icon" > < / span >
< / span >
< / button >
< div class = " wh_topic_content body " > < main role = "main" > < article class = "- topic/topic concept/concept topic concept" role = "article" aria-labelledby = "ariaid-title1" >
2025-07-22 11:15:46 +08:00
< span class = "edit-link" style = "font-size:12px; opacity:0.6; text-align:right; vertical-align:middle" > < a target = "_blank" href = "http://aicdocco/taskstopics/sdk/env/lite-compile-vscode-extension.dita" > Edit online< / a > < / span > < h1 class = "- topic/title title topictitle1" id = "ariaid-title1" > 使用
Extension
工具< / h1 >
2025-04-23 17:54:31 +08:00
2025-07-22 11:15:46 +08:00
< div class = "date inPage" > 16 May 2025< / div > < div style = "color: gray;" >
2025-04-23 17:54:31 +08:00
Read time: 1 minute(s)
< / div >
< div class = "- topic/body concept/conbody body conbody" > < p class = "- topic/shortdesc shortdesc" > < / p >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d208353e32__20250519091529" > Luban-Lite VSCode Extension 是 ArtInChip 开发的一款用于快捷编译 SDK 的插件工具,方便用户使用界面选项方式开发 SDK。< / p >
2025-04-23 17:54:31 +08:00
< section class = "- topic/section section" id = "lite-compile-vscode-extension__section_svr_hlb_w2c" data-ofbid = "lite-compile-vscode-extension__section_svr_hlb_w2c" > < h2 class = "- topic/title title sectiontitle" > 安装插件< / h2 >
2025-07-22 11:15:46 +08:00
< div class = "- topic/p p" data-ofbid = "d208353e40__20250519091529" >
2025-04-23 17:54:31 +08:00
< ol class = "- topic/ol ol" id = "lite-compile-vscode-extension__ol_qfs_3lb_w2c" data-ofbid = "lite-compile-vscode-extension__ol_qfs_3lb_w2c" >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d208353e44__20250519091529" > < a class = "- topic/xref xref" href = "../../../out/downloads/lubanlite-extension-1.0.1.html" > 点此下载 LubanLite
2025-04-23 17:54:31 +08:00
VSCode Extension 工具< / a > 。< / li >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d208353e50__20250519091529" > 在 VSCode 终端界面,选择 < span class = "+ topic/ph ui-d/menucascade ph menucascade" > < span class = "+ topic/ph ui-d/uicontrol ph uicontrol" > Extensions< / span > < abbr > > < / abbr > < span class = "+ topic/ph ui-d/uicontrol ph uicontrol" > More < / span > < abbr > > < / abbr > < span class = "+ topic/ph ui-d/uicontrol ph uicontrol" > Install from VSIX< / span > < / span > 。< / li >
< li class = "- topic/li li" data-ofbid = "d208353e65__20250519091529" > 在本地文件夹中,选中下载好的安装包,并完成安装。< / li >
2025-04-23 17:54:31 +08:00
< / ol >
< / div >
< / section >
< section class = "- topic/section section" id = "lite-compile-vscode-extension__section_szn_wdc_w2c" data-ofbid = "lite-compile-vscode-extension__section_szn_wdc_w2c" > < h2 class = "- topic/title title sectiontitle" > 插件配置< / h2 >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d208353e76__20250519091529" > Luban-Lite VSCode Extension 插件支持下列配置:< / p >
2025-04-23 17:54:31 +08:00
< ol class = "- topic/ol ol" id = "lite-compile-vscode-extension__ol_tzn_wdc_w2c" data-ofbid = "lite-compile-vscode-extension__ol_tzn_wdc_w2c" >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d208353e81__20250519091529" > 将 Build 命令设置为当前快捷命令,表示每次编译操作都会编译
BootLoader
+ APP, 与 "m" 快捷命令类似。< / li >
< li class = "- topic/li li" data-ofbid = "d208353e89__20250519091529" > 选择默认保存最小的 defconfig, 或者全部配置内容的 defconfig。< / li >
< li class = "- topic/li li" data-ofbid = "d208353e92__20250519091529" > 设置编译的线程数量, 默认值0, 为根据系统资源自动分配线程数, 可手工设置线程数。< / li >
2025-04-23 17:54:31 +08:00
< / ol >
< br / > < div class = "imagecenter" > < img class = "- topic/image image imagecenter" id = "lite-compile-vscode-extension__image_pmr_zgc_w2c" src = "../../../images/env/vscodev_setting.gif" / > < / div > < br / >
< / section >
< section class = "- topic/section section" id = "lite-compile-vscode-extension__section_tps_wlb_w2c" data-ofbid = "lite-compile-vscode-extension__section_tps_wlb_w2c" > < h2 class = "- topic/title title sectiontitle" > 打开 Luban Lite SDK 目录< / h2 >
< ol class = "- topic/ol ol" id = "lite-compile-vscode-extension__ol_i3f_1mb_w2c" data-ofbid = "lite-compile-vscode-extension__ol_i3f_1mb_w2c" >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d208353e122__20250519091529" > 在 VSCode 终端界面,选择 < span class = "+ topic/ph ui-d/menucascade ph menucascade" > < span class = "+ topic/ph ui-d/uicontrol ph uicontrol" > File< / span > < abbr > > < / abbr > < span class = "+ topic/ph ui-d/uicontrol ph uicontrol" > Open Folder< / span > < / span > < / li >
< li class = "- topic/li li" data-ofbid = "d208353e133__20250519091529" > 在弹出的窗口,选择 Luban-Lite SDK 文件夹并确认。< p class = "- topic/p p" data-ofbid = "d208353e135__20250519091529" > 在打开一个文件夹时, VSCode 会自定识别是否为 Luban-Lite
2025-04-23 17:54:31 +08:00
SDK。如是, 插件会自动执行并且显示出对应的图标和按钮。< / p > < br / > < div class = "imagecenter" > < img class = "- topic/image image imagecenter" id = "lite-compile-vscode-extension__image_sn5_wqg_y2c" src = "../../../images/env/vscode_openfolder.png" / > < / div > < br / > < / li >
< / ol >
< div class = "- topic/note note note note_note" id = "lite-compile-vscode-extension__note_dbb_mmb_w2c" data-ofbid = "lite-compile-vscode-extension__note_dbb_mmb_w2c" > < span class = "note__title" > 注:< / span >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d208353e143__20250519091529" > Luban Lite 仓库中部分工具没有可执行权限,无法从共享的目录中执行,因此通过 SAMBA 共享的 Linux Server 目录无法在 Windows
2025-04-23 17:54:31 +08:00
上直接打开使用。直接在 Windows 上 checkout 的仓库内容则不受此限制。< / p >
< / div >
< / section >
< section class = "- topic/section section" id = "lite-compile-vscode-extension__section_ehl_sbc_w2c" data-ofbid = "lite-compile-vscode-extension__section_ehl_sbc_w2c" > < h2 class = "- topic/title title sectiontitle" > 编译< / h2 >
< ol class = "- topic/ol ol" id = "lite-compile-vscode-extension__ol_p5z_vbc_w2c" data-ofbid = "lite-compile-vscode-extension__ol_p5z_vbc_w2c" >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d208353e155__20250519091529" > 在 Luban-Lite SDK 插件中,通过以下任意方式打开所有的默认配置文件:< ul class = "- topic/ul ul" id = "lite-compile-vscode-extension__ol_psj_wbc_w2c" data-ofbid = "lite-compile-vscode-extension__ol_psj_wbc_w2c" >
< li class = "- topic/li li" data-ofbid = "d208353e159__20250519091529" > 点击侧边栏的 【Open Project】图标。< / li >
< li class = "- topic/li li" data-ofbid = "d208353e162__20250519091529" > 点击状态栏的 【Open】按钮。< / li >
< / ul > < p class = "- topic/p p" data-ofbid = "d208353e165__20250519091529" > 在编译项目之前,需要先选择项目对应的默认配置文件 (defconfig)。< / p > < / li >
< li class = "- topic/li li" data-ofbid = "d208353e168__20250519091529" > 在选择界面中的所有可用的 defconfig 文件中, 选择所需的配置文件并点击【Apply defconfig】应用配置。< p class = "- topic/p p" data-ofbid = "d208353e170__20250519091529" > 双击对应的 defconfig
文件名也可以选择并应用对应的文件。如需取消项目选择, 直接点击【Close】按钮关闭即可。< / p > < p class = "- topic/p p" data-ofbid = "d208353e172__20250519091529" > SDK
2025-04-23 17:54:31 +08:00
插件在右侧栏提供了一个< strong class = "+ topic/ph hi-d/b ph b" > 关键字< / strong > 过滤功能界面。选择对应的关键字即可过滤 defconfig
列表中的文件。< / p > < br / > < div class = "imagecenter" > < img class = "- topic/image image imagecenter" id = "lite-compile-vscode-extension__image_e4n_1zh_y2c" src = "../../../images/env/vscodev_open_project_deconfig.png" / > < / div > < br / > < / li >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d208353e180__20250519091529" > 通过下列任意方式可以进入 menuconfig 界面修改配置:< ul class = "- topic/ul ul" id = "lite-compile-vscode-extension__ol_dcb_pcc_w2c" data-ofbid = "lite-compile-vscode-extension__ol_dcb_pcc_w2c" >
< li class = "- topic/li li" data-ofbid = "d208353e184__20250519091529" > 点击侧边栏的【Config Project】图标< / li >
< li class = "- topic/li li" data-ofbid = "d208353e187__20250519091529" > 点击状态栏的【Config】按钮< / li >
< / ul > < p class = "- topic/p p" data-ofbid = "d208353e190__20250519091529" > 首次打开 Menuconfig 时,界面加载速度可能较慢,导致页面长时间停留在 “Loading Project Configuration
2025-04-23 17:54:31 +08:00
...”,需要耐心等待加载完成。加载速度与机器性能相关。< / p > < br / > < div class = "imagecenter" > < img class = "- topic/image image imagecenter" id = "lite-compile-vscode-extension__image_nxj_czh_y2c" src = "../../../images/env/vscodev_menuconfig.png" / > < / div > < br / > < / li >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d208353e195__20250519091529" > 修改完成后, 须点击【Save】保存配置后再点击【Close】。< div class = "- topic/note note note note_note" id = "lite-compile-vscode-extension__note_hhm_ycc_w2c" data-ofbid = "lite-compile-vscode-extension__note_hhm_ycc_w2c" > < span class = "note__title" > 注:< / span >
< p class = "- topic/p p" data-ofbid = "d208353e199__20250519091529" > 如果直接点击【Close】, 相关修改并不会保存到当前项目的 .config 和 defconfig 中,导致配置修改丢失。< / p >
2025-04-23 17:54:31 +08:00
< / div > < / li >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d208353e203__20250519091529" > 通过下列任意方式之一进行项目编译:< ul class = "- topic/ul ul" id = "lite-compile-vscode-extension__ol_zmb_gdc_w2c" data-ofbid = "lite-compile-vscode-extension__ol_zmb_gdc_w2c" >
< li class = "- topic/li li" data-ofbid = "d208353e207__20250519091529" > 点击侧边栏的【Build Project】图标< / li >
< li class = "- topic/li li" data-ofbid = "d208353e210__20250519091529" > 点击状态栏的【Build】按钮< / li >
< li class = "- topic/li li" data-ofbid = "d208353e213__20250519091529" > 按【F7】快捷键触发编译< / li >
< / ul > < p class = "- topic/p p" data-ofbid = "d208353e216__20250519091529" > 如需要在编译之前清理项目配置, 则点击【Clean】执行清理工作。< / p > < div class = "- topic/note note note note_note" id = "lite-compile-vscode-extension__note_s1m_jdc_w2c" data-ofbid = "lite-compile-vscode-extension__note_s1m_jdc_w2c" > < span class = "note__title" > 注:< / span > SDK
2025-04-23 17:54:31 +08:00
支持在编译 APP 之前先编译对应的 BOOTLOADER, 关于详细配置说明, 可查看< a class = "- topic/xref xref" href = "lite-compile-vscode-extension.html#lite-compile-vscode-extension__section_szn_wdc_w2c" > 插件配置< / a > 。< / div > < br / > < div class = "imagecenter" > < img class = "- topic/image image imagecenter" id = "lite-compile-vscode-extension__image_gfy_3zh_y2c" src = "../../../images/env/vscodev_build.png" / > < / div > < br / > < / li >
< / ol >
< / section >
< section class = "- topic/section section" id = "lite-compile-vscode-extension__section_bv3_ndc_w2c" data-ofbid = "lite-compile-vscode-extension__section_bv3_ndc_w2c" > < h2 class = "- topic/title title sectiontitle" > 快捷烧录< / h2 >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d208353e235__20250519091529" > 执行下列步骤,可通过 USB 快捷烧录 SDK: < / p >
2025-04-23 17:54:31 +08:00
< ol class = "- topic/ol ol" id = "lite-compile-vscode-extension__ol_mh1_4dc_w2c" data-ofbid = "lite-compile-vscode-extension__ol_mh1_4dc_w2c" >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d208353e240__20250519091529" > 让板子进入 BROM 升级模式,同时确保 USB 线连接主机。< / li >
< li class = "- topic/li li" data-ofbid = "d208353e243__20250519091529" > 选择以下任意方式执行烧录:< ul class = "- topic/ul ul" id = "lite-compile-vscode-extension__ul_gjh_sdc_w2c" data-ofbid = "lite-compile-vscode-extension__ul_gjh_sdc_w2c" >
< li class = "- topic/li li" data-ofbid = "d208353e247__20250519091529" > 点击侧边栏的【Flash Image】图标。< / li >
< li class = "- topic/li li" data-ofbid = "d208353e250__20250519091529" > 点击状态栏的【Flash】按钮。< / li >
< li class = "- topic/li li" data-ofbid = "d208353e253__20250519091529" > 按【F8】快捷键启动烧录。< / li >
2025-04-23 17:54:31 +08:00
< / ul > < / li >
< / ol >
< div class = "- topic/note note note note_note" id = "lite-compile-vscode-extension__note_f5l_4dc_w2c" data-ofbid = "lite-compile-vscode-extension__note_f5l_4dc_w2c" > < span class = "note__title" > 注:< / span >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d208353e260__20250519091529" > 对于分区烧录等其他烧录功能,需使用 AiBurn 烧录工具进行烧录。< / p >
2025-04-23 17:54:31 +08:00
< / div >
< br / > < div class = "imagecenter" > < img class = "- topic/image image imagecenter" id = "lite-compile-vscode-extension__image_cgx_kzh_y2c" src = "../../../images/env/vscodev_burn.png" / > < / div > < br / >
< / section >
< / div >
< / article > < / main > < / div >
< / div >
< nav role = "navigation" id = "wh_topic_toc" aria-label = "On this page" class = "col-lg-2 d-none d-lg-block navbar d-print-none" >
< div id = "wh_topic_toc_content" >
< div class = " wh_topic_toc " > < div class = "wh_topic_label" > 在本页上< / div > < ul > < li class = "section-item" > < div class = "section-title" > < a href = "#lite-compile-vscode-extension__section_svr_hlb_w2c" data-tocid = "lite-compile-vscode-extension__section_svr_hlb_w2c" > 安装插件< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#lite-compile-vscode-extension__section_szn_wdc_w2c" data-tocid = "lite-compile-vscode-extension__section_szn_wdc_w2c" > 插件配置< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#lite-compile-vscode-extension__section_tps_wlb_w2c" data-tocid = "lite-compile-vscode-extension__section_tps_wlb_w2c" > 打开 Luban Lite SDK 目录< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#lite-compile-vscode-extension__section_ehl_sbc_w2c" data-tocid = "lite-compile-vscode-extension__section_ehl_sbc_w2c" > 编译< / a > < / div > < / li > < li class = "section-item" > < div class = "section-title" > < a href = "#lite-compile-vscode-extension__section_bv3_ndc_w2c" data-tocid = "lite-compile-vscode-extension__section_bv3_ndc_w2c" > 快捷烧录< / a > < / div > < / li > < / ul > < / div >
< / div >
< / nav >
< / div >
< / div >
< / div >
< footer class = "navbar navbar-default wh_footer" >
< div class = " footer-container mx-auto " >
< title > footer def< / title >
< style >
.p1 {
font-family: FangZhengShuSong, Times, serif;
}
.p2 {
font-family: Arial, Helvetica, sans-serif;
}
.p3 {
font-family: "Lucida Console", "Courier New", monospace;
}
< / style >
< div class = "webhelp.fragment.footer" >
< p class = "p1" > Copyright © 2019-2025 广东匠芯创科技有限公司. All rights reserved.< / p >
< / div >
< div >
< div class = "generation_time" >
2025-07-22 11:15:46 +08:00
Update Time: 2025-05-19
2025-04-23 17:54:31 +08:00
< / div >
< / div >
< / div >
< / footer >
< div id = "go2top" class = "d-print-none" >
< span class = "oxy-icon oxy-icon-up" > < / span >
< / div >
< div id = "modal_img_large" class = "modal" >
< span class = "close oxy-icon oxy-icon-remove" > < / span >
< div id = "modal_img_container" > < / div >
< div id = "caption" > < / div >
< / div >
< script src = "${pd}/publishing/publishing-styles-AIC-template/js/custom.js" defer = "defer" > < / script >
< / body >
< / html >