42 lines
989 B
C
42 lines
989 B
C
/*
|
|
* @Date: 2024-07-18 13:45:02
|
|
* @LastEditors: lzc56 563451665@qq.com
|
|
* @LastEditTime: 2024-08-01 17:00:52
|
|
* @FilePath: \software\main\inc\drv_Fatfs.h
|
|
*/
|
|
/* MQTT (over TCP) Example
|
|
|
|
This example code is in the Public Domain (or CC0 licensed, at your option.)
|
|
|
|
Unless required by applicable law or agreed to in writing, this
|
|
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
CONDITIONS OF ANY KIND, either express or implied.
|
|
*/
|
|
|
|
#ifndef __DRV_NVS_H__
|
|
#define __DRV_NVS_H__
|
|
#include <main.h>
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include "esp_vfs.h"
|
|
#include "esp_vfs_fat.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
void ota_Fatfs_Init(void);
|
|
void ota_Fatfs_deinit(void);
|
|
|
|
void drv_Fatfs_Init(void);
|
|
|
|
int drv_fatfs_readTest(char *fileName, int filePos, int dataSize, char *data);
|
|
int drv_fatfs_writeTest(char *fileName, int filePos, int dataSize, char *data);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __DRV_USART_H__ */
|