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); | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.h:156:37: error: unknown type name 'SD_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 156 | HAL_StatusTypeDef MX_SDMMC1_SD_Init(SD_HandleTypeDef *hsd); | ^~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/../Components/is42s32800j/is42s32800j.h:99:33: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 99 | int32_t IS42S32800J_ClockEnable(SDRAM_HandleTypeDef *Ctx, uint32_t Interface); | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:97:1: error: unknown type name 'SD_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 97 | SD_HandleTypeDef hsd_sdmmc[SD_INSTANCES_NBR]; | ^~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:99:33: error: 'QSPI_DUALFLASH_ENABLE' undeclared here (not in a function) 99 | MT25TL01G_DUALFLASH_ENABLE = QSPI_DUALFLASH_ENABLE | ^~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.h:388:40: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 388 | HAL_StatusTypeDef MX_SAI1_Block_A_Init(SAI_HandleTypeDef* hsai, MX_SAI_Config_t *MXConfig); | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/../Components/is42s32800j/is42s32800j.h:100:31: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 100 | int32_t IS42S32800J_Precharge(SDRAM_HandleTypeDef *Ctx, uint32_t Interface); | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:119:24: error: unknown type name 'SD_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 119 | static void SD_MspInit(SD_HandleTypeDef *hsd); | ^~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.h:435:40: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 435 | HAL_StatusTypeDef MX_SAI1_Block_B_Init(SAI_HandleTypeDef* hsai, MX_SAI_Config_t *MXConfig); | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:312:42: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 312 | int32_t MT25TL01G_Enter4BytesAddressMode(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:120:26: error: unknown type name 'SD_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 120 | static void SD_MspDeInit(SD_HandleTypeDef *hsd); | ^~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c: In function 'BSP_SD_Init': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:179:7: warning: implicit declaration of function 'SD_MspInit'; did you mean 'HAL_MspInit'? [-Wimplicit-function-declaration] 179 | SD_MspInit(&hsd_sdmmc[Instance]); | ^~~~~~~~~~ | HAL_MspInit ../Drivers/BSP/STM32H747I-DISCO/../Components/is42s32800j/is42s32800j.h:101:35: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 101 | int32_t IS42S32800J_ModeRegConfig(SDRAM_HandleTypeDef *Ctx, IS42S32800J_Context_t *pRegMode); | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.h:436:40: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 436 | HAL_StatusTypeDef MX_SAI4_Block_A_Init(SAI_HandleTypeDef* hsai, MX_SAI_Config_t *MXConfig); | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:313:41: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 313 | int32_t MT25TL01G_Exit4BytesAddressMode(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/../Components/is42s32800j/is42s32800j.h:102:34: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 102 | int32_t IS42S32800J_TimingConfig(SDRAM_HandleTypeDef *Ctx, FMC_SDRAM_TimingTypeDef *pTiming); | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:185:12: warning: implicit declaration of function 'MX_SDMMC1_SD_Init' [-Wimplicit-function-declaration] 185 | if(MX_SDMMC1_SD_Init(&hsd_sdmmc[Instance]) != HAL_OK) | ^~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:168:1: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 168 | SAI_HandleTypeDef haudio_out_sai; | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:314:39: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 314 | int32_t MT25TL01G_AutoPollingMemReady(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:170:1: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 170 | SAI_HandleTypeDef haudio_in_sai; | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/../Components/is42s32800j/is42s32800j.h:102:60: error: unknown type name 'FMC_SDRAM_TimingTypeDef' 102 | int32_t IS42S32800J_TimingConfig(SDRAM_HandleTypeDef *Ctx, FMC_SDRAM_TimingTypeDef *pTiming); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:316:31: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 316 | int32_t MT25TL01G_WriteEnable(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:190:17: warning: implicit declaration of function 'HAL_SD_ConfigWideBusOperation' [-Wimplicit-function-declaration] 190 | else if(HAL_SD_ConfigWideBusOperation(&hsd_sdmmc[Instance], SDMMC_BUS_WIDE_4B) != HAL_OK) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:186:25: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 186 | static void SAI_MspInit(SAI_HandleTypeDef *hsai); | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:317:30: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 317 | int32_t MT25TL01G_BlockErase(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode, uint32_t BlockAddress, MT25TL01G_Erase_t BlockSize); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/../Components/is42s32800j/is42s32800j.h:103:33: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 103 | int32_t IS42S32800J_RefreshMode(SDRAM_HandleTypeDef *Ctx, uint32_t Interface, uint32_t RefreshMode); | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:187:27: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 187 | static void SAI_MspDeInit(SAI_HandleTypeDef *hsai); | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:190:69: error: 'SDMMC_BUS_WIDE_4B' undeclared (first use in this function); did you mean 'USE_SD_BUS_WIDE_4B'? 190 | else if(HAL_SD_ConfigWideBusOperation(&hsd_sdmmc[Instance], SDMMC_BUS_WIDE_4B) != HAL_OK) | ^~~~~~~~~~~~~~~~~ | USE_SD_BUS_WIDE_4B ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:190:69: note: each undeclared identifier is reported only once for each function it appears in ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:318:29: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 318 | int32_t MT25TL01G_ChipErase(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/../Components/is42s32800j/is42s32800j.h:104:33: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 104 | int32_t IS42S32800J_RefreshRate(SDRAM_HandleTypeDef *Ctx, uint32_t RefreshCount); | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: In function 'BSP_AUDIO_OUT_Init': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:245:10: warning: implicit declaration of function 'MX_SAI1_ClockConfig' [-Wimplicit-function-declaration] 245 | if(MX_SAI1_ClockConfig(&haudio_out_sai, AudioInit->SampleRate) != HAL_OK) | ^~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:253:23: error: request for member 'Instance' in something not a structure or union 253 | haudio_out_sai.Instance = AUDIO_OUT_SAIx; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:265:9: warning: implicit declaration of function 'SAI_MspInit'; did you mean 'HAL_MspInit'? [-Wimplicit-function-declaration] 265 | SAI_MspInit(&haudio_out_sai); | ^~~~~~~~~~~ | HAL_MspInit ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:319:31: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 319 | int32_t MT25TL01G_PageProgram(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode, uint8_t *pData, uint32_t WriteAddr, uint32_t Size); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/../Components/is42s32800j/is42s32800j.h:105:36: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 105 | int32_t IS42S32800J_EnterPowerMode(SDRAM_HandleTypeDef *Ctx, uint32_t Interface); | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:198:17: warning: implicit declaration of function 'HAL_SD_ConfigSpeedBusOperation' [-Wimplicit-function-declaration] 198 | (void)HAL_SD_ConfigSpeedBusOperation(&hsd_sdmmc[Instance], SDMMC_SPEED_MODE_HIGH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:320:27: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 320 | int32_t MT25TL01G_ReadSTR(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode, uint8_t *pData, uint32_t ReadAddr, uint32_t Size); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:273:45: error: 'SAI_MODEMASTER_TX' undeclared (first use in this function) 273 | mx_sai_config.AudioMode = SAI_MODEMASTER_TX; | ^~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:273:45: note: each undeclared identifier is reported only once for each function it appears in ../Drivers/BSP/STM32H747I-DISCO/../Components/is42s32800j/is42s32800j.h:106:35: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 106 | int32_t IS42S32800J_ExitPowerMode(SDRAM_HandleTypeDef *Ctx, uint32_t Interface); | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:321:27: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 321 | int32_t MT25TL01G_ReadDTR(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode, uint8_t *pData, uint32_t ReadAddr, uint32_t Size); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/../Components/is42s32800j/is42s32800j.h:107:29: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 107 | int32_t IS42S32800J_Sendcmd(SDRAM_HandleTypeDef *Ctx, FMC_SDRAM_CommandTypeDef *SdramCmd); | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:198:70: error: 'SDMMC_SPEED_MODE_HIGH' undeclared (first use in this function) 198 | (void)HAL_SD_ConfigSpeedBusOperation(&hsd_sdmmc[Instance], SDMMC_SPEED_MODE_HIGH); | ^~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c: In function 'BSP_SD_DeInit': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:248:8: warning: implicit declaration of function 'HAL_SD_DeInit'; did you mean 'BSP_SD_DeInit'? [-Wimplicit-function-declaration] 248 | if(HAL_SD_DeInit(&hsd_sdmmc[Instance]) != HAL_OK)/* HAL SD de-initialization */ | ^~~~~~~~~~~~~ | BSP_SD_DeInit ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:322:38: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 322 | int32_t MT25TL01G_ReadStatusRegister(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode, uint8_t *Value); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:274:45: error: 'SAI_CLOCKSTROBING_RISINGEDGE' undeclared (first use in this function) 274 | mx_sai_config.ClockStrobing = SAI_CLOCKSTROBING_RISINGEDGE; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:259:7: warning: implicit declaration of function 'SD_MspDeInit'; did you mean 'HAL_MspDeInit'? [-Wimplicit-function-declaration] 259 | SD_MspDeInit(&hsd_sdmmc[Instance]); | ^~~~~~~~~~~~ | HAL_MspDeInit ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:275:78: error: 'SAI_MONOMODE' undeclared (first use in this function); did you mean 'SAI_STREOMODE'? 275 | mx_sai_config.MonoStereoMode = (AudioInit->ChannelsNbr == 1U) ? SAI_MONOMODE : SAI_STEREOMODE; | ^~~~~~~~~~~~ | SAI_STREOMODE ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:323:32: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 323 | int32_t MT25TL01G_EnterQPIMode(QSPI_HandleTypeDef *Ctx); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/../Components/is42s32800j/is42s32800j.h:107:55: error: unknown type name 'FMC_SDRAM_CommandTypeDef' 107 | int32_t IS42S32800J_Sendcmd(SDRAM_HandleTypeDef *Ctx, FMC_SDRAM_CommandTypeDef *SdramCmd); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.h:80:8: error: unknown type name 'SDRAM_HandleTypeDef' 80 | extern SDRAM_HandleTypeDef hsdram[]; | ^~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c: At top level: ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:272:44: error: unknown type name 'SD_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 272 | __weak HAL_StatusTypeDef MX_SDMMC1_SD_Init(SD_HandleTypeDef *hsd) | ^~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:275:93: error: 'SAI_STEREOMODE' undeclared (first use in this function); did you mean 'SAI_STREOMODE'? 275 | mx_sai_config.MonoStereoMode = (AudioInit->ChannelsNbr == 1U) ? SAI_MONOMODE : SAI_STEREOMODE; | ^~~~~~~~~~~~~~ | SAI_STREOMODE ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:324:31: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 324 | int32_t MT25TL01G_ExitQPIMode(QSPI_HandleTypeDef *Ctx); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c: In function 'BSP_SD_ReadBlocks': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:481:8: warning: implicit declaration of function 'HAL_SD_ReadBlocks'; did you mean 'BSP_SD_ReadBlocks'? [-Wimplicit-function-declaration] 481 | if(HAL_SD_ReadBlocks(&hsd_sdmmc[Instance], (uint8_t *)pData, BlockIdx, BlocksNbr, timeout) != HAL_OK) | ^~~~~~~~~~~~~~~~~ | BSP_SD_ReadBlocks ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:276:98: error: 'SAI_DATASIZE_32' undeclared (first use in this function) 276 | mx_sai_config.DataSize = (AudioInit->BitsPerSample == AUDIO_RESOLUTION_32B) ? SAI_DATASIZE_32 : SAI_DATASIZE_16; | ^~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.h:94:46: error: unknown type name 'FMC_SDRAM_CommandTypeDef' 94 | int32_t BSP_SDRAM_SendCmd(uint32_t Instance, FMC_SDRAM_CommandTypeDef *SdramCmd); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:326:45: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 326 | int32_t MT25TL01G_EnableMemoryMappedModeSTR(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c: In function 'BSP_SD_WriteBlocks': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:510:8: warning: implicit declaration of function 'HAL_SD_WriteBlocks'; did you mean 'BSP_SD_WriteBlocks'? [-Wimplicit-function-declaration] 510 | if(HAL_SD_WriteBlocks(&hsd_sdmmc[Instance], (uint8_t *)pData, BlockIdx, BlocksNbr, timeout) != HAL_OK) | ^~~~~~~~~~~~~~~~~~ | BSP_SD_WriteBlocks ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:327:45: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 327 | int32_t MT25TL01G_EnableMemoryMappedModeDTR(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:276:116: error: 'SAI_DATASIZE_16' undeclared (first use in this function) 276 | mx_sai_config.DataSize = (AudioInit->BitsPerSample == AUDIO_RESOLUTION_32B) ? SAI_DATASIZE_32 : SAI_DATASIZE_16; | ^~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.h:100:33: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 100 | HAL_StatusTypeDef MX_SDRAM_Init(SDRAM_HandleTypeDef *hSdram); | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c: In function 'BSP_SD_ReadBlocks_DMA': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:538:8: warning: implicit declaration of function 'HAL_SD_ReadBlocks_DMA'; did you mean 'BSP_SD_ReadBlocks_DMA'? [-Wimplicit-function-declaration] 538 | if(HAL_SD_ReadBlocks_DMA(&hsd_sdmmc[Instance], (uint8_t *)pData, BlockIdx, BlocksNbr) != HAL_OK) | ^~~~~~~~~~~~~~~~~~~~~ | BSP_SD_ReadBlocks_DMA ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:328:32: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 328 | int32_t MT25TL01G_WriteDisable(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:74:1: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 74 | SDRAM_HandleTypeDef hsdram[SDRAM_INSTANCES_NBR]; | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c: In function 'BSP_SD_WriteBlocks_DMA': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:566:8: warning: implicit declaration of function 'HAL_SD_WriteBlocks_DMA'; did you mean 'BSP_SD_WriteBlocks_DMA'? [-Wimplicit-function-declaration] 566 | if(HAL_SD_WriteBlocks_DMA(&hsd_sdmmc[Instance], (uint8_t *)pData, BlockIdx, BlocksNbr) != HAL_OK) | ^~~~~~~~~~~~~~~~~~~~~~ | BSP_SD_WriteBlocks_DMA ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:279:45: error: 'SAI_OUTPUTDRIVE_ENABLE' undeclared (first use in this function); did you mean 'SAI_OUTPUTDRIVE_ENABLED'? 279 | mx_sai_config.OutputDrive = SAI_OUTPUTDRIVE_ENABLE; | ^~~~~~~~~~~~~~~~~~~~~~ | SAI_OUTPUTDRIVE_ENABLED ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:329:26: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 329 | int32_t MT25TL01G_ReadID(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode, uint8_t *ID); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:92:29: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 92 | static void SDRAM_MspDeInit(SDRAM_HandleTypeDef *hSdram); | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:280:45: error: 'SAI_ASYNCHRONOUS' undeclared (first use in this function); did you mean 'SAI_SYNCHRONOUS_EXT'? 280 | mx_sai_config.Synchro = SAI_ASYNCHRONOUS; | ^~~~~~~~~~~~~~~~ | SAI_SYNCHRONOUS_EXT ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c: In function 'BSP_SD_ReadBlocks_IT': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:594:8: warning: implicit declaration of function 'HAL_SD_ReadBlocks_IT'; did you mean 'BSP_SD_ReadBlocks_IT'? [-Wimplicit-function-declaration] 594 | if(HAL_SD_ReadBlocks_IT(&hsd_sdmmc[Instance], (uint8_t *)pData, BlockIdx, BlocksNbr) != HAL_OK) | ^~~~~~~~~~~~~~~~~~~~ | BSP_SD_ReadBlocks_IT ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:331:31: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 331 | int32_t MT25TL01G_ResetMemory(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:93:27: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 93 | static void SDRAM_MspInit(SDRAM_HandleTypeDef *hSdram); | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c: In function 'BSP_SDRAM_Init': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:129:7: warning: implicit declaration of function 'SDRAM_MspInit'; did you mean 'HAL_MspInit'? [-Wimplicit-function-declaration] 129 | SDRAM_MspInit(&hsdram[0]); | ^~~~~~~~~~~~~ | HAL_MspInit ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:332:31: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 332 | int32_t MT25TL01G_ResetEnable(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c: In function 'BSP_SD_WriteBlocks_IT': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:622:8: warning: implicit declaration of function 'HAL_SD_WriteBlocks_IT'; did you mean 'BSP_SD_WriteBlocks_IT'? [-Wimplicit-function-declaration] 622 | if(HAL_SD_WriteBlocks_IT(&hsd_sdmmc[Instance], (uint8_t *)pData, BlockIdx, BlocksNbr) != HAL_OK) | ^~~~~~~~~~~~~~~~~~~~~ | BSP_SD_WriteBlocks_IT ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:132:8: warning: implicit declaration of function 'MX_SDRAM_Init'; did you mean 'BSP_SDRAM_Init'? [-Wimplicit-function-declaration] 132 | if(MX_SDRAM_Init(&hsdram[0]) != HAL_OK) | ^~~~~~~~~~~~~ | BSP_SDRAM_Init ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:281:45: error: 'SAI_SYNCEXT_DISABLE' undeclared (first use in this function); did you mean 'SAI_SYNCEXT_IN_ENABLE'? 281 | mx_sai_config.SynchroExt = SAI_SYNCEXT_DISABLE; | ^~~~~~~~~~~~~~~~~~~ | SAI_SYNCEXT_IN_ENABLE ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c: In function 'BSP_SD_Erase': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:650:8: warning: implicit declaration of function 'HAL_SD_Erase'; did you mean 'BSP_SD_Erase'? [-Wimplicit-function-declaration] 650 | if(HAL_SD_Erase(&hsd_sdmmc[Instance], BlockIdx, BlockIdx + BlocksNbr) != HAL_OK) | ^~~~~~~~~~~~ | BSP_SD_Erase ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:334:39: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 334 | int32_t MT25TL01G_ReadSPBLockRegister(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode, uint8_t *SPBRegister); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c: In function 'BSP_SD_GetCardState': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:670:21: warning: implicit declaration of function 'HAL_SD_GetCardState'; did you mean 'BSP_SD_GetCardState'? [-Wimplicit-function-declaration] 670 | return (int32_t)((HAL_SD_GetCardState(&hsd_sdmmc[Instance]) == HAL_SD_CARD_TRANSFER ) ? SD_TRANSFER_OK : SD_TRANSFER_BUSY); | ^~~~~~~~~~~~~~~~~~~ | BSP_SD_GetCardState ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:335:44: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 335 | int32_t MT25TL01G_ReleaseFromDeepPowerDown(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.h:197:54: error: 'SAI_SLOTACTIVE_0' undeclared (first use in this function) 197 | #define CODEC_AUDIOFRAME_SLOT_02 SAI_SLOTACTIVE_0 | SAI_SLOTACTIVE_2 | ^~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:282:45: note: in expansion of macro 'CODEC_AUDIOFRAME_SLOT_02' 282 | mx_sai_config.SlotActive = CODEC_AUDIOFRAME_SLOT_02; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:139:34: error: 'FMC_SDRAM_CMD_TARGET_BANK2' undeclared (first use in this function) 139 | pRegMode.TargetBank = FMC_SDRAM_CMD_TARGET_BANK2; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:139:34: note: each undeclared identifier is reported only once for each function it appears in ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:149:10: warning: implicit declaration of function 'IS42S32800J_Init'; did you mean 'IS42S32800J_H'? [-Wimplicit-function-declaration] 149 | if(IS42S32800J_Init(&hsdram[0], &pRegMode) != IS42S32800J_OK) | ^~~~~~~~~~~~~~~~ | IS42S32800J_H ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c: In function 'BSP_SDRAM_DeInit': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:179:21: error: request for member 'Instance' in something not a structure or union 179 | hsdram[Instance].Instance = FMC_SDRAM_DEVICE; | ^ ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:336:38: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 336 | int32_t MT25TL01G_EnterDeepPowerDown(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:670:66: error: 'HAL_SD_CARD_TRANSFER' undeclared (first use in this function); did you mean 'HAL_DMA_HALF_TRANSFER'? 670 | return (int32_t)((HAL_SD_GetCardState(&hsd_sdmmc[Instance]) == HAL_SD_CARD_TRANSFER ) ? SD_TRANSFER_OK : SD_TRANSFER_BUSY); | ^~~~~~~~~~~~~~~~~~~~ | HAL_DMA_HALF_TRANSFER ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.h:197:73: error: 'SAI_SLOTACTIVE_2' undeclared (first use in this function) 197 | #define CODEC_AUDIOFRAME_SLOT_02 SAI_SLOTACTIVE_0 | SAI_SLOTACTIVE_2 | ^~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:282:45: note: in expansion of macro 'CODEC_AUDIOFRAME_SLOT_02' 282 | mx_sai_config.SlotActive = CODEC_AUDIOFRAME_SLOT_02; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:179:33: error: 'FMC_SDRAM_DEVICE' undeclared (first use in this function); did you mean 'FMC_SDRTR_REIE'? 179 | hsdram[Instance].Instance = FMC_SDRAM_DEVICE; | ^~~~~~~~~~~~~~~~ | FMC_SDRTR_REIE ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:337:35: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 337 | int32_t MT25TL01G_ProgEraseResume(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c: At top level: ../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.c:679:47: note: in expansion of macro 'BSP_SD_CardInfo' 679 | int32_t BSP_SD_GetCardInfo(uint32_t Instance, BSP_SD_CardInfo *CardInfo) | ^~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:181:11: warning: implicit declaration of function 'HAL_SDRAM_DeInit'; did you mean 'BSP_SDRAM_DeInit'? [-Wimplicit-function-declaration] 181 | (void)HAL_SDRAM_DeInit(&hsdram[Instance]); | ^~~~~~~~~~~~~~~~ | BSP_SDRAM_DeInit ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:285:14: warning: implicit declaration of function 'MX_SAI1_Block_A_Init'; did you mean 'SAI1_Block_A_BASE'? [-Wimplicit-function-declaration] 285 | if(MX_SAI1_Block_A_Init(&haudio_out_sai, &mx_sai_config) != HAL_OK) | ^~~~~~~~~~~~~~~~~~~~ | SAI1_Block_A_BASE ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: In function 'BSP_AUDIO_OUT_DeInit': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:353:5: warning: implicit declaration of function 'SAI_MspDeInit'; did you mean 'HAL_MspDeInit'? [-Wimplicit-function-declaration] 353 | SAI_MspDeInit(&haudio_out_sai); | ^~~~~~~~~~~~~ | HAL_MspDeInit ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:356:19: error: request for member 'Instance' in something not a structure or union 356 | haudio_out_sai.Instance = AUDIO_OUT_SAIx; | ^ ../Drivers/BSP/STM32H747I-DISCO/../Components/mt25tl01g/mt25tl01g.h:338:36: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 338 | int32_t MT25TL01G_ProgEraseSuspend(QSPI_HandleTypeDef *Ctx, MT25TL01G_Interface_t Mode); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.h:196:8: error: unknown type name 'QSPI_HandleTypeDef' 196 | extern QSPI_HandleTypeDef hqspi; | ^~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:704:27: error: unknown type name 'SD_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 704 | void HAL_SD_AbortCallback(SD_HandleTypeDef *hsd) | ^~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:184:5: warning: implicit declaration of function 'SDRAM_MspDeInit'; did you mean 'HAL_MspDeInit'? [-Wimplicit-function-declaration] 184 | SDRAM_MspDeInit(&hsdram[Instance]); | ^~~~~~~~~~~~~~~ | HAL_MspDeInit ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:362:13: warning: implicit declaration of function 'HAL_SAI_DeInit'; did you mean 'HAL_UART_DeInit'? [-Wimplicit-function-declaration] 362 | else if(HAL_SAI_DeInit(&haudio_out_sai) != HAL_OK) | ^~~~~~~~~~~~~~ | HAL_UART_DeInit ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:714:28: error: unknown type name 'SD_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 714 | void HAL_SD_TxCpltCallback(SD_HandleTypeDef *hsd) | ^~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.h:225:32: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 225 | HAL_StatusTypeDef MX_QSPI_Init(QSPI_HandleTypeDef *hQspi, MX_QSPI_Init_t *Config); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c: At top level: ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:199:40: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 199 | __weak HAL_StatusTypeDef MX_SDRAM_Init(SDRAM_HandleTypeDef *hSdram) | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: At top level: ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:383:47: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 383 | __weak HAL_StatusTypeDef MX_SAI1_Block_A_Init(SAI_HandleTypeDef* hsai, MX_SAI_Config_t *MXConfig) | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:724:28: error: unknown type name 'SD_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 724 | void HAL_SD_RxCpltCallback(SD_HandleTypeDef *hsd) | ^~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:80:1: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 80 | QSPI_HandleTypeDef hqspi; | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:443:46: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 443 | __weak HAL_StatusTypeDef MX_SAI1_ClockConfig(SAI_HandleTypeDef *hsai, uint32_t SampleRate) | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c: In function 'BSP_SD_IRQHandler': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:766:3: warning: implicit declaration of function 'HAL_SD_IRQHandler'; did you mean 'BSP_SD_IRQHandler'? [-Wimplicit-function-declaration] 766 | HAL_SD_IRQHandler(&hsd_sdmmc[Instance]); | ^~~~~~~~~~~~~~~~~ | BSP_SD_IRQHandler ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:317:46: error: unknown type name 'FMC_SDRAM_CommandTypeDef' 317 | int32_t BSP_SDRAM_SendCmd(uint32_t Instance, FMC_SDRAM_CommandTypeDef *SdramCmd) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:91:26: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 91 | static void QSPI_MspInit(QSPI_HandleTypeDef *hQspi); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c: In function 'BSP_SDRAM_IRQHandler': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:346:39: error: request for member 'hmdma' in something not a structure or union 346 | HAL_MDMA_IRQHandler(hsdram[Instance].hmdma); | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:484:46: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 484 | __weak HAL_StatusTypeDef MX_SAI4_ClockConfig(SAI_HandleTypeDef *hsai, uint32_t SampleRate) | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c: At top level: ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:858:24: error: unknown type name 'SD_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 858 | static void SD_MspInit(SD_HandleTypeDef *hsd) | ^~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:926:26: error: unknown type name 'SD_HandleTypeDef'; did you mean 'I2C_HandleTypeDef'? 926 | static void SD_MspDeInit(SD_HandleTypeDef *hsd) | ^~~~~~~~~~~~~~~~ | I2C_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c: In function 'BSP_SD_GetCardState': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.c:671:1: warning: control reaches end of non-void function [-Wreturn-type] 671 | } | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c: At top level: ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:360:27: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 360 | static void SDRAM_MspInit(SDRAM_HandleTypeDef *hsdram) | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:92:28: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 92 | static void QSPI_MspDeInit(QSPI_HandleTypeDef *hSspi); | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: In function 'BSP_AUDIO_OUT_Play': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:611:8: warning: implicit declaration of function 'HAL_SAI_Transmit_DMA'; did you mean 'HAL_UART_Transmit_DMA'? [-Wimplicit-function-declaration] 611 | if(HAL_SAI_Transmit_DMA(&haudio_out_sai, pData, (uint16_t)(NbrOfBytes /(Audio_Out_Ctx[Instance].BitsPerSample/8U))) != HAL_OK) | ^~~~~~~~~~~~~~~~~~~~ | HAL_UART_Transmit_DMA make: *** [Drivers/BSP/STM32H747I-DISCO/subdir.mk:43: Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sd.o] Error 1 ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c: In function 'BSP_QSPI_Init': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:164:7: warning: implicit declaration of function 'QSPI_MspInit'; did you mean 'HAL_MspInit'? [-Wimplicit-function-declaration] 164 | QSPI_MspInit(&hqspi); | ^~~~~~~~~~~~ | HAL_MspInit ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: In function 'BSP_AUDIO_OUT_Pause': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:657:8: warning: implicit declaration of function 'HAL_SAI_DMAPause'; did you mean 'HAL_UART_DMAPause'? [-Wimplicit-function-declaration] 657 | if(HAL_SAI_DMAPause(&haudio_out_sai) != HAL_OK) | ^~~~~~~~~~~~~~~~ | HAL_UART_DMAPause ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.c:457:29: error: unknown type name 'SDRAM_HandleTypeDef'; did you mean 'MDMA_HandleTypeDef'? 457 | static void SDRAM_MspDeInit(SDRAM_HandleTypeDef *hsdram) | ^~~~~~~~~~~~~~~~~~~ | MDMA_HandleTypeDef make: *** [Drivers/BSP/STM32H747I-DISCO/subdir.mk:43: Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_sdram.o] Error 1 ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: In function 'BSP_AUDIO_OUT_Resume': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:700:8: warning: implicit declaration of function 'HAL_SAI_DMAResume'; did you mean 'HAL_UART_DMAResume'? [-Wimplicit-function-declaration] 700 | if(HAL_SAI_DMAResume(&haudio_out_sai) != HAL_OK) | ^~~~~~~~~~~~~~~~~ | HAL_UART_DMAResume ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: In function 'BSP_AUDIO_OUT_Stop': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:745:10: warning: implicit declaration of function 'HAL_SAI_DMAStop'; did you mean 'HAL_UART_DMAStop'? [-Wimplicit-function-declaration] 745 | if(HAL_SAI_DMAStop(&haudio_out_sai)!= HAL_OK) | ^~~~~~~~~~~~~~~ | HAL_UART_DMAStop ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: In function 'BSP_AUDIO_OUT_SetSampleRate': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:997:19: error: request for member 'Init' in something not a structure or union 997 | haudio_out_sai.Init.AudioFrequency = SampleRate; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:174:84: error: 'QSPI_SAMPLE_SHIFTING_HALFCYCLE' undeclared (first use in this function) 174 | qspi_init.SampleShifting = (Init->TransferRate == BSP_QSPI_STR_TRANSFER) ? QSPI_SAMPLE_SHIFTING_HALFCYCLE : QSPI_SAMPLE_SHIFTING_NONE; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:174:84: note: each undeclared identifier is reported only once for each function it appears in ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1003:13: warning: implicit declaration of function 'HAL_SAI_Init'; did you mean 'HAL_LIN_Init'? [-Wimplicit-function-declaration] 1003 | else if(HAL_SAI_Init(&haudio_out_sai) != HAL_OK) | ^~~~~~~~~~~~ | HAL_LIN_Init ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: In function 'BSP_AUDIO_OUT_SetBitsPerSample': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1093:21: error: request for member 'Init' in something not a structure or union 1093 | haudio_out_sai.Init.DataSize = SAI_DATASIZE_32; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1093:52: error: 'SAI_DATASIZE_32' undeclared (first use in this function) 1093 | haudio_out_sai.Init.DataSize = SAI_DATASIZE_32; | ^~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1094:21: error: request for member 'FrameInit' in something not a structure or union 1094 | haudio_out_sai.FrameInit.FrameLength = 128; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1095:21: error: request for member 'FrameInit' in something not a structure or union 1095 | haudio_out_sai.FrameInit.ActiveFrameLength = 64; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1099:21: error: request for member 'Init' in something not a structure or union 1099 | haudio_out_sai.Init.DataSize = SAI_DATASIZE_16; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:174:117: error: 'QSPI_SAMPLE_SHIFTING_NONE' undeclared (first use in this function) 174 | qspi_init.SampleShifting = (Init->TransferRate == BSP_QSPI_STR_TRANSFER) ? QSPI_SAMPLE_SHIFTING_HALFCYCLE : QSPI_SAMPLE_SHIFTING_NONE; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:176:12: warning: implicit declaration of function 'MX_QSPI_Init'; did you mean 'BSP_QSPI_Init'? [-Wimplicit-function-declaration] 176 | if(MX_QSPI_Init(&hqspi, &qspi_init) != HAL_OK) | ^~~~~~~~~~~~ | BSP_QSPI_Init ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1099:52: error: 'SAI_DATASIZE_16' undeclared (first use in this function) 1099 | haudio_out_sai.Init.DataSize = SAI_DATASIZE_16; | ^~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1100:21: error: request for member 'FrameInit' in something not a structure or union 1100 | haudio_out_sai.FrameInit.FrameLength = 64; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1101:21: error: request for member 'FrameInit' in something not a structure or union 1101 | haudio_out_sai.FrameInit.ActiveFrameLength = 32; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: In function 'BSP_AUDIO_OUT_SetChannelsNbr': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1185:19: error: request for member 'Init' in something not a structure or union 1185 | haudio_out_sai.Init.MonoStereoMode = (ChannelNbr == 1U) ? SAI_MONOMODE : SAI_STEREOMODE; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1185:63: error: 'SAI_MONOMODE' undeclared (first use in this function); did you mean 'SAI_STREOMODE'? 1185 | haudio_out_sai.Init.MonoStereoMode = (ChannelNbr == 1U) ? SAI_MONOMODE : SAI_STEREOMODE; | ^~~~~~~~~~~~ | SAI_STREOMODE ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1185:78: error: 'SAI_STEREOMODE' undeclared (first use in this function); did you mean 'SAI_STREOMODE'? 1185 | haudio_out_sai.Init.MonoStereoMode = (ChannelNbr == 1U) ? SAI_MONOMODE : SAI_STEREOMODE; | ^~~~~~~~~~~~~~ | SAI_STREOMODE ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: In function 'BSP_AUDIO_OUT_IRQHandler': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1271:38: error: request for member 'hdmatx' in something not a structure or union 1271 | HAL_DMA_IRQHandler(haudio_out_sai.hdmatx); | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:184:17: warning: implicit declaration of function 'MT25TL01G_AutoPollingMemReady' [-Wimplicit-function-declaration] 184 | else if(MT25TL01G_AutoPollingMemReady(&hqspi, QSPI_Ctx[Instance].InterfaceMode) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: At top level: ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1281:29: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 1281 | void HAL_SAI_TxCpltCallback(SAI_HandleTypeDef *hsai) | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:188:17: warning: implicit declaration of function 'MT25TL01G_Enter4BytesAddressMode' [-Wimplicit-function-declaration] 188 | else if(MT25TL01G_Enter4BytesAddressMode(&hqspi, QSPI_Ctx[Instance].InterfaceMode) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1296:33: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 1296 | void HAL_SAI_TxHalfCpltCallback(SAI_HandleTypeDef *hsai) | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c: In function 'BSP_QSPI_DeInit': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:245:7: warning: implicit declaration of function 'QSPI_MspDeInit'; did you mean 'HAL_MspDeInit'? [-Wimplicit-function-declaration] 245 | QSPI_MspDeInit(&hqspi); | ^~~~~~~~~~~~~~ | HAL_MspDeInit ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1311:28: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 1311 | void HAL_SAI_ErrorCallback(SAI_HandleTypeDef *hsai) | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: In function 'BSP_AUDIO_IN_Init': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1398:20: error: request for member 'Instance' in something not a structure or union 1398 | haudio_in_sai.Instance = AUDIO_IN_SAIx; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:249:11: warning: implicit declaration of function 'HAL_QSPI_DeInit'; did you mean 'BSP_QSPI_DeInit'? [-Wimplicit-function-declaration] 249 | if (HAL_QSPI_DeInit(&hqspi) != HAL_OK) | ^~~~~~~~~~~~~~~ | BSP_QSPI_DeInit ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1413:67: error: 'SAI_MONOMODE' undeclared (first use in this function); did you mean 'SAI_STREOMODE'? 1413 | mx_config.MonoStereoMode = (AudioInit->ChannelsNbr == 1U) ? SAI_MONOMODE : SAI_STEREOMODE; | ^~~~~~~~~~~~ | SAI_STREOMODE ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1413:82: error: 'SAI_STEREOMODE' undeclared (first use in this function); did you mean 'SAI_STREOMODE'? 1413 | mx_config.MonoStereoMode = (AudioInit->ChannelsNbr == 1U) ? SAI_MONOMODE : SAI_STEREOMODE; | ^~~~~~~~~~~~~~ | SAI_STREOMODE ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c: At top level: ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:266:39: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 266 | __weak HAL_StatusTypeDef MX_QSPI_Init(QSPI_HandleTypeDef *hQspi, MX_QSPI_Init_t *Config) | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1416:78: error: 'SAI_DATASIZE_32' undeclared (first use in this function) 1416 | mx_config.DataSize =(AudioInit->BitsPerSample == AUDIO_RESOLUTION_32B)?SAI_DATASIZE_32: SAI_DATASIZE_16; | ^~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c: In function 'BSP_QSPI_Read': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:377:10: warning: implicit declaration of function 'MT25TL01G_ReadSTR'; did you mean 'MT25TL01G_READ_CMD'? [-Wimplicit-function-declaration] 377 | if(MT25TL01G_ReadSTR(&hqspi, QSPI_Ctx[Instance].InterfaceMode, pData, ReadAddr, Size) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~~ | MT25TL01G_READ_CMD ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1416:95: error: 'SAI_DATASIZE_16' undeclared (first use in this function) 1416 | mx_config.DataSize =(AudioInit->BitsPerSample == AUDIO_RESOLUTION_32B)?SAI_DATASIZE_32: SAI_DATASIZE_16; | ^~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:384:10: warning: implicit declaration of function 'MT25TL01G_ReadDTR'; did you mean 'MT25TL01G_READ_CMD'? [-Wimplicit-function-declaration] 384 | if(MT25TL01G_ReadDTR(&hqspi, QSPI_Ctx[Instance].InterfaceMode, pData, ReadAddr, Size) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~~ | MT25TL01G_READ_CMD ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1419:37: error: 'SAI_OUTPUTDRIVE_DISABLE' undeclared (first use in this function); did you mean 'SAI_OUTPUTDRIVE_DISABLED'? 1419 | mx_config.OutputDrive = SAI_OUTPUTDRIVE_DISABLE; | ^~~~~~~~~~~~~~~~~~~~~~~ | SAI_OUTPUTDRIVE_DISABLED ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c: In function 'BSP_QSPI_Write': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:438:15: warning: implicit declaration of function 'MT25TL01G_WriteEnable' [-Wimplicit-function-declaration] 438 | else if(MT25TL01G_WriteEnable(&hqspi, QSPI_Ctx[Instance].InterfaceMode) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.h:197:54: error: 'SAI_SLOTACTIVE_0' undeclared (first use in this function) 197 | #define CODEC_AUDIOFRAME_SLOT_02 SAI_SLOTACTIVE_0 | SAI_SLOTACTIVE_2 | ^~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1420:78: note: in expansion of macro 'CODEC_AUDIOFRAME_SLOT_02' 1420 | mx_config.SlotActive =(AudioInit->Device==AUDIO_IN_DEVICE_ANALOG_MIC)? CODEC_AUDIOFRAME_SLOT_02:CODEC_AUDIOFRAME_SLOT_13; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:442:15: warning: implicit declaration of function 'MT25TL01G_PageProgram'; did you mean 'MT25TL01G_PAGE_PROG_CMD'? [-Wimplicit-function-declaration] 442 | else if(MT25TL01G_PageProgram(&hqspi, QSPI_Ctx[Instance].InterfaceMode, write_data, current_addr, current_size) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~~~~~~ | MT25TL01G_PAGE_PROG_CMD ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.h:197:73: error: 'SAI_SLOTACTIVE_2' undeclared (first use in this function) 197 | #define CODEC_AUDIOFRAME_SLOT_02 SAI_SLOTACTIVE_0 | SAI_SLOTACTIVE_2 | ^~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1420:78: note: in expansion of macro 'CODEC_AUDIOFRAME_SLOT_02' 1420 | mx_config.SlotActive =(AudioInit->Device==AUDIO_IN_DEVICE_ANALOG_MIC)? CODEC_AUDIOFRAME_SLOT_02:CODEC_AUDIOFRAME_SLOT_13; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c: In function 'BSP_QSPI_EraseBlock': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:496:10: warning: implicit declaration of function 'MT25TL01G_BlockErase' [-Wimplicit-function-declaration] 496 | if(MT25TL01G_BlockErase(&hqspi, QSPI_Ctx[Instance].InterfaceMode, BlockAddress, (MT25TL01G_Erase_t)BlockSize) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.h:199:54: error: 'SAI_SLOTACTIVE_1' undeclared (first use in this function) 199 | #define CODEC_AUDIOFRAME_SLOT_13 SAI_SLOTACTIVE_1 | SAI_SLOTACTIVE_3 | ^~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1420:103: note: in expansion of macro 'CODEC_AUDIOFRAME_SLOT_13' 1420 | mx_config.SlotActive =(AudioInit->Device==AUDIO_IN_DEVICE_ANALOG_MIC)? CODEC_AUDIOFRAME_SLOT_02:CODEC_AUDIOFRAME_SLOT_13; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.h:199:73: error: 'SAI_SLOTACTIVE_3' undeclared (first use in this function) 199 | #define CODEC_AUDIOFRAME_SLOT_13 SAI_SLOTACTIVE_1 | SAI_SLOTACTIVE_3 | ^~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1420:103: note: in expansion of macro 'CODEC_AUDIOFRAME_SLOT_13' 1420 | mx_config.SlotActive =(AudioInit->Device==AUDIO_IN_DEVICE_ANALOG_MIC)? CODEC_AUDIOFRAME_SLOT_02:CODEC_AUDIOFRAME_SLOT_13; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1422:20: error: request for member 'Instance' in something not a structure or union 1422 | haudio_in_sai.Instance = SAI1_Block_B; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c: In function 'BSP_QSPI_EraseChip': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:535:10: warning: implicit declaration of function 'MT25TL01G_ChipErase' [-Wimplicit-function-declaration] 535 | if(MT25TL01G_ChipErase(&hqspi, QSPI_Ctx[Instance].InterfaceMode) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1424:37: error: 'SAI_MODESLAVE_RX' undeclared (first use in this function) 1424 | mx_config.AudioMode = SAI_MODESLAVE_RX; | ^~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c: In function 'BSP_QSPI_GetStatus': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:564:8: warning: implicit declaration of function 'MT25TL01G_ReadStatusRegister' [-Wimplicit-function-declaration] 564 | if(MT25TL01G_ReadStatusRegister(&hqspi, QSPI_Ctx[Instance].InterfaceMode, ®) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1425:37: error: 'SAI_CLOCKSTROBING_RISINGEDGE' undeclared (first use in this function) 1425 | mx_config.ClockStrobing = SAI_CLOCKSTROBING_RISINGEDGE; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1426:37: error: 'SAI_SYNCHRONOUS' undeclared (first use in this function); did you mean 'SAI_SYNCHRONOUS_EXT'? 1426 | mx_config.Synchro = SAI_SYNCHRONOUS; | ^~~~~~~~~~~~~~~ | SAI_SYNCHRONOUS_EXT ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c: In function 'BSP_QSPI_EnableMemoryMappedMode': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:625:10: warning: implicit declaration of function 'MT25TL01G_EnableMemoryMappedModeSTR'; did you mean 'BSP_QSPI_EnableMemoryMappedMode'? [-Wimplicit-function-declaration] 625 | if(MT25TL01G_EnableMemoryMappedModeSTR(&hqspi, QSPI_Ctx[Instance].InterfaceMode) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | BSP_QSPI_EnableMemoryMappedMode ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1427:37: error: 'SAI_SYNCEXT_DISABLE' undeclared (first use in this function); did you mean 'SAI_SYNCEXT_IN_ENABLE'? 1427 | mx_config.SynchroExt = SAI_SYNCEXT_DISABLE; | ^~~~~~~~~~~~~~~~~~~ | SAI_SYNCEXT_IN_ENABLE ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:636:10: warning: implicit declaration of function 'MT25TL01G_EnableMemoryMappedModeDTR'; did you mean 'BSP_QSPI_EnableMemoryMappedMode'? [-Wimplicit-function-declaration] 636 | if(MT25TL01G_EnableMemoryMappedModeDTR(&hqspi, QSPI_Ctx[Instance].InterfaceMode) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | BSP_QSPI_EnableMemoryMappedMode ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1430:10: warning: implicit declaration of function 'MX_SAI1_Block_B_Init'; did you mean 'SAI1_Block_B_BASE'? [-Wimplicit-function-declaration] 1430 | if(MX_SAI1_Block_B_Init(&haudio_in_sai, &mx_config) != HAL_OK) | ^~~~~~~~~~~~~~~~~~~~ | SAI1_Block_B_BASE ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1437:21: error: request for member 'Instance' in something not a structure or union 1437 | haudio_out_sai.Instance = SAI1_Block_A; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c: In function 'BSP_QSPI_DisableMemoryMappedMode': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:673:13: warning: implicit declaration of function 'HAL_QSPI_Abort'; did you mean 'HAL_UART_Abort'? [-Wimplicit-function-declaration] 673 | else if(HAL_QSPI_Abort(&hqspi) != HAL_OK) | ^~~~~~~~~~~~~~ | HAL_UART_Abort ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:680:12: error: request for member 'Init' in something not a structure or union 680 | hqspi.Init.SampleShifting = QSPI_SAMPLE_SHIFTING_HALFCYCLE; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1438:37: error: 'SAI_MODEMASTER_RX' undeclared (first use in this function) 1438 | mx_config.AudioMode = SAI_MODEMASTER_RX; | ^~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:680:35: error: 'QSPI_SAMPLE_SHIFTING_HALFCYCLE' undeclared (first use in this function) 680 | hqspi.Init.SampleShifting = QSPI_SAMPLE_SHIFTING_HALFCYCLE; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:682:10: warning: implicit declaration of function 'HAL_QSPI_Init'; did you mean 'BSP_QSPI_Init'? [-Wimplicit-function-declaration] 682 | if(HAL_QSPI_Init(&hqspi)!= HAL_OK) | ^~~~~~~~~~~~~ | BSP_QSPI_Init ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1439:37: error: 'SAI_CLOCKSTROBING_FALLINGEDGE' undeclared (first use in this function); did you mean 'LPTIM_CLOCKPOLARITY_FALLINGEDGE'? 1439 | mx_config.ClockStrobing = SAI_CLOCKSTROBING_FALLINGEDGE; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | LPTIM_CLOCKPOLARITY_FALLINGEDGE ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c: In function 'BSP_QSPI_ReadID': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:719:8: warning: implicit declaration of function 'MT25TL01G_ReadID'; did you mean 'MT25TL01G_READ_CMD'? [-Wimplicit-function-declaration] 719 | if(MT25TL01G_ReadID(&hqspi, QSPI_Ctx[Instance].InterfaceMode, Id) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~ | MT25TL01G_READ_CMD ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c: In function 'BSP_QSPI_ConfigFlash': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:757:12: error: request for member 'Init' in something not a structure or union 757 | hqspi.Init.SampleShifting = (Rate == BSP_QSPI_STR_TRANSFER) ? QSPI_SAMPLE_SHIFTING_HALFCYCLE : QSPI_SAMPLE_SHIFTING_NONE; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1440:37: error: 'SAI_OUTPUTDRIVE_ENABLE' undeclared (first use in this function); did you mean 'SAI_OUTPUTDRIVE_ENABLED'? 1440 | mx_config.OutputDrive = SAI_OUTPUTDRIVE_ENABLE; | ^~~~~~~~~~~~~~~~~~~~~~ | SAI_OUTPUTDRIVE_ENABLED ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:757:69: error: 'QSPI_SAMPLE_SHIFTING_HALFCYCLE' undeclared (first use in this function) 757 | hqspi.Init.SampleShifting = (Rate == BSP_QSPI_STR_TRANSFER) ? QSPI_SAMPLE_SHIFTING_HALFCYCLE : QSPI_SAMPLE_SHIFTING_NONE; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1441:37: error: 'SAI_ASYNCHRONOUS' undeclared (first use in this function); did you mean 'SAI_SYNCHRONOUS_EXT'? 1441 | mx_config.Synchro = SAI_ASYNCHRONOUS; | ^~~~~~~~~~~~~~~~ | SAI_SYNCHRONOUS_EXT ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1498:10: warning: implicit declaration of function 'MX_SAI4_ClockConfig' [-Wimplicit-function-declaration] 1498 | if(MX_SAI4_ClockConfig(&haudio_in_sai, AudioInit->SampleRate) != HAL_OK) | ^~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1502:20: error: request for member 'Instance' in something not a structure or union 1502 | haudio_in_sai.Instance = AUDIO_IN_SAI_PDMx; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:757:102: error: 'QSPI_SAMPLE_SHIFTING_NONE' undeclared (first use in this function) 757 | hqspi.Init.SampleShifting = (Rate == BSP_QSPI_STR_TRANSFER) ? QSPI_SAMPLE_SHIFTING_HALFCYCLE : QSPI_SAMPLE_SHIFTING_NONE; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1530:10: warning: implicit declaration of function 'MX_SAI4_Block_A_Init'; did you mean 'SAI4_Block_A_BASE'? [-Wimplicit-function-declaration] 1530 | if(MX_SAI4_Block_A_Init(&haudio_in_sai, &mx_config) != HAL_OK) | ^~~~~~~~~~~~~~~~~~~~ | SAI4_Block_A_BASE ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: In function 'BSP_AUDIO_IN_DeInit': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1590:20: error: request for member 'Instance' in something not a structure or union 1590 | haudio_in_sai.Instance = AUDIO_IN_SAIx; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1592:21: error: request for member 'Instance' in something not a structure or union 1592 | haudio_out_sai.Instance = AUDIO_OUT_SAIx; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1617:20: error: request for member 'Instance' in something not a structure or union 1617 | haudio_in_sai.Instance = AUDIO_IN_SAI_PDMx; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1619:21: error: request for member 'Instance' in something not a structure or union 1619 | haudio_out_sai.Instance = AUDIO_OUT_SAIx; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:771:16: warning: implicit declaration of function 'MT25TL01G_ExitQPIMode' [-Wimplicit-function-declaration] 771 | if(MT25TL01G_ExitQPIMode(&hqspi) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: At top level: ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1651:47: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 1651 | __weak HAL_StatusTypeDef MX_SAI1_Block_B_Init(SAI_HandleTypeDef* hsai, MX_SAI_Config_t *MXConfig) | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1707:47: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 1707 | __weak HAL_StatusTypeDef MX_SAI4_Block_A_Init(SAI_HandleTypeDef* hsai, MX_SAI_Config_t *MXConfig) | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:784:16: warning: implicit declaration of function 'MT25TL01G_EnterQPIMode' [-Wimplicit-function-declaration] 784 | if(MT25TL01G_EnterQPIMode(&hqspi) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: In function 'BSP_AUDIO_IN_Record': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:1944:8: warning: implicit declaration of function 'HAL_SAI_Receive_DMA'; did you mean 'HAL_UART_Receive_DMA'? [-Wimplicit-function-declaration] 1944 | if(HAL_SAI_Receive_DMA(&haudio_in_sai, (uint8_t*)pBuf, (uint16_t)(NbrOfBytes/(Audio_In_Ctx[Instance].BitsPerSample/8U))) != HAL_OK) | ^~~~~~~~~~~~~~~~~~~ | HAL_UART_Receive_DMA ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: In function 'BSP_AUDIO_IN_IRQHandler': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:2412:37: error: request for member 'hdmarx' in something not a structure or union 2412 | HAL_DMA_IRQHandler(haudio_in_sai.hdmarx); | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c: At top level: ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:825:26: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 825 | static void QSPI_MspInit(QSPI_HandleTypeDef *hQspi) | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c: At top level: ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:2422:33: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 2422 | void HAL_SAI_RxHalfCpltCallback(SAI_HandleTypeDef *hsai) | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:912:28: error: unknown type name 'QSPI_HandleTypeDef'; did you mean 'EXTI_HandleTypeDef'? 912 | static void QSPI_MspDeInit(QSPI_HandleTypeDef *hQspi) | ^~~~~~~~~~~~~~~~~~ | EXTI_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:2440:29: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 2440 | void HAL_SAI_RxCpltCallback(SAI_HandleTypeDef *hsai) | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:2596:25: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 2596 | static void SAI_MspInit(SAI_HandleTypeDef *hsai) | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c: In function 'QSPI_ResetMemory': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:953:6: warning: implicit declaration of function 'MT25TL01G_ResetEnable' [-Wimplicit-function-declaration] 953 | if(MT25TL01G_ResetEnable(&hqspi, MT25TL01G_QPI_MODE) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.c:2818:27: error: unknown type name 'SAI_HandleTypeDef'; did you mean 'UART_HandleTypeDef'? 2818 | static void SAI_MspDeInit(SAI_HandleTypeDef *hsai) | ^~~~~~~~~~~~~~~~~ | UART_HandleTypeDef make: *** [Drivers/BSP/STM32H747I-DISCO/subdir.mk:43: Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_audio.o] Error 1 ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:957:11: warning: implicit declaration of function 'MT25TL01G_ResetMemory' [-Wimplicit-function-declaration] 957 | else if(MT25TL01G_ResetMemory(&hqspi, MT25TL01G_QPI_MODE) != MT25TL01G_OK) | ^~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c: In function 'QSPI_DummyCyclesCfg': ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:993:5: error: unknown type name 'QSPI_CommandTypeDef'; did you mean 'HSEM_Common_TypeDef'? 993 | QSPI_CommandTypeDef s_command; | ^~~~~~~~~~~~~~~~~~~ | HSEM_Common_TypeDef ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:997:12: error: request for member 'InstructionMode' in something not a structure or union 997 | s_command.InstructionMode = QSPI_INSTRUCTION_4_LINES; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:997:33: error: 'QSPI_INSTRUCTION_4_LINES' undeclared (first use in this function) 997 | s_command.InstructionMode = QSPI_INSTRUCTION_4_LINES; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:998:12: error: request for member 'Instruction' in something not a structure or union 998 | s_command.Instruction = MT25TL01G_READ_VOL_CFG_REG_CMD; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:999:12: error: request for member 'AddressMode' in something not a structure or union 999 | s_command.AddressMode = QSPI_ADDRESS_NONE; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:999:33: error: 'QSPI_ADDRESS_NONE' undeclared (first use in this function); did you mean 'QSPI_ACCESS_NONE'? 999 | s_command.AddressMode = QSPI_ADDRESS_NONE; | ^~~~~~~~~~~~~~~~~ | QSPI_ACCESS_NONE ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1000:12: error: request for member 'AlternateByteMode' in something not a structure or union 1000 | s_command.AlternateByteMode = QSPI_ALTERNATE_BYTES_NONE; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1000:33: error: 'QSPI_ALTERNATE_BYTES_NONE' undeclared (first use in this function) 1000 | s_command.AlternateByteMode = QSPI_ALTERNATE_BYTES_NONE; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1001:12: error: request for member 'DataMode' in something not a structure or union 1001 | s_command.DataMode = QSPI_DATA_4_LINES; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1001:33: error: 'QSPI_DATA_4_LINES' undeclared (first use in this function) 1001 | s_command.DataMode = QSPI_DATA_4_LINES; | ^~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1002:12: error: request for member 'DummyCycles' in something not a structure or union 1002 | s_command.DummyCycles = 0; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1003:12: error: request for member 'NbData' in something not a structure or union 1003 | s_command.NbData = 2; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1004:12: error: request for member 'DdrMode' in something not a structure or union 1004 | s_command.DdrMode = QSPI_DDR_MODE_DISABLE; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1004:33: error: 'QSPI_DDR_MODE_DISABLE' undeclared (first use in this function); did you mean 'SPI_TIMODE_DISABLED'? 1004 | s_command.DdrMode = QSPI_DDR_MODE_DISABLE; | ^~~~~~~~~~~~~~~~~~~~~ | SPI_TIMODE_DISABLED ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1005:12: error: request for member 'DdrHoldHalfCycle' in something not a structure or union 1005 | s_command.DdrHoldHalfCycle = QSPI_DDR_HHC_ANALOG_DELAY; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1005:33: error: 'QSPI_DDR_HHC_ANALOG_DELAY' undeclared (first use in this function) 1005 | s_command.DdrHoldHalfCycle = QSPI_DDR_HHC_ANALOG_DELAY; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1006:12: error: request for member 'SIOOMode' in something not a structure or union 1006 | s_command.SIOOMode = QSPI_SIOO_INST_EVERY_CMD; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1006:33: error: 'QSPI_SIOO_INST_EVERY_CMD' undeclared (first use in this function) 1006 | s_command.SIOOMode = QSPI_SIOO_INST_EVERY_CMD; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1009:7: warning: implicit declaration of function 'HAL_QSPI_Command' [-Wimplicit-function-declaration] 1009 | if (HAL_QSPI_Command(&hqspi, &s_command, HAL_QPSI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) | ^~~~~~~~~~~~~~~~ In file included from C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_def.h:30, from C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h:27, from ../Core/Inc/stm32h7xx_hal_conf.h:247, from C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h:29, from ../Core/Inc/stm32h747i_discovery_conf.h:28, from ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.h:28: C:/_AMI/PG_Disco/Cam-SD-VL53L5CX/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:4323:40: error: 'HAL_QSPI_TIMEOUT_DEFAULT_VALUE' undeclared (first use in this function); did you mean 'HAL_QPSI_TIMEOUT_DEFAULT_VALUE'? 4323 | #define HAL_QPSI_TIMEOUT_DEFAULT_VALUE HAL_QSPI_TIMEOUT_DEFAULT_VALUE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1009:44: note: in expansion of macro 'HAL_QPSI_TIMEOUT_DEFAULT_VALUE' 1009 | if (HAL_QSPI_Command(&hqspi, &s_command, HAL_QPSI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1015:7: warning: implicit declaration of function 'HAL_QSPI_Receive'; did you mean 'HAL_UART_Receive'? [-Wimplicit-function-declaration] 1015 | if (HAL_QSPI_Receive(&hqspi, (uint8_t *)(®), HAL_QPSI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) | ^~~~~~~~~~~~~~~~ | HAL_UART_Receive ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1027:12: error: request for member 'Instruction' in something not a structure or union 1027 | s_command.Instruction = MT25TL01G_WRITE_VOL_CFG_REG_CMD; | ^ ../Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.c:1038:7: warning: implicit declaration of function 'HAL_QSPI_Transmit'; did you mean 'HAL_UART_Transmit'? [-Wimplicit-function-declaration] 1038 | if (HAL_QSPI_Transmit(&hqspi, (uint8_t *)(®), HAL_QPSI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) | ^~~~~~~~~~~~~~~~~ | HAL_UART_Transmit make: *** [Drivers/BSP/STM32H747I-DISCO/subdir.mk:43: Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_qspi.o] Error 1 "make -j12 all" terminated with exit code 2. Build might be incomplete. 01:12:37 Build Failed. 186 errors, 60 warnings. (took 3s.105ms)