GenZ
GenZ copied to clipboard
xparameters_ps.h not found
Hi I'm trying to reproduce your example. Unfortunately, when I try to run the example 6, I get the compiler error
arm-none-eabi-gcc -DAXI_TEST -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -c helloworld.c -o helloworld.o -I../../zynq_fsbl/misc/ps7_cortexa9_0/include -I. -I../../zynq_fsbl/misc/pynqz1
In file included from ../../zynq_fsbl/misc/ps7_cortexa9_0/include/xil_types.h:51,
from ../../zynq_fsbl/misc/ps7_cortexa9_0/include/xil_printf.h:16,
from helloworld.c:23:
../../zynq_fsbl/misc/ps7_cortexa9_0/include/xparameters.h:16:10: fatal error: xparameters_ps.h: No such file or directory
16 | #include "xparameters_ps.h"
Any ideas, what I'm doing wrong?
Could you verify if the xparameters_ps.h exist in the zynq_fsbl/misc/ps7_cortexa9_0/include directory? After running the make command, these files should exist:
$ ls embeddedsw/lib/sw_apps/zynq_fsbl/misc/ps7_cortexa9_0/include
bspconfig.h xdevcfg.h xil_misc_psreset_api.h xparameters_ps.h
CMakeLists.txt xdevcfg_hw.h xil_mmu.h xplatform_info.c
diskio.h xenv.h xil_printf.c xplatform_info.h
ffconf.h xenv_standalone.h xil_printf.h xpm_counter.h
ff.h xgpiops.h xilrsa.h xpm_init.c
inbyte.c xgpiops_hw.h xil_sleepcommon.c xpm_init.h
mblaze_nt_types.h xil_assert.c xil_sleeptimer.h xpseudo_asm_gcc.h
outbyte.c xil_assert.h xil_spinlock.h xpseudo_asm.h
pm_api_version.h xil_cache.h xil_testcache.c xqspips.h
print.c xil_cache_l.h xil_testcache.h xqspips_hw.h
profile.h xil_cache_vxworks.h xil_testio.c xreg_cortexa9.h
_profile_timer_hw.h xil_cryptoalginfo.h xil_testio.h xsdps_core.h
sleep.h xil_errata.h xil_testmem.c xsdps.h
smc.h xil_exception.h xil_testmem.h xsdps_hw.h
vectors.h xilffs.h xil_types.h xstatus.h
xbasic_types.h xil_hal.h xil_util.c xtime_l.h
xcortexa9_config.h xil_io.h xil_util.h xuartps.h
xcortexa9.h xil_macroback.h xl2cc_counter.h xuartps_hw.h
xcpu_cortexa9.h xil_mem.c xl2cc.h
xdebug.h xil_mem.h xparameters.h
Also, if you're running on a Mac computer or using some non-standard Linux shell, some problems may occur.