From 387d1ffc16ce9e050403baee0ed07f3d9accf632 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期五, 04 七月 2025 14:55:15 +0800 Subject: [PATCH] 初步移植完成0.6.8SDK,但发送有len太长未找到原因 --- user_config.h | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/user_config.h b/user_config.h index 117220c..72b63e9 100644 --- a/user_config.h +++ b/user_config.h @@ -153,8 +153,9 @@ /** Maximum PHY payload length */ #define PHY_PAYLOAD_LEN_MAX (127) -#define BOXING //#define BOXING +//#define BOXING +#define LED_PIN IO_PIN_4 /* =========================================================================================================================== */ /* ================ Simple Selection ================ */ /* =========================================================================================================================== */ @@ -174,15 +175,22 @@ //#define MK_SS_TWR_DW_RESP -#define INPUT_5V_Pin IO_PIN_11 +#define INPUT_5V_Pin IO_PIN_2 -#define RSSI_EN (1) +#define RSSI_EN (0) /** channel number: 2, 5, 9 */ -#define UWB_CH_NUM (9) +#define UWB_CH_NUM (5) /** Velocity of propagation (%) */ #define VP_VAL (100) #define RANGING_CORR (0) #define XTAL_AUTO_TUNE_EN (0) +//#define STS_MODE +//#define MK_MODE +#define SLEEP_COUNT 1000 +//#define DW1000 +#define WSF_EN +//#define STS_MODE +#define STS_MODE_SQUARE /* =========================================================================================================================== */ /* ================ End ================ */ /* =========================================================================================================================== */ -- Gitblit v1.9.3