diff --git a/iot/abup_fota/Kconfig b/iot/abup_fota/Kconfig index 81f96c8aa6..4f603d3d4e 100644 --- a/iot/abup_fota/Kconfig +++ b/iot/abup_fota/Kconfig @@ -1,7 +1,8 @@ # Kconfig file for package abup_fota menuconfig PKG_USING_ABUP_FOTA bool "abup_fota: The firmware downloader which using on Abup FOTA component" - select PKG_USING_FAL + select PKG_USING_FAL if RT_VER_NUM < 0x40100 + select RT_USING_FAL if RT_VER_NUM >= 0x40100 default n if PKG_USING_ABUP_FOTA diff --git a/iot/iot_cloud/ucloud_iot_sdk/Kconfig b/iot/iot_cloud/ucloud_iot_sdk/Kconfig index 48a9be687d..24f8f9387c 100644 --- a/iot/iot_cloud/ucloud_iot_sdk/Kconfig +++ b/iot/iot_cloud/ucloud_iot_sdk/Kconfig @@ -88,7 +88,8 @@ if PKG_USING_UCLOUD_IOT_SDK bool "Enable Ota" depends on PKG_USING_UCLOUD_MQTT default n - select PKG_USING_FAL + select PKG_USING_FAL if RT_VER_NUM < 0x40100 + select RT_USING_FAL if RT_VER_NUM >= 0x40100 config PKG_USING_UCLOUD_OTA_SAMPLE bool "Enable Ucloud Ota Sample" diff --git a/iot/ota_downloader/Kconfig b/iot/ota_downloader/Kconfig index 0249b3ff8b..a3e1a1e573 100644 --- a/iot/ota_downloader/Kconfig +++ b/iot/ota_downloader/Kconfig @@ -1,7 +1,8 @@ # Kconfig file for package ota_downloader menuconfig PKG_USING_OTA_DOWNLOADER bool "ota_downloader: The firmware downloader which using on RT-Thread OTA component" - select PKG_USING_FAL + select PKG_USING_FAL if RT_VER_NUM < 0x40100 + select RT_USING_FAL if RT_VER_NUM >= 0x40100 default n if PKG_USING_OTA_DOWNLOADER diff --git a/misc/uparam/Kconfig b/misc/uparam/Kconfig index 38ded2cb69..41459d1a26 100644 --- a/misc/uparam/Kconfig +++ b/misc/uparam/Kconfig @@ -2,7 +2,8 @@ # Kconfig file for package uparam menuconfig PKG_USING_UPARAM bool "uparam: Manage system parameters with FLASH" - select PKG_USING_FAL + select PKG_USING_FAL if RT_VER_NUM < 0x40100 + select RT_USING_FAL if RT_VER_NUM >= 0x40100 default n if PKG_USING_UPARAM diff --git a/system/FlashDB/Kconfig b/system/FlashDB/Kconfig index e962e00d44..6a973e1f8a 100644 --- a/system/FlashDB/Kconfig +++ b/system/FlashDB/Kconfig @@ -30,7 +30,8 @@ if PKG_USING_FLASHDB config FDB_USING_FAL_MODE bool prompt "Using FAL storage mode" - select PKG_USING_FAL + select PKG_USING_FAL if RT_VER_NUM < 0x40100 + select RT_USING_FAL if RT_VER_NUM >= 0x40100 default y if FDB_USING_FAL_MODE diff --git a/system/fal/Kconfig b/system/fal/Kconfig index 2b09dc3629..11b9eb7e3c 100644 --- a/system/fal/Kconfig +++ b/system/fal/Kconfig @@ -1,6 +1,7 @@ # Kconfig file for package fal menuconfig PKG_USING_FAL + depends on RT_VER_NUM < 0x40100 bool "fal: Flash Abstraction Layer implement. Manage flash device and partition." select RT_USING_LIBC if (PKG_FAL_VER_NUM <= 0x00300 && RT_VER_NUM < 0x40100) default n diff --git a/system/qboot/Kconfig b/system/qboot/Kconfig index 4de2458b81..de6b88964a 100644 --- a/system/qboot/Kconfig +++ b/system/qboot/Kconfig @@ -3,7 +3,8 @@ menuconfig PKG_USING_QBOOT bool "qboot : A component used to make bootloader quickly" - select PKG_USING_FAL + select PKG_USING_FAL if RT_VER_NUM < 0x40100 + select RT_USING_FAL if RT_VER_NUM >= 0x40100 select PKG_USING_CRCLIB default n diff --git a/tools/ChineseFontLibrary/Kconfig b/tools/ChineseFontLibrary/Kconfig index ed63578bd2..2eeed7e880 100644 --- a/tools/ChineseFontLibrary/Kconfig +++ b/tools/ChineseFontLibrary/Kconfig @@ -3,7 +3,8 @@ menuconfig PKG_USING_CHINESE_FONT_LIBRARY bool "Chinese_Font_Library: a Chinese font library for rt-thread" default n -select PKG_USING_FAL +select PKG_USING_FAL if RT_VER_NUM < 0x40100 +select RT_USING_FAL if RT_VER_NUM >= 0x40100 select FAL_USING_SFUD_PORT if PKG_USING_CHINESE_FONT_LIBRARY diff --git a/tools/CmBacktrace/Kconfig b/tools/CmBacktrace/Kconfig index 3297bb7855..b764f6fb26 100644 --- a/tools/CmBacktrace/Kconfig +++ b/tools/CmBacktrace/Kconfig @@ -56,7 +56,8 @@ if PKG_USING_CMBACKTRACE bool prompt "Save the log to FAL flash partition" default n - select PKG_USING_FAL + select PKG_USING_FAL if RT_VER_NUM < 0x40100 + select RT_USING_FAL if RT_VER_NUM >= 0x40100 help The log will save to the FAL flash partition when case hardfault and assert.