From 04bf7f56b700d45fd44175b67d25e0c535aa0941 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期五, 01 三月 2024 19:21:12 +0800 Subject: [PATCH] 正式固件第一版V1.2 --- 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