From cb98b7434edb47f9e5a2c48401a48b153a24d9bd Mon Sep 17 00:00:00 2001 From: "bin.yang" Date: Thu, 12 Dec 2024 21:07:38 +0800 Subject: [PATCH] fix(micro): micro issue --- tl_zigbee_sdk/apps/bootLoader/app_cfg.h | 8 -------- tl_zigbee_sdk/apps/bootLoader/version_cfg.h | 8 ++++++++ tl_zigbee_sdk/apps/sampleContactSensor/app_cfg.h | 8 -------- tl_zigbee_sdk/apps/sampleContactSensor/version_cfg.h | 8 ++++++++ tl_zigbee_sdk/apps/sampleGW/app_cfg.h | 8 -------- tl_zigbee_sdk/apps/sampleGW/version_cfg.h | 8 ++++++++ tl_zigbee_sdk/apps/sampleLight/app_cfg.h | 8 -------- tl_zigbee_sdk/apps/sampleLight/version_cfg.h | 8 ++++++++ tl_zigbee_sdk/apps/sampleSwitch/app_cfg.h | 8 -------- tl_zigbee_sdk/apps/sampleSwitch/version_cfg.h | 8 ++++++++ 10 files changed, 40 insertions(+), 40 deletions(-) diff --git a/tl_zigbee_sdk/apps/bootLoader/app_cfg.h b/tl_zigbee_sdk/apps/bootLoader/app_cfg.h index 1900d62..b26f277 100644 --- a/tl_zigbee_sdk/apps/bootLoader/app_cfg.h +++ b/tl_zigbee_sdk/apps/bootLoader/app_cfg.h @@ -88,29 +88,21 @@ extern "C" { #define BOARD BOARD_826x_DONGLE #define CLOCK_SYS_CLOCK_HZ 32000000 #elif defined(MCU_CORE_8258) -#if (CHIP_TYPE == TLSR_8258_1M) - #define FLASH_CAP_SIZE_1M 1 -#endif #define BOARD BOARD_8258_DONGLE//BOARD_8258_EVK_V1P2 #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_8278) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_8278_DONGLE//BOARD_8278_EVK #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_B91) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_B91_DONGLE//BOARD_B91_EVK #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_B92) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_B92_DONGLE//BOARD_B92_EVK #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_TL721X) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_TL721X_DONGLE//BOARD_TL721X_EVK #define CLOCK_SYS_CLOCK_HZ 120000000 #elif defined(MCU_CORE_TL321X) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_TL321X_DONGLE//BOARD_TL321X_EVK #define CLOCK_SYS_CLOCK_HZ 96000000 #else diff --git a/tl_zigbee_sdk/apps/bootLoader/version_cfg.h b/tl_zigbee_sdk/apps/bootLoader/version_cfg.h index 8aabadd..0185122 100644 --- a/tl_zigbee_sdk/apps/bootLoader/version_cfg.h +++ b/tl_zigbee_sdk/apps/bootLoader/version_cfg.h @@ -35,16 +35,24 @@ #endif #elif defined(MCU_CORE_8258) #define CHIP_TYPE TLSR_8258_512K//TLSR_8258_1M + #if (CHIP_TYPE == TLSR_8258_1M) + #define FLASH_CAP_SIZE_1M 1 + #endif #elif defined(MCU_CORE_8278) #define CHIP_TYPE TLSR_8278 + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_B91) #define CHIP_TYPE TLSR_B91 + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_B92) #define CHIP_TYPE TLSR_B92 + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_TL721X) #define CHIP_TYPE TLSR_TL721X + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_TL321X) #define CHIP_TYPE TLSR_TL321X + #define FLASH_CAP_SIZE_1M 1 #endif #define APP_RELEASE 0x10//app release 1.0 diff --git a/tl_zigbee_sdk/apps/sampleContactSensor/app_cfg.h b/tl_zigbee_sdk/apps/sampleContactSensor/app_cfg.h index 42cba5c..206dd90 100644 --- a/tl_zigbee_sdk/apps/sampleContactSensor/app_cfg.h +++ b/tl_zigbee_sdk/apps/sampleContactSensor/app_cfg.h @@ -114,29 +114,21 @@ extern "C" { #endif #define CLOCK_SYS_CLOCK_HZ 32000000 #elif defined(MCU_CORE_8258) -#if (CHIP_TYPE == TLSR_8258_1M) - #define FLASH_CAP_SIZE_1M 1 -#endif #define BOARD BOARD_8258_DONGLE//BOARD_8258_EVK_V1P2 #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_8278) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_8278_DONGLE//BOARD_8278_EVK #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_B91) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_B91_DONGLE//BOARD_B91_EVK #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_B92) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_B92_DONGLE//BOARD_B92_EVK #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_TL721X) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_TL721X_DONGLE//BOARD_TL721X_EVK #define CLOCK_SYS_CLOCK_HZ 120000000 #elif defined(MCU_CORE_TL321X) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_TL321X_DONGLE//BOARD_TL321X_EVK #define CLOCK_SYS_CLOCK_HZ 96000000 #else diff --git a/tl_zigbee_sdk/apps/sampleContactSensor/version_cfg.h b/tl_zigbee_sdk/apps/sampleContactSensor/version_cfg.h index a48eb19..93e3e46 100644 --- a/tl_zigbee_sdk/apps/sampleContactSensor/version_cfg.h +++ b/tl_zigbee_sdk/apps/sampleContactSensor/version_cfg.h @@ -35,16 +35,24 @@ #endif #elif defined(MCU_CORE_8258) #define CHIP_TYPE TLSR_8258_512K//TLSR_8258_1M + #if (CHIP_TYPE == TLSR_8258_1M) + #define FLASH_CAP_SIZE_1M 1 + #endif #elif defined(MCU_CORE_8278) #define CHIP_TYPE TLSR_8278 + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_B91) #define CHIP_TYPE TLSR_B91 + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_B92) #define CHIP_TYPE TLSR_B92 + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_TL721X) #define CHIP_TYPE TLSR_TL721X + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_TL321X) #define CHIP_TYPE TLSR_TL321X + #define FLASH_CAP_SIZE_1M 1 #endif #define APP_RELEASE 0x10//app release 1.0 diff --git a/tl_zigbee_sdk/apps/sampleGW/app_cfg.h b/tl_zigbee_sdk/apps/sampleGW/app_cfg.h index 36677a2..05df7bd 100644 --- a/tl_zigbee_sdk/apps/sampleGW/app_cfg.h +++ b/tl_zigbee_sdk/apps/sampleGW/app_cfg.h @@ -136,29 +136,21 @@ extern "C" { #endif #define CLOCK_SYS_CLOCK_HZ 32000000 #elif defined(MCU_CORE_8258) -#if (CHIP_TYPE == TLSR_8258_1M) - #define FLASH_CAP_SIZE_1M 1 -#endif #define BOARD BOARD_8258_DONGLE//BOARD_8258_EVK_V1P2 #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_8278) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_8278_DONGLE//BOARD_8278_EVK #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_B91) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_B91_DONGLE//BOARD_B91_EVK #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_B92) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_B92_DONGLE//BOARD_B92_EVK #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_TL721X) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_TL721X_DONGLE//BOARD_TL721X_EVK #define CLOCK_SYS_CLOCK_HZ 120000000 #elif defined(MCU_CORE_TL321X) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_TL321X_DONGLE//BOARD_TL321X_EVK #define CLOCK_SYS_CLOCK_HZ 96000000 #else diff --git a/tl_zigbee_sdk/apps/sampleGW/version_cfg.h b/tl_zigbee_sdk/apps/sampleGW/version_cfg.h index de3d555..7b8e865 100644 --- a/tl_zigbee_sdk/apps/sampleGW/version_cfg.h +++ b/tl_zigbee_sdk/apps/sampleGW/version_cfg.h @@ -35,16 +35,24 @@ #endif #elif defined(MCU_CORE_8258) #define CHIP_TYPE TLSR_8258_512K//TLSR_8258_1M + #if (CHIP_TYPE == TLSR_8258_1M) + #define FLASH_CAP_SIZE_1M 1 + #endif #elif defined(MCU_CORE_8278) #define CHIP_TYPE TLSR_8278 + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_B91) #define CHIP_TYPE TLSR_B91 + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_B92) #define CHIP_TYPE TLSR_B92 + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_TL721X) #define CHIP_TYPE TLSR_TL721X + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_TL321X) #define CHIP_TYPE TLSR_TL321X + #define FLASH_CAP_SIZE_1M 1 #endif #define APP_RELEASE 0x10//app release 1.0 diff --git a/tl_zigbee_sdk/apps/sampleLight/app_cfg.h b/tl_zigbee_sdk/apps/sampleLight/app_cfg.h index 24e55a9..d5a5218 100644 --- a/tl_zigbee_sdk/apps/sampleLight/app_cfg.h +++ b/tl_zigbee_sdk/apps/sampleLight/app_cfg.h @@ -131,29 +131,21 @@ extern "C" { #define BOARD BOARD_826x_DONGLE//BOARD_826x_EVK #define CLOCK_SYS_CLOCK_HZ 32000000 #elif defined(MCU_CORE_8258) -#if (CHIP_TYPE == TLSR_8258_1M) - #define FLASH_CAP_SIZE_1M 1 -#endif #define BOARD BOARD_8258_DONGLE//BOARD_8258_EVK_V1P2 #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_8278) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_8278_DONGLE//BOARD_8278_EVK #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_B91) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_B91_DONGLE//BOARD_B91_EVK #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_B92) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_B92_DONGLE//BOARD_B92_EVK #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_TL721X) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_TL721X_DONGLE//BOARD_TL721X_EVK #define CLOCK_SYS_CLOCK_HZ 120000000 #elif defined(MCU_CORE_TL321X) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_TL321X_DONGLE//BOARD_TL321X_EVK #define CLOCK_SYS_CLOCK_HZ 96000000 #else diff --git a/tl_zigbee_sdk/apps/sampleLight/version_cfg.h b/tl_zigbee_sdk/apps/sampleLight/version_cfg.h index dab175c..5d9bb00 100644 --- a/tl_zigbee_sdk/apps/sampleLight/version_cfg.h +++ b/tl_zigbee_sdk/apps/sampleLight/version_cfg.h @@ -35,16 +35,24 @@ #endif #elif defined(MCU_CORE_8258) #define CHIP_TYPE TLSR_8258_512K//TLSR_8258_1M + #if (CHIP_TYPE == TLSR_8258_1M) + #define FLASH_CAP_SIZE_1M 1 + #endif #elif defined(MCU_CORE_8278) #define CHIP_TYPE TLSR_8278 + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_B91) #define CHIP_TYPE TLSR_B91 + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_B92) #define CHIP_TYPE TLSR_B92 + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_TL721X) #define CHIP_TYPE TLSR_TL721X + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_TL321X) #define CHIP_TYPE TLSR_TL321X + #define FLASH_CAP_SIZE_1M 1 #endif #define APP_RELEASE 0x10//app release 1.0 diff --git a/tl_zigbee_sdk/apps/sampleSwitch/app_cfg.h b/tl_zigbee_sdk/apps/sampleSwitch/app_cfg.h index 8f41223..6c03cad 100644 --- a/tl_zigbee_sdk/apps/sampleSwitch/app_cfg.h +++ b/tl_zigbee_sdk/apps/sampleSwitch/app_cfg.h @@ -122,29 +122,21 @@ extern "C" { #endif #define CLOCK_SYS_CLOCK_HZ 32000000 #elif defined(MCU_CORE_8258) -#if (CHIP_TYPE == TLSR_8258_1M) - #define FLASH_CAP_SIZE_1M 1 -#endif #define BOARD BOARD_8258_DONGLE//BOARD_8258_EVK_V1P2 #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_8278) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_8278_DONGLE//BOARD_8278_EVK #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_B91) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_B91_DONGLE//BOARD_B91_EVK #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_B92) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_B92_DONGLE//BOARD_B92_EVK #define CLOCK_SYS_CLOCK_HZ 48000000 #elif defined(MCU_CORE_TL721X) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_TL721X_DONGLE//BOARD_TL721X_EVK #define CLOCK_SYS_CLOCK_HZ 120000000 #elif defined(MCU_CORE_TL321X) - #define FLASH_CAP_SIZE_1M 1 #define BOARD BOARD_TL321X_DONGLE//BOARD_TL321X_EVK #define CLOCK_SYS_CLOCK_HZ 96000000 #else diff --git a/tl_zigbee_sdk/apps/sampleSwitch/version_cfg.h b/tl_zigbee_sdk/apps/sampleSwitch/version_cfg.h index 6e40494..7065645 100644 --- a/tl_zigbee_sdk/apps/sampleSwitch/version_cfg.h +++ b/tl_zigbee_sdk/apps/sampleSwitch/version_cfg.h @@ -35,16 +35,24 @@ #endif #elif defined(MCU_CORE_8258) #define CHIP_TYPE TLSR_8258_512K//TLSR_8258_1M + #if (CHIP_TYPE == TLSR_8258_1M) + #define FLASH_CAP_SIZE_1M 1 + #endif #elif defined(MCU_CORE_8278) #define CHIP_TYPE TLSR_8278 + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_B91) #define CHIP_TYPE TLSR_B91 + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_B92) #define CHIP_TYPE TLSR_B92 + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_TL721X) #define CHIP_TYPE TLSR_TL721X + #define FLASH_CAP_SIZE_1M 1 #elif defined(MCU_CORE_TL321X) #define CHIP_TYPE TLSR_TL321X + #define FLASH_CAP_SIZE_1M 1 #endif #define APP_RELEASE 0x10//app release 1.0