From da80b96a9d0f2f9dc6e23d1a1830cc2384f2bd0b Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期五, 01 八月 2025 13:45:57 +0800 Subject: [PATCH] 加入升级代码,但是空间不够 先提交一下 改为分成两个app 由boot来进行跳转 --- keil/include/drivers/global_param.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/keil/include/drivers/global_param.h b/keil/include/drivers/global_param.h index a48b200..8e652ca 100644 --- a/keil/include/drivers/global_param.h +++ b/keil/include/drivers/global_param.h @@ -17,6 +17,7 @@ #define MAX_REPORT_ANC_NUM 0x4 //单次通讯基站上限 #define GROUP_ID 0x5 //单次通讯基站下限 #define DIST_OFFSET 0x6 +#define LORA_POWER 0x6 #define DEV_ROLE 0x7 //该设备是anchor还是tag #define ANC_POLL 0x8 //基站主动测距 @@ -50,6 +51,7 @@ #define NEARBASE_ID10 0x1a #define POWER 0x1B +#define SET_START_TIME 0x1B #define IMU_THRES 0x1C #define NOMOVESLEEP_TIME 0x1D #define MOTOR_ENABLE 0x1E @@ -65,8 +67,8 @@ #define CNT_RESTART 0x30 #define CNT_REBOOT 0x31 #define CNT_UPDATE 0x32 -#define BIND_DEV_ID 0x40 +#define LORA_UPDATE_FLAG 0x40 /*------------END Map Definition-------------------*/ -- Gitblit v1.9.3