Files
xiuos/Ubiquitous/XiZi_IIoT/tool/bootloader/Kconfig
T
2023-06-15 16:43:02 +08:00

69 lines
2.0 KiB
Plaintext

menu "OTA function"
menuconfig TOOL_USING_OTA
bool "Enable support OTA function"
default n
if TOOL_USING_OTA
choice
prompt "Compile bootloader bin or application bin."
default MCUBOOT_BOOTLOADER
config MCUBOOT_BOOTLOADER
bool "Config as bootloader."
config MCUBOOT_APPLICATION
bool "Config as application."
endchoice
if MCUBOOT_APPLICATION
menu "The way of OTA firmware upgrade."
config OTA_BY_IAP
bool "Through serial port IAP."
default y
config OTA_BY_TCPSERVER
bool "Through the public network TCP server."
default n
select SUPPORT_CONNECTION_FRAMEWORK
select CONNECTION_ADAPTER_4G
config OTA_BY_PLATFORM
bool "Through IoT management platform."
default n
select SUPPORT_CONNECTION_FRAMEWORK
select CONNECTION_ADAPTER_4G
endmenu
endif
menu "Flash area address and size configuration."
config CHIP_FLAH_BASE
hex "Flash base address of the chip."
default 0x60000000
config XIUOS_FLAH_ADDRESS
hex "Flash area address of the XiUOS system."
default 0x60100000
config BAKUP_FLAH_ADDRESS
hex "Flash area address of the backup firmware."
default 0x60300000
config DOWN_FLAH_ADDRESS
hex "Flash area address of the downloaded firmware."
default 0x60500000
config FLAG_FLAH_ADDRESS
hex "Flash area address of the OTA information."
default 0x60700000
config APP_FLASH_SIZE
hex "Application package size,the default size is limited to 1M."
default 0x00100000
endmenu
endif
endmenu