未验证 提交 28b4db91 编写于 作者: L LiuKang 提交者: GitHub

[update] support fal api for c++ (#5784)

上级 b1a9c4c4
......@@ -15,6 +15,10 @@
#include <fal_cfg.h>
#include "fal_def.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* FAL (Flash Abstraction Layer) initialization.
* It will initialize all flash device and all flash partition.
......@@ -149,4 +153,8 @@ struct rt_device *fal_mtd_nor_device_create(const char *parition_name);
*/
struct rt_device *fal_char_device_create(const char *parition_name);
#ifdef __cplusplus
}
#endif
#endif /* _FAL_H_ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册