Other Parts Discussed in Thread: TMDSEVM572X
I am using GCC 4.9 2015q2.
We need to have a display support in our AM5728-based product with the custom OS, so I need to figure out how to get the display module working and I am trying to compile the DSS example from PDK 1.0.6. It does not compile:
E:\TI_PDK~1\PDK_AM~1\packages\ti\drv\vps\examples\dss\displayDss>gmake BUILD_PROFILE=debug
PDK_AM~1/packages/ti/binary/ti/drv/vps/src/devices/obj/tda2xx/m4/debug -fc src/bsp_device.c
"src\bsp_devicePriv.h", line 73: fatal error: cannot open source file "ti/drv/bsp_lld/i2c/bsp_i2c.h"
1 catastrophic error detected in the compilation of "src/bsp_device.c".
Compilation terminated.
File "ti/drv/bsp_lld/i2c/bsp_i2c.h" is actually missing in the PDK. It gets included in bsp_devicePriv.h conditionally:
72: #if !defined (VPS_TI_RTOS_I2C)
73: #include <ti/drv/bsp_lld/i2c/bsp_i2c.h>
74: #endif
Seems like one can define VPS_TI_RTOS_I2C by providing the SOC=am572x (ti\drv\vps\vps_component.mk handles it), but
E:\TI_PDK~1\PDK_AM~1\packages\ti\drv\vps\examples\dss\displayDss>gmake BUILD_PROFILE=debug SOC=am572x
causes linking errors.
So, how do I build the DSS example to run it on X-15 board? Or maybe there is a better example of how one should set up the display on bare metal?