Digilent / Zybo-Z7-20-pcam-5c

52 stars 29 forks source link

compile error: XPAR_DDYNCLK_NUM_INSTANCES is not declared #3

Closed ghost closed 6 years ago

ghost commented 6 years ago

There is some issue with the axi_dynclk_v1_1 hw driver. In SDK in the board support package I had to change

`/*

DDynClk_Config DDynClk_ConfigTable[XPAR_DDYNCLK_NUM_INSTANCES] = { { XPAR_VIDEO_DYNCLK_DEVICE_ID, XPAR_VIDEO_DYNCLK_S_AXI_LITE_BASEADDR } };`

into

`/*

DDynClk_Config DDynClk_ConfigTable[XPAR_AXI_DYNCLK_NUM_INSTANCES] = { { XPAR_VIDEO_DYNCLK_DEVICE_ID, XPAR_VIDEO_DYNCLK_S_AXI_LITE_BASEADDR } }; ` as XPAR_DDYNCLK_NUM_INSTANCES is not defined in xparameters.h

elodg commented 6 years ago

@modmod24 I pushed some changes to replace dynclk completely, which should fix this issue. Please verify.