1
WXK
2023-08-28 aa08ceb38550e9e6f1ee2d74e1d57339fc6888a6
HAL/Flash.h
@@ -1,8 +1,8 @@
#include "main.h"
#define FLASH_SIZE             (uint32_t)0x10000
#define PAGE_SIZE            (0x100)                    //C8T6 Flash is 64KB ,each page is 256Byte
#define MAX_FPAGE_NUM         64
//#define FLASH_SIZE             (uint32_t)0x10000
//#define PAGE_SIZE            (0x100)                    //C8T6 Flash is 64KB ,each page is 256Byte
//#define MAX_FPAGE_NUM         64
  
#define FLASH_BASE_ADDR         (uint32_t)0x08000000   //the start address of APP,keep the 0x8000000-0x8004FFF forIAP(20K)