AR# 54589

|

14.4 EDK, SDK - Board Support Package fails to compile with Xil ISF v3.0 on Zynq SoC using hard Quad SPI

描述

In Zynq systems utilizing the hard Quad SPI device on the SoC and exporting to SDK, if the Xil ISF library is used in the Board Support Packages settings, this leads to compilation errors on the console similar to below:

"Compiling XilIsf Library"
xilisf.c: In function 'XIsf_Initialize':
xilisf.c:403:5: error: 'XQSPIPS_MASTER_OPTION' undeclared (first use in this function)
xilisf.c:403:5: note: each undeclared identifier is reported only once for each function it appears in
xilisf.c:403:5: error: 'XQSPIPS_FLASH_MODE_OPTION' undeclared (first use in this function)

xilisf.c: In function 'XIsf_RegisterInterface':

xilisf.c:905:41: warning: assignment from incompatible pointer type [enabled by default]

xilisf.c:906:35: warning: assignment from incompatible pointer type [enabled by default]
xilisf.c:907:41: warning: assignment from incompatible pointer type [enabled by default]
make[1]: *** [xilisf.o] Error 1
 
make[1]: Target `libs' not remade because of errors.

 

 

解决方案

To work around this issue:

  1. unzip the attachment at the end of this answer record into the SDK workspace.
  2. Then update the Repositories; to do this go to Xilinx Tools -> Repositories.
  3. In the Add, remove or change the order of SDK's software repositories GUI, select New..
  4. Browse to the SDK workspace:

    repos.png

  5. Next, open the Base Support Platform settings:
    bsp_settings.png
  6. In the Board Support Package Settings, under Overview -> Standalone -> xilisf
    drop-down the xilisf, and choose 4.00.a, as shown below:
    xil_ifs_settings.png
  7. To rebuild, select project -> clean, and clean all

 

NOTE: The xilisf_v4_00_a folder in the attachment can also be copied directly into the EDK install directory:
C:\Xilinx\14.4\ISE_DS\EDK\sw\lib\sw_services

The steps above are for designers using SDK in standalone mode.

AR# 54589
日期 06/03/2013
状态 Active
Type 综合文章
器件
Tools
People Also Viewed