UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 58619

2013.3 SDK - The devcfg interrupt example does not compile

Description

I created an empty SDK application and included the devcfg interrupt example, however during compilation the following error occurs:

'Building file: ../src/xdevcfg_interrupt_example.c'
'Invoking: ARM gcc compiler' arm-xilinx-eabi-gcc -Wall -O0 -g3 -c -fmessage-length=0 -I../../bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/xdevcfg_interrupt_example.d" -MT"src/xdevcfg_interrupt_example.d" -o "src/xdevcfg_interrupt_example.o" "../src/xdevcfg_interrupt_example.c"
../src/xdevcfg_interrupt_example.c: In function 'XDcfgInterruptExample':
../src/xdevcfg_interrupt_example.c:252:3: error: incompatible type for argument 1 of 'XDcfg_EnablePCAP'
In file included from ../src/xdevcfg_interrupt_example.c:86:0:
../../bsp/ps7_cortexa9_0/include/xdevcfg.h:325:6: note: expected 'struct XDcfg *' but argument is of type 'XDcfg' ../src/xdevcfg_interrupt_example.c:253:3: error: incompatible type for argument 1 of 'XDcfg_SetControlRegister' In file included from ../src/xdevcfg_interrupt_example.c:86:0: ../../bsp/ps7_cortexa9_0/include/xdevcfg.h:329:6: note: expected 'struct XDcfg *' but argument is of type 'XDcfg' make: *** [src/xdevcfg_interrupt_example.o] Error 1

Solution

This issue is fixed in the 2014.1 SDK release.

As a work-around, the devcfg polling example can be used.

AR# 58619
Date Created 12/02/2013
Last Updated 06/16/2014
Status Active
Type Known Issues
Devices
  • Zynq-7000
Tools
  • EDK - 14.7
  • Vivado Design Suite - 2013.3