why? TouchGFX compiler throws this error Core/Src/main.c:25:10: fatal error: fatfs.h: No such file or directory #include "fatfs.h"
I am developing a small project to which I decided to add a USB-HOST in MSC (Mass Storage Class) mode, with the intention of adding a USB pen drive, obviously I require the use of FATFS (USB-DISK mode) drivers. However, the Touch v4.14 compiler gave me the error:
Core / Src / main.c: 25: 10: fatal error: fatfs.h: No such file or directory #include "fatfs.h"
I did not understand why, if KEIL v5.31 did not throw any error.
I tried several movements but I continued without favorable results
until you remember the famous "makefile" of the touchgfx, explore it and try again adding the path where the file was and "done" was all