add:增加上位机交互框架、Flash R/W 框架

This commit is contained in:
2026-05-08 18:17:26 +08:00
parent f858a672a4
commit 8a5a32b139
21 changed files with 1131 additions and 381 deletions

View 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__ */