Undefined symbols in CubeMX generated project using DCMI
Hello,
I'm working on a webcam like application using the stm32f4discovery (stm32f407vg mcu).
I've generated the the project with CubeMX following the indications in AN5052 (Digital camera interface (DCMI) for STM32 MCUs).
Once I compile it (it is a Makefile project) it ends up with undeclared symbols errors.
The first missing symbol is the one which defines the MCU (i.e. STM32F40_41xxx), which is weird since CubeMX is well aware of the MCU I'm using and it could define it for me. However, I can easily fix this by defining it. But then other five undeclared symbols appear: DCMI_ESCR_LSC_Pos, DCMI_ESCR_LEC_Pos, DCMI_ESCR_FEC_Pos, DCMI_CWSIZE_VLINE_Pos, DCMI_CWSTRT_VST_Pos.
So why are these symbols undefined? Are them supposed to be defined by me based on the camera specification? Is there anything wrong in the project settings?
