how to setup time stamp on SD card
I do have RTC working and SD, I found this code
FRESULT set_timestamp (char *obj)
{
FILINFO fno;
HAL_RTC_GetTime(&hrtc, &sTime, RTC_FORMAT_BIN);
HAL_RTC_GetDate(&hrtc, &sDate, RTC_FORMAT_BIN);
int hour = sTime.Hours;
int min = sTime.Minutes;
int sec = sTime.Seconds;
int month = sDate.Month;
int mday = sDate.Date;
int year = sDate.Year;
year+=2000;
fno.fdate = (WORD)(((year - 1980) << 9) | month << 5 | mday);
fno.ftime = (WORD)(hour <<11 | min <<5 | sec/2 );
f_utime(obj, &fno);
}
but it keeps saying undefined symbol f_utime
I see that ff.c contain this function, I do not know what the problem is
