From 2bd4500e1d3d9148671004e29ecde4e601030201 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期四, 27 三月 2025 18:04:03 +0800 Subject: [PATCH] ota升级开发完成 --- dualboots_Gai_youhua/keil/customboot/AppConfig.h | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/dualboots_Gai_youhua/keil/customboot/AppConfig.h b/dualboots_Gai_youhua/keil/customboot/AppConfig.h index 982987e..6c74d14 100644 --- a/dualboots_Gai_youhua/keil/customboot/AppConfig.h +++ b/dualboots_Gai_youhua/keil/customboot/AppConfig.h @@ -42,6 +42,21 @@ #define APP_CONFIG_BOOT_ROM_SIZE 0x00010000 #define APP_CONFIG_APP_ROM_ADDRESS 0x08010000 #define APP_CONFIG_APP_ROM_SIZE 0x00030000 +//boot 0x040A0000-0x04000000 40k +//app1 0x0402f000-0x0400A000 148k (最后包括gcom表) +//app2 0x04054000-0x0402f000 148k +//OTA 0x04079000-0x04054000 148k +//放ota的http链接的地方 APP_CONFIG_IAP_PARAM_MAP 0x0407A000 + +#define FLASH_IAP_CTRL_MAP (uint32_t)APP_CONFIG_IAPFLAG_SECTOR_ADDR + +#define APP2_ADRESS 0x0402f000 +#define APP1_ADRESS 0x0400A000 +#define OTA_ADRESS 0x04054000 +#define FINAL_OTA_ADRESS 0x04079000 +#define APP_CONFIG_IAP_PARAM_MAP 0x0407A000 + +#define APP_SIZE 0x04080000-APP2_ADRESS /******************************************************************************* * Type Definition * *******************************************************************************/ -- Gitblit v1.9.3