My source code includes the following ->
#include "stm32f4xx.h" #include "stm32f4xx_ltdc.h"
and the project has the file "stm32f4xx_ltdc.c" added to it.
When I attempt to compile it, I get :- ..\..\..\STM32F429I-Discovery_FW_V1.0.1\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_ltdc.h(487): error: #20: identifier "LTDC_Layer_TypeDef" is undefined
I've looked for "LTDC_Layer_TypeDef" in the .h and its not there.
the line in the file with the error is :-
void LTDC_LayerInit(LTDC_Layer_TypeDef* LTDC_Layerx, LTDC_Layer_InitTypeDef* LTDC_Layer_InitStruct);
Seems strange because "LTDC_Layer_InitTypeDef" is defined in the file but not "LTDC_Layer_TypeDef"
Is this a error in the STM32F429I-Discovery_FW_V1.0.1 library or have I missed something?
View all questions in Keil forum