From 7ae3d2353625002a612ef5127c3fec44acbf05fa Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期五, 04 七月 2025 09:31:10 +0800 Subject: [PATCH] 修改开机log打印的版本号1.2 --- dualboots_Gai_youhua/keil/customboot/AppConfig.h | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/dualboots_Gai_youhua/keil/customboot/AppConfig.h b/dualboots_Gai_youhua/keil/customboot/AppConfig.h index 982987e..de9050b 100644 --- a/dualboots_Gai_youhua/keil/customboot/AppConfig.h +++ b/dualboots_Gai_youhua/keil/customboot/AppConfig.h @@ -19,7 +19,7 @@ #define APP_CONFIG_APPLICATION_ADDRESS 0x0400A000 //4K对齐 #define APP_CONFIG_OTA_ADDRESS 0x08010000 #define APP_CONFIG_OTA_SIZE 0x10000 -#define APP_CONFIG_APPLICATION_SIZE 0x19000 //4K对齐 +#define APP_CONFIG_APPLICATION_SIZE 0x20000 //4K对齐 #define APP_CONFIG_GENERAL_FIFO_SECTOR_SIZE (4 * 1024) #define APP_CONFIG_GENERAL_FIFO_MEMBER_SIZE 64 @@ -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