CubeMX IDE Include problem

I’m learning to use the STM32F429-DISC1 board, and I want to add an TFT-Display library, but when I include it on main.c it doesn’t find the directory…

Using Keil I know how to include it to my project but on cubeMX IDE I can’t find where I should configure that include.

The include actually works when I give the full path, like so:

/* USER CODE BEGIN Includes */
#include “C:\mBed_Development\429I-TFT-Display\Drivers\BSP\STM32F429I-Discovery\stm32f429i_discovery_lcd.h”

/* USER CODE END Includes */

But this way will not work if I change my project to another folder…

Can someone help me ?

Hello, Guilherme. Thanks for checking out TechForum!

One of our more software-oriented folks will be along to help you figure out the issue with your Discovery board. In the interim, to make their life a little easier, let me ask for clarity: are you using STM32F429I-DISCO, the older/obsolete version of this board, or STM32F429I-DISC1, STMicro’s recommended update for the older board?

It’s the STM32F429I-DISC1