SD CARD Configuration using STM32CubeIDE
I use STM32F407 Discovery board with STM32CubeIDE Version: 1.6.1 (Latest version) and I want to setup SD Card.
I adjusted the RCC clock and selected SDIO 4 bit wide bus bit and FATFS (SD Card ) and when i generate the code I get this warning message
Also I tried this code in main but there is not any response
FATFS myfat ;
FIL myfile ;
UINT mybytes;
if( f_mount(&myfat , SDPath , 1) == FR_OK)
{
char mypath[] = "Mido.txt\0";
f_open(&myfile , mypath , FA_WRITE | FA_CREATE_ALWAYS );
char data[] = "I am working ";
f_write(&myfile , data , sizeof(data) , &mybytes);
f_close(&myfile);
}
Can anyone help me to fix this warning ?
