AR# 37617

|

12.1 EDK - undefined reference to 'xil_io_out32'

描述

I am using the "Create and Import Peripheral" function in XPS. I create a peripheral that contains one or more software addresses. I enable registers using the "User logic software register" tick-box. The following error occurs when the automatically created drivers compile:

./src/helloworld.o: In function 'main':
/cygdrive/c/Projects/MDB-3/Motorcontrol/Platform/SDK/Software_v1_0_a/hello_world_0/Debug/../src/helloworld.c:41: undefined reference
to 'xil_io_out32'
collect2: ld returned 1 exit status
make: *** [hello_world_0.elf] Error 1

解决方案

You need to change the function call from xil_io_out32 to XIo_Out32. This problem is scheduled to be fixed in ISE 12.4 software.

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
34609 12.x EDK - 主要问答记录列表 N/A N/A
AR# 37617
日期 12/15/2012
状态 Active
Type 综合文章
Tools
People Also Viewed