add:增加上位机交互框架、Flash R/W 框架
This commit is contained in:
13
Core/User/Driver/flash_config.h
Normal file
13
Core/User/Driver/flash_config.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef _FLASH_CONFIG_H__
|
||||
#define _FLASH_CONFIG_H__
|
||||
|
||||
#include "drv_flash.h"
|
||||
|
||||
|
||||
void stm_flash_init(void);
|
||||
int8_t stm_flash_read(uint8_t *pbuf, uint8_t frame_type);
|
||||
int8_t stm_flash_write(uint8_t *pbuf, uint16_t size, uint8_t frame_type);
|
||||
|
||||
extern flash_manage_t stm_flash_manage; // 声明flash管理结构体
|
||||
|
||||
#endif /* _FLASH_CONFIG_H__ */
|
||||
Reference in New Issue
Block a user