From 2250f814cfcfee313c64b2e01b7e1485a2f6ee4e Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期三, 28 二月 2024 17:07:46 +0800 Subject: [PATCH] 1 --- Src/OnChipDevices/Flash.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/Src/OnChipDevices/Flash.h b/Src/OnChipDevices/Flash.h index 193fee0..c41edbe 100644 --- a/Src/OnChipDevices/Flash.h +++ b/Src/OnChipDevices/Flash.h @@ -1,6 +1,5 @@ #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 @@ -18,5 +17,5 @@ void FLASH_Read( uint32_t Address, uint8_t *Readbuff, uint32_t Len); uint32_t FLASH_Write( uint32_t Address, const uint8_t* pData, uint32_t Len); void FLASH_Dis_WriteProt_Pages(void); - +unsigned short int STMFLASH_ReadHalfWord(unsigned int faddr); -- Gitblit v1.9.3