mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 02:18:54 +00:00
47 lines
1.3 KiB
Plaintext
47 lines
1.3 KiB
Plaintext
# Kconfig file for package ota_downloader
|
|
menuconfig LPKG_USING_HTTP_OTA_DOWNLOADER
|
|
bool "ota_downloader: The firmware downloader which using on RT-Thread HTTP OTA component"
|
|
default n
|
|
|
|
if LPKG_USING_HTTP_OTA_DOWNLOADER
|
|
|
|
config PKG_OTA_DOWNLOADER_PATH
|
|
string
|
|
default "/packages/third-party/ota_downloader"
|
|
|
|
config LPKG_USING_HTTP_OTA
|
|
bool "Enable HTTP/HTTPS OTA"
|
|
select LPKG_USING_WEBCLIENT
|
|
select LPKG_USING_OTA_DOWNLOADER
|
|
default n
|
|
if LPKG_USING_HTTP_OTA
|
|
config PKG_HTTP_OTA_URL
|
|
string "HTTP OTA Download default URL"
|
|
default "http://192.168.31.22/ota.cpio"
|
|
endif
|
|
|
|
config LPKG_USING_YMODEM_OTA
|
|
bool "Enable Ymodem OTA"
|
|
select RT_USING_RYM
|
|
default n
|
|
|
|
choice
|
|
prompt "Version"
|
|
default LPKG_USING_OTA_DOWNLOADER_LATEST_VERSION
|
|
help
|
|
Select the package version
|
|
|
|
config LPKG_USING_OTA_DOWNLOADER_V100
|
|
bool "v1.0.0"
|
|
|
|
config LPKG_USING_OTA_DOWNLOADER_LATEST_VERSION
|
|
bool "latest"
|
|
endchoice
|
|
|
|
config PKG_OTA_DOWNLOADER_VER
|
|
string
|
|
default "v1.0.0" if LPKG_USING_OTA_DOWNLOADER_V100
|
|
default "latest" if LPKG_USING_OTA_DOWNLOADER_LATEST_VERSION
|
|
|
|
endif
|