From 76dfec4622c64f983570f33588e81e63187fd809 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期五, 15 十一月 2024 15:16:15 +0800 Subject: [PATCH] 增加了uwb_app配置 --- user_config.h | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/user_config.h b/user_config.h index ac62784..455ed23 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 @@ -147,11 +147,14 @@ /** Antenna pattern: Linear or Square */ #define SQUARE_4ANTS (0) +#define RANGING_CORR (0) + /** Velocity of propagation (%) */ #define VP_VAL (100) /** Maximum PHY payload length */ #define PHY_PAYLOAD_LEN_MAX (127) + /* =========================================================================================================================== */ /* ================ Simple Selection ================ */ @@ -175,12 +178,16 @@ #define INPUT_5V_Pin IO_PIN_11 #define RSSI_EN (1) +#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 GET_USERKEY gpio_pin_get_val(SCL_PIN) +#define STS_MODE /* =========================================================================================================================== */ /* ================ End ================ */ /* =========================================================================================================================== */ -- Gitblit v1.9.3