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

2015.4 XSDK, OpenAMP - Compilation warnings when building FreeRTOS Zynq OpenAMP applications.

Description

I am getting these warnings when I build an OpenAMP application for Zynq using XSDK 2015.4

include/xscugic_hw.h:577:13: warning: passing argument 1 of 'Xil_Out32' makes integer from pointer without a cast
include/xscugic_hw.h:597:2: note: in expansion of macro 'XScuGic_WriteReg'
include/xscugic_hw.h:619:2: note: in expansion of macro 'XScuGic_WriteReg'
include/xil_io.h:231:6: note: expected 'INTPTR' but argument is of type 'u32 *'
src/baremetal.c:104:5: note: in expansion of macro 'XScuGic_EnableIntr'
src/baremetal.c:110:2: note: in expansion of macro 'XScuGic_DisableIntr'
src/baremetal.c:244:2: warning: implicit declaration of function 'Xil_L1DCacheFlush' [-Wimplicit-function-declaration]
src/baremetal.c:248:2: warning: implicit declaration of function 'Xil_L1DCacheDisable' [-Wimplicit-function-declaration]
src/platform.c:72:5: warning: implicit declaration of function 'Xil_Out32' [-Wimplicit-function-declaration]
src/platform.c:86:5: warning: implicit declaration of function 'Xil_In32' [-Wimplicit-function-declaration]
 

Solution

These warnings can safely be ignored.

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
66107 PetaLinux 2015.4 - Product Update Release Notes and Known Issues N/A N/A
AR# 66177
Date Created 12/09/2015
Last Updated 12/15/2015
Status Active
Type General Article
Devices
  • Zynq UltraScale+ MPSoC
  • Zynq-7000
  • Zynq-7000Q
  • FPGA Device Families
Tools
  • PetaLinux - 2015.4