RMUL2025/lib/MiniFlashDB/config/mf_config_template.h

17 lines
328 B
C

#include <stdint.h>
#include <stdio.h>
#include <string.h>
/* 一块FLASH空间的大小 */
#define MF_FLASH_BLOCK_SIZE (2048)
/* 主FLASH地址 */
#define MF_FLASH_MAIN_ADDR (flash_1)
/* 备份FLASH地址 */
#define MF_FLASH_BACKUP_ADDR (flash_2)
/* Flash读写函数 */
#define MF_ERASE mf_erase
#define MF_WRITE mf_write