2021-05-18 09:23:14 +00:00
|
|
|
#include "fatfs.h"
|
|
|
|
|
2023-03-20 13:09:10 +00:00
|
|
|
/** logical drive path */
|
|
|
|
char fatfs_path[4];
|
|
|
|
/** File system object */
|
|
|
|
FATFS fatfs_object;
|
2021-05-18 09:23:14 +00:00
|
|
|
|
2023-03-20 13:09:10 +00:00
|
|
|
void fatfs_init(void) {
|
|
|
|
FATFS_LinkDriver(&sd_fatfs_driver, fatfs_path);
|
2021-05-18 09:23:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Gets Time from RTC
|
|
|
|
* @param None
|
|
|
|
* @retval Time in DWORD
|
|
|
|
*/
|
2022-01-05 16:10:18 +00:00
|
|
|
DWORD get_fattime(void) {
|
|
|
|
return 0;
|
2021-05-18 09:23:14 +00:00
|
|
|
}
|