From 3b7f39134908d81041e9550f75169d671f95d0e5 Mon Sep 17 00:00:00 2001
From: chen <15335560115@163.com>
Date: 星期五, 06 六月 2025 15:57:29 +0800
Subject: [PATCH] V1.1铁鞋专属升级工卡,修改uwb配置参数为64len并且修改回包时间让其能测距升级

---
 user_config.h |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/user_config.h b/user_config.h
index ac62784..cdedafb 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
@@ -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)
@@ -174,13 +179,20 @@
 
 #define INPUT_5V_Pin  IO_PIN_11
 #define RSSI_EN (1)
-
+#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
 /* =========================================================================================================================== */
 /* ================                                           End                                             ================ */
 /* =========================================================================================================================== */

--
Gitblit v1.9.3