From a6ddff5c49ef22b708bd739c83648af738b8f598 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期二, 15 十月 2024 14:47:00 +0800 Subject: [PATCH] 2.13,修复跟主基站测距131071,修复切换主机占测距跟id不匹配的bug --- Src/OnChipDevices/Flash.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Src/OnChipDevices/Flash.h b/Src/OnChipDevices/Flash.h index 1ebecef..e9c5a1d 100644 --- a/Src/OnChipDevices/Flash.h +++ b/Src/OnChipDevices/Flash.h @@ -6,9 +6,9 @@ #define FLASH_BASE_ADDR (uint32_t)0x08000000 //the start address of APP,keep the 0x8000000-0x8004FFF forIAP(20K) -#define FLASH_IAP_CTRL_MAP (uint32_t)0x0800F000 //the control map start address, 63K +#define FLASH_IAP_CTRL_MAP (uint32_t)0x0800FC00 //the control map start address, 63K #define MAX_APP_ADDR (uint32_t)0x0800FFFF //the max array of Flash address - +#define FLASH_HARDWARE_VERSION_MAP (uint32_t)0x08004F00 //硬件版本号和批次信息位置 #define NVIC_VectTab_FLASH ((uint32_t)0x08000000) @@ -18,5 +18,5 @@ void FLASH_Read( uint32_t Address, uint8_t *Readbuff, uint32_t Len); uint32_t FLASH_Write( uint32_t Address, const uint8_t* pData, uint32_t Len); void FLASH_Dis_WriteProt_Pages(void); - + unsigned short int STMFLASH_ReadHalfWord(unsigned int faddr); -- Gitblit v1.9.3