02-04-2019 06:33 PM
All,
Maybe I'm doing something wrong, but I just cut-and-paste one of the AXIDME examples into my project after having synthesized the hardware and I came across the following error:
'XPAR_AXIDMA_0_DEVICE_ID' undeclared (first use in this function); did you mean 'XPAR_XSDP_0_DEVICE_ID'?
The file is: xaxidma_example_sg_poll.c
I clearly have some issues linking the project with the folder where the include files are which in my case is not the standard location but another drive.
Where are these constants defined and what do they represent?
Thanks,
Pedro Diniz
02-04-2019 07:49 PM
Hi @pedro.diniz,
These macros are defined in <SDK Workspace>/<BSP>/<Processor Instance>/include/xparameters.h. They are used for defining the info related to the IP in your design (ex. number of device instances, base addresses, etc.). Please note that this file is generated while building the BSP