From 8217c70984ac4feb7bfc952e4f6e944bf824527d Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期二, 06 五月 2025 16:51:53 +0800 Subject: [PATCH] Merge branch 'MK大工卡-低精度GPS-1/5HZ' of http://47.108.70.204:60062/r/ChinaUWBProject into MK大工卡-低精度GPS-1/5HZ --- user_config.h | 29 +++++++++++++++++++++++++---- 1 files changed, 25 insertions(+), 4 deletions(-) diff --git a/user_config.h b/user_config.h index ac62784..55c91da 100644 --- a/user_config.h +++ b/user_config.h @@ -57,7 +57,7 @@ /* =========================================================================================================================== */ /** Enable trace output */ -#define TRACE_EN (0) +#define TRACE_EN (1) /** Enable exception reboot */ #ifndef TRACE_REBOOT_EN @@ -136,7 +136,7 @@ /* =========================================================================================================================== */ /** 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) @@ -144,8 +144,13 @@ /** 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) + +#define RANGING_CORR (0) /** Velocity of propagation (%) */ #define VP_VAL (100) @@ -173,14 +178,30 @@ #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 #define SER_PIN IO_PIN_3 #define SCL_PIN IO_PIN_4 #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_CK +#define UWB_1_5HZ /* =========================================================================================================================== */ /* ================ End ================ */ /* =========================================================================================================================== */ -- Gitblit v1.9.3