cancel
Showing results for 
Search instead for 
Did you mean: 

H747I-DISCO BSP files doesn't pull from HAL

ElectroManiac
Associate III

hello forum

I'm trying to make a new project from base stuff on both the BSP and JPEG_EncodingUsingFs_DMA examples

I have been trying to follow the How to add a BSP to an STM32CubeIDE project.  manual to the letter but, even after making sure all the paths are included and and defines in "stm32h7xx_hal_conf.h" have been enabled, the compiler doesn't seem to import the HAL stuff for the BSP files

I'm not sure what I'm missing/doing wrong, I have added the entire project in here and If I need to share more data let me know. thanks 

3 REPLIES 3
TDK
Guru

> the compiler doesn't seem to import the HAL stuff for the BSP files

Can you show the full output of the compiler with the relevant error messages?

Some options, solution depends on which of these is wrong:

  • Not #including the file (include it before using).
  • Include file not found (add directory to include path).
  • Source file not being compiled (add source directory location).
If you feel a post has answered your question, please click "Accept as Solution".

here's the complete console output of the compilation 

 

 

I was trying to add it as code here but couldn't so I'm adding it as a txt file.

 


@ElectroManiac wrote:

I was trying to add it as code here 


That's the way I would have recommended until I recently discovered the 'Preformatted' paragraph option:

AndrewNeil_1-1726753731616.png

 

01:12:34 **** Build of configuration Debug for project Cam-SD-VL53L5CX_CM7 ****
make -j12 all
arm-none-eabi-gcc "../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DCORE_CM7 -DUSE_HAL_DRIVER -DSTM32H747xx -c -I../Core/Inc -I../../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../Drivers/CMSIS/Include -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/FatFs/src" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32_Audio/Addons/PDM/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/Utilities/JPEG" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.d" -MT"Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.o"
arm-none-eabi-gcc "../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_camera.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DCORE_CM7 -DUSE_HAL_DRIVER -DSTM32H747xx -c -I../Core/Inc -I../../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../Drivers/CMSIS/Include -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/FatFs/src" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32_Audio/Addons/PDM/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/Utilities/JPEG" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_camera.d" -MT"Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_camera.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_camera.o"
arm-none-eabi-gcc "../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_lcd.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DCORE_CM7 -DUSE_HAL_DRIVER -DSTM32H747xx -c -I../Core/Inc -I../../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../Drivers/CMSIS/Include -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/FatFs/src" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32_Audio/Addons/PDM/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/Utilities/JPEG" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_lcd.d" -MT"Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_lcd.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_lcd.o"
arm-none-eabi-gcc "../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DCORE_CM7 -DUSE_HAL_DRIVER -DSTM32H747xx -c -I../Core/Inc -I../../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../Drivers/CMSIS/Include -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/FatFs/src" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32_Audio/Addons/PDM/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/Utilities/JPEG" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.d" -MT"Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.o"
arm-none-eabi-gcc "../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DCORE_CM7 -DUSE_HAL_DRIVER -DSTM32H747xx -c -I../Core/Inc -I../../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../Drivers/CMSIS/Include -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/FatFs/src" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32_Audio/Addons/PDM/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/Utilities/JPEG" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.d" -MT"Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.o"
arm-none-eabi-gcc "../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DCORE_CM7 -DUSE_HAL_DRIVER -DSTM32H747xx -c -I../Core/Inc -I../../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../Drivers/CMSIS/Include -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/FatFs/src" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32_Audio/Addons/PDM/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/Utilities/JPEG" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.d" -MT"Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.o"
arm-none-eabi-gcc "../Drivers/BSP/Components/ov9655/ov9655_reg.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DCORE_CM7 -DUSE_HAL_DRIVER -DSTM32H747xx -c -I../Core/Inc -I../../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../Drivers/CMSIS/Include -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/FatFs/src" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32_Audio/Addons/PDM/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/Utilities/JPEG" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/BSP/Components/ov9655/ov9655_reg.d" -MT"Drivers/BSP/Components/ov9655/ov9655_reg.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/BSP/Components/ov9655/ov9655_reg.o"
arm-none-eabi-gcc "../Drivers/BSP/Components/ov5640/ov5640.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DCORE_CM7 -DUSE_HAL_DRIVER -DSTM32H747xx -c -I../Core/Inc -I../../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../Drivers/CMSIS/Include -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/FatFs/src" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32_Audio/Addons/PDM/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/Utilities/JPEG" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/BSP/Components/ov5640/ov5640.d" -MT"Drivers/BSP/Components/ov5640/ov5640.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/BSP/Components/ov5640/ov5640.o"
arm-none-eabi-gcc "../Drivers/BSP/Components/ov5640/ov5640_reg.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DCORE_CM7 -DUSE_HAL_DRIVER -DSTM32H747xx -c -I../Core/Inc -I../../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../Drivers/CMSIS/Include -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/FatFs/src" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32_Audio/Addons/PDM/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/Utilities/JPEG" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/BSP/Components/ov5640/ov5640_reg.d" -MT"Drivers/BSP/Components/ov5640/ov5640_reg.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/BSP/Components/ov5640/ov5640_reg.o"
arm-none-eabi-gcc "../Drivers/BSP/Components/otm8009a/otm8009a.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DCORE_CM7 -DUSE_HAL_DRIVER -DSTM32H747xx -c -I../Core/Inc -I../../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../Drivers/CMSIS/Include -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/FatFs/src" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32_Audio/Addons/PDM/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/Utilities/JPEG" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/BSP/Components/otm8009a/otm8009a.d" -MT"Drivers/BSP/Components/otm8009a/otm8009a.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/BSP/Components/otm8009a/otm8009a.o"
arm-none-eabi-gcc "../Drivers/BSP/Components/otm8009a/otm8009a_reg.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DCORE_CM7 -DUSE_HAL_DRIVER -DSTM32H747xx -c -I../Core/Inc -I../../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../Drivers/CMSIS/Include -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/FatFs/src" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32_Audio/Addons/PDM/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/Utilities/JPEG" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/BSP/Components/otm8009a/otm8009a_reg.d" -MT"Drivers/BSP/Components/otm8009a/otm8009a_reg.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/BSP/Components/otm8009a/otm8009a_reg.o"
arm-none-eabi-gcc "../Drivers/BSP/Components/nt35510/nt35510.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DCORE_CM7 -DUSE_HAL_DRIVER -DSTM32H747xx -c -I../Core/Inc -I../../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../Drivers/CMSIS/Include -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/FatFs/src" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32_Audio/Addons/PDM/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/Utilities/JPEG" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/BSP/Components/nt35510/nt35510.d" -MT"Drivers/BSP/Components/nt35510/nt35510.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/BSP/Components/nt35510/nt35510.o"
In file included from ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:67:
../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.h:118:8: error: unknown type name 'SD_HandleTypeDef'
118 | extern SD_HandleTypeDef hsd_sdmmc[];
| ^~~~~~~~~~~~~~~~
In file included from ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:133:
../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.h:330:8: error: unknown type name 'SAI_HandleTypeDef'
330 | extern SAI_HandleTypeDef haudio_out_sai;
| ^~~~~~~~~~~~~~~~~
../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.h:336:8: error: unknown type name 'SAI_HandleTypeDef'
336 | extern SAI_HandleTypeDef haudio_in_sai;
| ^~~~~~~~~~~~~~~~~
In file included from ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_lcd.c:95:
../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_lcd.h:31:10: fatal error: lcd.h: No such file or directory
31 | #include "lcd.h"
| ^~~~~~~
compilation terminated.
In file included from ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_camera.c:131:
../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_camera.h:31:10: fatal error: camera.h: No such file or directory
31 | #include "camera.h"
| ^~~~~~~~~~
compilation terminated.
arm-none-eabi-gcc "../Drivers/BSP/Components/nt35510/nt35510_reg.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DCORE_CM7 -DUSE_HAL_DRIVER -DSTM32H747xx -c -I../Core/Inc -I../../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../Drivers/CMSIS/Include -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/FatFs/src" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32_Audio/Addons/PDM/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/Utilities/JPEG" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -I"C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/BSP/Components/nt35510/nt35510_reg.d" -MT"Drivers/BSP/Components/nt35510/nt35510_reg.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/BSP/Components/nt35510/nt35510_reg.o"
make: *** [Drivers/BSP/STM32H747I-DISCO/subdir.mk:43: Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_camera.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Drivers/BSP/STM32H747I-DISCO/subdir.mk:43: Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_lcd.o] Error 1
In file included from ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.h:31,
from ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:57:
../Drivers/BSP/STM32H747I-DISCO/../Components/is42s32800j/is42s32800j.h:98:26: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'?
98 | int32_t IS42S32800J_Init(SDRAM_HandleTypeDef *Ctx, IS42S32800J_Context_t *pRegMode);
| ^~~~~~~~~~~~~~~~~~~
| MDMA_HandleTypeDef
../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.h:386:39: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'?
386 | HAL_StatusTypeDef MX_SAI1_ClockConfig(SAI_HandleTypeDef *hsai, uint32_t SampleRate);
| ^~~~~~~~~~~~~~~~~
| UART_HandleTypeDef
../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.h:51:25: error: unknown type name 'HAL_SD_CardInfoTypeDef'; did you mean 'HAL_SD_CardCIDTypedef'?
51 | #define BSP_SD_CardInfo HAL_SD_CardInfoTypeDef
| ^~~~~~~~~~~~~~~~~~~~~~
../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.h:143:47: note: in expansion of macro 'BSP_SD_CardInfo'
143 | int32_t BSP_SD_GetCardInfo(uint32_t Instance, BSP_SD_CardInfo *CardInfo);
| ^~~~~~~~~~~~~~~
In file included from ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.h:30,
from ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:61:
../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:98:33: error: 'QSPI_DUALFLASH_DISABLE' undeclared here (not in a function)
98 | MT25TL01G_DUALFLASH_DISABLE = QSPI_DUALFLASH_DISABLE, /*!< Single flash mode */
| ^~~~~~~~~~~~~~~~~~~~~~
../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.h:387:39: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'?
387 | HAL_StatusTypeDef MX_SAI4_ClockConfig(SAI_HandleTypeDef *hsai, uint32_t SampleRate);
| ^~~~~~~~~~~~~~~~~ 
 

I can see a number of 'file not found' errors for headers.

As @TDK said, check if the files exist. If they do exist, check if the Include Paths cover them

 

There's also a lot of repeating errors; eg, unknown type name 'SAI_HandleTypeDef' - quite likely, these are a result of missing headers.