From 626ffc76b4e8c6e16e3100f8aa4c46c1aae66930 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期四, 07 三月 2024 09:38:50 +0800 Subject: [PATCH] V1.6 --- 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