-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f6b16d
commit cb3aa3c
Showing
14 changed files
with
1,802 additions
and
1,444 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,47 @@ | ||
#include "chip_define.h" | ||
#include "cm3_mcu.h" | ||
|
||
|
||
#define MODULE_ENABLE(module) (module > 0) | ||
|
||
/*System use UART0 */ | ||
#define SUPPORT_UART0 1 | ||
#define SUPPORT_UART0 1 | ||
|
||
/*System use UART1 */ | ||
#define SUPPORT_UART1 1 | ||
#define SUPPORT_UART1_TX_DMA 1 | ||
#define SUPPORT_UART1_RX_DMA 1 | ||
#define SUPPORT_UART1 1 | ||
#define SUPPORT_UART1_TX_DMA 1 | ||
#define SUPPORT_UART1_RX_DMA 1 | ||
|
||
#define SUPPORT_QSPI_DMA 1 | ||
#define SUPPORT_QSPI_DMA 1 | ||
|
||
#define USE_BSP_UART_DRV 1 | ||
#define DEBUG_CONSOLE_UART_ID 0 | ||
#define USE_BSP_UART_DRV 1 | ||
#define DEBUG_CONSOLE_UART_ID 0 | ||
|
||
#define SET_SYS_CLK SYS_CLK_64MHZ | ||
#define SET_SYS_CLK SYS_CLK_64MHZ | ||
|
||
#define SUPPORT_MULTITASKING 1 | ||
#define FLASH_CHECK_ADDRESS_DISABLE 1 | ||
#define SUPPORT_MULTITASKING 1 | ||
#define FLASH_CHECK_ADDRESS_DISABLE 1 | ||
|
||
#define SUPPORT_MATTER_CONCURRENT 1 | ||
#define SUPPORT_MATTER_CONCURRENT 1 | ||
#if (MODULE_ENABLE(SUPPORT_MATTER_CONCURRENT)) | ||
#define SUPPORT_BLE 1 | ||
#define SUPPORT_THREAD 1 | ||
#define RF_FW_INCLUDE_PCI (FALSE) | ||
#define RF_FW_INCLUDE_BLE (FALSE) | ||
#define RF_FW_INCLUDE_MULTI_2P4G (TRUE) | ||
#define RFB_ZIGBEE_ENABLED (TRUE) | ||
#define RFB_MULTI_ENABLED (TRUE) | ||
#define SUPPORT_BLE 1 | ||
#define SUPPORT_THREAD 1 | ||
#define RF_FW_INCLUDE_PCI (FALSE) | ||
#define RF_FW_INCLUDE_BLE (FALSE) | ||
#define RF_FW_INCLUDE_MULTI_2P4G (TRUE) | ||
#define RFB_ZIGBEE_ENABLED (TRUE) | ||
#define RFB_MULTI_ENABLED (TRUE) | ||
#else | ||
#define SUPPORT_BLE 1 | ||
#define SUPPORT_THREAD 0 | ||
#define RF_FW_INCLUDE_PCI (TRUE) | ||
#define RF_FW_INCLUDE_BLE (TRUE) | ||
#define RF_FW_INCLUDE_MULTI_2P4G (FALSE) | ||
#define RFB_ZIGBEE_ENABLED (TRUE) | ||
#define RFB_MULTI_ENABLED (FALSE) | ||
#define SUPPORT_BLE 1 | ||
#define SUPPORT_THREAD 0 | ||
#define RF_FW_INCLUDE_PCI (TRUE) | ||
#define RF_FW_INCLUDE_BLE (TRUE) | ||
#define RF_FW_INCLUDE_MULTI_2P4G (FALSE) | ||
#define RFB_ZIGBEE_ENABLED (TRUE) | ||
#define RFB_MULTI_ENABLED (FALSE) | ||
#endif | ||
|
||
#define BLE_SUPPORT_NUM_CONN_MAX 1 | ||
|
||
/* definition for crypto hw engine */ | ||
#define CRYPTO_SECP256R1_ENABLE 1 | ||
#define CRYPTO_SECP256R1_ENABLE 1 | ||
#define LPWR_FLASH_PROTECT_ENABLE 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.