zhyinch
2022-08-10 ee92c0770f3d386bdd58189f1b395b342f79ec34
源码/核心板/Src/OnChipDevices/Flash.h
@@ -7,7 +7,8 @@
#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,
#define FLASH_HARDWARE_FLAG      (uint32_t)0x0800F800    //the control map start address,
#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