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# 17139

3.2 EDK - GNU Compiler reports the following error: "XPAR_<some_peripheral>_BASEADDR' undeclared (first use in this function)"

Description


General Description:

When running a 3.1 EDK design in 3.2 EDK, the GNU compile reports the following error:



"XPAR_<some_peripheral>_BASEADDR' undeclared (first use in this function)"

Solution


In 3.1 EDK, LibGen wrote each peripheral's BASEADDR and HIGHADDR in xparameters.h. The 3.2 EDK does not write these parameters by default. To resolve this error perform the following:



1. Run Project -> Assign Default Drivers.

2. Recompile your application code.
AR# 17139
Date Created 09/03/2007
Last Updated 10/05/2010
Status Archive
Type General Article