From 65f1d70842d83f92aa31d79c97e364b4b0fd9ab6 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期二, 20 五月 2025 09:39:51 +0800 Subject: [PATCH] 加入气压计驱动 空间不够报错 --- keil/include/drivers/global_param.h | 47 ++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 40 insertions(+), 7 deletions(-) diff --git a/keil/include/drivers/global_param.h b/keil/include/drivers/global_param.h index c29a57e..5034f8a 100644 --- a/keil/include/drivers/global_param.h +++ b/keil/include/drivers/global_param.h @@ -34,17 +34,20 @@ #define MOTOR_ONTIME_INDEX 0x10 -#define TCP_IP_0 0x11 -#define TCP_IP_1 0x12 -#define TCP_IP_2 0x13 -#define TCP_IP_3 0x14 -#define TCP_PORT ALARM_DISTANCE3 - #define NEARBASE_ID1 0x11 +#define GPSENBLE 0x11 + #define NEARBASE_ID2 0x12 +#define UWBENBLE 0x12 + #define NEARBASE_ID3 0x13 +#define GPSFrequency 0x13 + #define NEARBASE_ID4 0x14 +#define UWBFrequency 0x14 + #define NEARBASE_ID5 0x15 + #define BIND_DEV_ID 0x16//绑定的设备ID #define NEARBASE_ID6 0x16 #define NEARBASE_ID7 0x17 @@ -52,9 +55,10 @@ #define NEARBASE_ID9 0x19 #define LOG_4G_ENABLE 0x19 #define NEARBASE_ID10 0x1a +#define OTA_FLAG 0x1a #define UWB_RNAGE_TIME 0xA #define UWB_WAIT_TIME 0xB -#define SEND_4G_SECOND 0x1B //4G上报频率 +//#define SEND_4G_SECOND 0x1B //4G上报频率 #define POWER 0x1B #define IMU_THRES 0x1C #define NOMOVESLEEP_TIME 0x1D @@ -66,9 +70,38 @@ #define UWB_ACTIVE_FLAG_IDX 0x23 #define HEIGHTOFFEST_INDEX 0x28 +#define GPSBAUDRATE1_INDEX 0x29 +#define GPSBAUDRATE2_INDEX 0x2A +#define RTCMMODE_INDEX 0x2B +#define UWBENABLE_INDEX 0x2C + #define CNT_RESTART 0x30 #define CNT_REBOOT 0x31 #define CNT_UPDATE 0x32 +#define ANCHOR_UPDATE 0x32 +#define IP_0 0x33 +#define IP_1 0x34 +#define IP_2 0x35 +#define IP_3 0x36 +#define PORT 0x37 +#define GPS_HZ 0x38 + +#define TCP_IP_0 0x39 +#define TCP_IP_1 0x3a +#define TCP_IP_2 0x3b +#define TCP_IP_3 0x3c +#define TCP_PORT 0x3d + +#define SWNAME_INDEX 0x3e + +#define OTA_URL_CHANGDU 0x3F +#define OTA_URL_INDEX 0x40 + +#define QXWZ_APPKEY_INDEX 0x100 +#define QXWZ_APPSECRET_INDEX 0x110 +#define QXWZ_DEVTYPE_INDEX 0x120 +#define QXWZ_DEVID_INDEX 0x130 + #define NTRIP_HOST_INDEX 0x140 #define NTRIP_PORT_INDEX 0x150 -- Gitblit v1.9.3