10.4.2. 参数配置¶
首先需要搭建好基本的网络环境
具体链接: https://jenkins.artmem.com/doc/sw/luban-lite/interface/mac/1_introduction.html
10.4.2.1. RTOS配置¶
使能 OTA 相关配置,自动使能了 ENV 相关配置
在 Luban-Lite 根目录下执行 scons --menuconfig
,进入menuconfig的功能配置界面,按如下选择:
Local packages options --->
Third-party packages options --->
-*- WebClient: A HTTP/HTTPS Client for RT-Thread --->
[*] ota_downloader: The firmware downloader which using on RT-Thread OTA component --->
[*] Enable HTTP/HTTPS OTA
(http://192.168.31.22/ota.cpio) HTTP OTA Download default URL
ArtInChip packages options --->
[*] aic-env --->
-*- Enable ENV interface and CMD
[*] Enable redundant environment support
-*- Enable redundant OS and rodata part support
注解
为了方便配置, 使能 LPKG_USING_HTTP_OTA 后, 会自动选上 AIC_ENV_INTERFACE, AIC_SYS_REDUNDAND_OS_AND_RODATA
10.4.2.2. Boot 配置¶
使能 ENV 相关配置
在 Luban-Lite 根目录下执行 scons --menuconfig
,进入menuconfig的功能配置界面,按如下选择:
Local packages options --->
ArtInChip packages options --->
[*] aic-env --->
-*- Enable ENV interface and CMD
[*] Enable redundant environment support
-*- Enable redundant OS and rodata part support