OTA 配置
首先需要搭建好基本的网络环境
详见 MAC 使用指南。
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
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
