In SDK, when creating a new BSP for my project which includes a MIPI IP (MIPI DSI TX / MIPI CSI2 TX or MIPI CSI2 RX), I get errors in the auto generated xparameters.h file:
'RGB888' undeclared here (not in a function)
'true' undeclared here (not in a function)
make: *** [microblaze_0/libsrc/dsitxss_v1_1/src/make.libs] Error 2
make: Target `all' not remade because of errors.
Description Resource Path Location Type
make[1]: *** [libs] Error 1 standalone_bsp_0 C/C++ Problem
This issue is resolve in Vivado/SDK 2017.3 and later.
Prior to 2017.3, this error occurs because the Tcl file that generates the driver for the these MIPI IPs is expecting a specific string, which is the default name generated by Vivado.
Users can work around this by changing the name to make the expected pattern for the corresponding IP.