Skip to content

Commit

Permalink
fix(micro): micro issue
Browse files Browse the repository at this point in the history
  • Loading branch information
binYang1 committed Dec 12, 2024
1 parent fc26add commit cb98b74
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 40 deletions.
8 changes: 0 additions & 8 deletions tl_zigbee_sdk/apps/bootLoader/app_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions tl_zigbee_sdk/apps/bootLoader/version_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions tl_zigbee_sdk/apps/sampleContactSensor/app_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions tl_zigbee_sdk/apps/sampleContactSensor/version_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions tl_zigbee_sdk/apps/sampleGW/app_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions tl_zigbee_sdk/apps/sampleGW/version_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions tl_zigbee_sdk/apps/sampleLight/app_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions tl_zigbee_sdk/apps/sampleLight/version_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions tl_zigbee_sdk/apps/sampleSwitch/app_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions tl_zigbee_sdk/apps/sampleSwitch/version_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb98b74

Please sign in to comment.