Forum: System Workbench for STM32

Stm32F4, hal and FatFs

Hello,
is any tutorial for HAL and FatFs first build step by step? I can’t build empty main, after create project with HAL and FatFs.
I have ~100 errors about definition and etc.

Thank You for help : ).

Hi!

Actually there are enough examples on Youtube. Sometimes it is not in English, - turn on subtitles or just follow examples presented in video.
https://www.youtube.com/watch?v=c8Oknt2vkV4Question
https://www.youtube.com/watch?v=xK_9ZPngOF0Question
But there is another issue, in my case it perfectly works in Keil, but in GCC f_open causes infinite loop or just fails to create/open file with different versions of stm32Cube and fatfs library.

P.S. - This is not a problem of sw4stm32.