From 5ab92d7ff87870ce55ecb46c86d25ae79aa834e1 Mon Sep 17 00:00:00 2001
From: zhyinch <zhyinch@gmail.com>
Date: 星期日, 31 五月 2020 19:18:26 +0800
Subject: [PATCH] V1.28 修改MIS_NUM标志位错误

---
 源码/核心板/Src/OnChipDevices/Flash.h |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/Flash.h" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/Flash.h"
index b46612c..1fe5ea5 100644
--- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/Flash.h"
+++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/Flash.h"
@@ -5,13 +5,10 @@
 #define MAX_FPAGE_NUM   		64
   
 #define FLASH_BASE_ADDR   		(uint32_t)0x08000000	//the start address of APP,keep the 0x8000000-0x8004FFF forIAP(20K)
-#define FLASH_APP_FORMAL_ADDR  	(uint32_t)0x08001000    //the start address of formal software
-#define FLASH_APP_TEMP_ADDR     (uint32_t)0x08008000    //the start address of temp software,wait for checks
-#define FLASH_IAP_CTRL_MAP		(uint32_t)0x0800F000    //the control map start address,
+
+#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 MAX_APP_SIZE      		(uint32_t)0x7000      //the max size of software is 28K
-#define MAX_APPPAGE_NUM    		28
 
 #define NVIC_VectTab_FLASH           ((uint32_t)0x08000000)
 

--
Gitblit v1.9.3