Undefined reference to existing function [f_utime()]
Hi,
I have noticed very annoying bug in Stm32cubeIDE 1.0.1.
I'm unable to access f_utime function despite "fatfs.h" and "ff.h" files included.
Even stranger is that when I click: Open declaration the IDE has no problems with that....
Here is my code:
#include "sd.h"
#include <stdio.h>
#include <string.h>
#include "fatfs.h"
#include "clock.h"
#include "ff.h"
FRESULT SD_setFileTime(char* patho, DateTime* dateTime)
{
FILINFO infoo;
// time assign here...
f_utime((const TCHAR*)patho, &infoo); // << ERROR: undefined reference to f_utime
return FR_OK;
}Overall, I sometimes encounter errors like this (for example with my own defined functions). Does anybody have any clue why this happens, it's very frustrating :face_with_steam_from_nose: