Building in Designer fails for a missing include that doesn't exist
When I try to "Program and Run Target" I get the following in the log window:
Compile
make -f ../gcc/Makefile -j8
Reading TouchGFX/application.config
Reading TouchGFX/target.config
Compiling Core/Src/main.c
Compiling Middlewares/Third_Party/FreeRTOS/Source/croutine.c
Compiling Middlewares/Third_Party/FreeRTOS/Source/list.c
Compiling Middlewares/Third_Party/FreeRTOS/Source/queue.c
Compiling Middlewares/Third_Party/FreeRTOS/Source/tasks.c
Compiling Middlewares/Third_Party/FreeRTOS/Source/timers.c
Compiling Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c
Compiling gcc/Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c
Core/Src/main.c:23:10: fatal error: fatfs.h: No such file or directory
#include "fatfs.h"
^~~~~~~~~
compilation terminated.
However, the lines in main.c around the one reported as causing the error are:
/* USER CODE END Header */
/* Includes ------------------------------------------------------------------*/
#include "main.h"
#include "cmsis_os.h"
#include "libjpeg.h"
#include "app_touchgfx.h"
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
/* USER CODE END Includes */
What am I missing here? None of the includes pull in fatfs.h and FATFS is disabled in the .ioc
