I would like to add FatFs to an example project of STM32Cube_FW_F4 (LCD_DSI_CmdMode_SingleBuffer). I don’t know how to add header file folder or source file into example project. Got many error messages. Here are some questions:
1. How to add the path of FatFs header files in the “Includes”? No response when right click..
2. How and where should I add the FatFs source files? For now, I copy source file and paste it under “User” folder.
3. I got the error “Please select first the Board used in your application (in boardname_eval.h file)” which is from “ffconf.h”. Where should I define “USE_STM32469I_DISCOVER”? I tried to define it in the ffconf.h or main.h, but I still got the same error message.
#error “Please select first the Board used in your application (in boardname_eval.h file)”
4. ‘SRAM_DEVICE_ADDR’ undeclared (first use in this function). I already add #include “stm32469i_discovery_sdram.h”, but I still got this message. How should I do?
I’ve done lots of try and error. Any suggestions would be appreciated.