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)"

描述


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)"

解决方案


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
日期 10/05/2010
状态 Archive
Type 综合文章
的页面