zhangbo
2025-05-08 adb51de38fed8dbdd04316ed7a270c7d68c59e42
user_config.h
@@ -136,13 +136,16 @@
/* =========================================================================================================================== */
/** TX power level: 0 ~ 60 */
#define TX_POWER_LEVEL (55)
#define TX_POWER_LEVEL (60)
/** Antenna port number for AoA, 2~4 */
#define RX_AOA_ANT_PORTS_NUM (4)
/** Antenna ports combination for AoA, @ref enum RX_ANTENNA_MODE_T */
#define RX_AOA_ANT_PORTS_COMBINATION (RX_4PORTS_ANT_3_0_1_2)
/** Antenna ports combination, @ref macro definition RX_xPORTS_ANT_xxx */
#define RX_ANT_PORTS_COMBINATION (RX_4PORTS_ANT_3_0_1_2)
/** Antenna pattern: Linear or Square */
#define SQUARE_4ANTS (0)
@@ -154,7 +157,6 @@
/** Maximum PHY payload length */
#define PHY_PAYLOAD_LEN_MAX (127)
/* =========================================================================================================================== */
/* ================                                     Simple Selection                                      ================ */
@@ -176,8 +178,8 @@
#define MK_SS_TWR_DW_RESP
#define INPUT_5V_Pin  IO_PIN_11
#define RSSI_EN (1)
#define RSSI_EN (0)
#define WS2812_PIN IO_PIN_7
#define _4G_USART_RX_Pin     IO_PIN_17
#define ACCLERATE_DETECT_Pin IO_PIN_2
#define SDA_PIN IO_PIN_3
@@ -186,7 +188,21 @@
#define SRCLK_PIN IO_PIN_8
#define RCLK_PIN IO_PIN_7
#define ADC_GND_ENABLE  IO_PIN_12
#define PCA_INPUT_DETECT IO_PIN_17
#define GET_USERKEY  gpio_pin_get_val(SCL_PIN)
//#define STS_MODE
//#define MK_MODE
#define DW1000
//通信对象
#define UWB_DW1000_XB
//#define UWB_MBXJZ_OLD
//#define UWB_DW1000_MBXJZ
//工作模式
#define UWB_CG    //UWB一直关闭
//#define UWB_CK    //UWB一直打开
//#define UWB_1_5HZ   //UWB频率可选
/* =========================================================================================================================== */
/* ================                                           End                                             ================ */
/* =========================================================================================================================== */