1
WXK
2023-12-18 da8d7a5a89a513e949b146efbed90c00ec765434
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)