Files
luban-lite-t3e-pro/packages/third-party/ota_downloader/Kconfig

47 lines
1.3 KiB
Plaintext
Raw Normal View History

2023-08-30 16:21:18 +08:00
# Kconfig file for package ota_downloader
2024-04-03 16:40:57 +08:00
menuconfig LPKG_USING_HTTP_OTA_DOWNLOADER
bool "ota_downloader: The firmware downloader which using on RT-Thread HTTP OTA component"
2023-08-30 16:21:18 +08:00
default n
2024-04-03 16:40:57 +08:00
if LPKG_USING_HTTP_OTA_DOWNLOADER
2023-08-30 16:21:18 +08:00
config PKG_OTA_DOWNLOADER_PATH
string
2023-11-09 20:19:51 +08:00
default "/packages/third-party/ota_downloader"
2023-08-30 16:21:18 +08:00
2023-11-09 20:19:51 +08:00
config LPKG_USING_HTTP_OTA
2023-08-30 16:21:18 +08:00
bool "Enable HTTP/HTTPS OTA"
2023-11-09 20:19:51 +08:00
select LPKG_USING_WEBCLIENT
2024-04-03 16:40:57 +08:00
select LPKG_USING_OTA_DOWNLOADER
2023-08-30 16:21:18 +08:00
default n
2023-11-09 20:19:51 +08:00
if LPKG_USING_HTTP_OTA
2023-08-30 16:21:18 +08:00
config PKG_HTTP_OTA_URL
string "HTTP OTA Download default URL"
2023-11-09 20:19:51 +08:00
default "http://192.168.31.22/ota.cpio"
2023-08-30 16:21:18 +08:00
endif
2023-11-09 20:19:51 +08:00
config LPKG_USING_YMODEM_OTA
2023-08-30 16:21:18 +08:00
bool "Enable Ymodem OTA"
select RT_USING_RYM
2024-04-03 16:40:57 +08:00
default n
2023-08-30 16:21:18 +08:00
choice
prompt "Version"
2023-11-09 20:19:51 +08:00
default LPKG_USING_OTA_DOWNLOADER_LATEST_VERSION
2023-08-30 16:21:18 +08:00
help
Select the package version
2023-11-09 20:19:51 +08:00
config LPKG_USING_OTA_DOWNLOADER_V100
2023-08-30 16:21:18 +08:00
bool "v1.0.0"
2023-11-09 20:19:51 +08:00
config LPKG_USING_OTA_DOWNLOADER_LATEST_VERSION
2023-08-30 16:21:18 +08:00
bool "latest"
endchoice
config PKG_OTA_DOWNLOADER_VER
string
2023-11-09 20:19:51 +08:00
default "v1.0.0" if LPKG_USING_OTA_DOWNLOADER_V100
default "latest" if LPKG_USING_OTA_DOWNLOADER_LATEST_VERSION
2023-08-30 16:21:18 +08:00
endif