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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer mcaughey
Observer
1,929 Views
Registered: ‎07-13-2017

ERROR in SDK Example xgpoi_intr_tapp_example.c on VCU108 board

I build the example microblaze with AXI support which synthesized, implemented and built the bit stream.  I exported the hardware and luanched the SDK.  I created some of the examples for the gpio.  I was able to get 3 of the four examples working.  I recieved a compile error in the xgpoi_intr_tapp_example.c example.

 

'XPAR_INTC_0_GPIO_0_VEC_ID' undeclared (first use in this function)	
xgpio_intr_tapp_example.c
/helloworld_bsp_xgpio_intr_tapp_example_1/src
line 93 C/C++ Problem

It's failing on the define of INTC_GPIO_INTERRUPT_ID:

#ifdef XPAR_INTC_0_DEVICE_ID
 #define INTC_GPIO_INTERRUPT_IDXPAR_INTC_0_GPIO_0_VEC_ID
 #define INTC_DEVICE_ID	XPAR_INTC_0_DEVICE_ID
#else
 #define INTC_GPIO_INTERRUPT_ID	XPAR_FABRIC_AXI_GPIO_0_IP2INTC_IRPT_INTR
 #define INTC_DEVICE_ID	XPAR_SCUGIC_SINGLE_DEVICE_ID
#endif /* XPAR_INTC_0_DEVICE_ID */

Given that this an example, I figured that there is something wrong in the steps leading up to this.

 

I did a search of the forums for: xgpoi_intr_tapp_example nad XPAR_INTC_0_GPIO_0_VEC_ID and came up with a few results but not related to my problem.

 

0 Kudos