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 10/05/2010
Status Archive
Type General Article
People Also Viewed