Hello Path to Programmable 3 participants,
I am stuck in software training lab 4 with a build error pointing to missing file "xparameters.h". Did anyone get to this error when trying to build Lab4 project application?
Cosmin
Hello Path to Programmable 3 participants,
I am stuck in software training lab 4 with a build error pointing to missing file "xparameters.h". Did anyone get to this error when trying to build Lab4 project application?
Cosmin
which version viado you using and on linux or windows
I am using 2022.2 on Windows 10
I will check on 2023.1 on linux/ubuntu in few hours.
It looks Hardware Specification design_1_wrapper.xsa is not imported properly.
and your gcc is not able to access some write admin protected.
Here, I not getting error for 'xparameters.h', for ultra96, vivado 20231. on ubuntu.
I have got elf error1 and will correcting it shortly.
Hi! I solved that problem editing the pwm driver makefile.
Open the xsa with a zip editor. I used 7zip then edit the file Makefie
Change contents by this one. The problem is with wildcard *
COMPILER= ARCHIVER= CP=cp COMPILER_FLAGS= EXTRA_COMPILER_FLAGS= LIB=libxil.a RELEASEDIR=../../../lib INCLUDEDIR=../../../include INCLUDES=-I./. -I${INCLUDEDIR} INCLUDEFILES=*.h LIBSOURCES=$(wildcard *.c) OUTS = *.o OBJECTS = $(addsuffix .o, $(basename $(wildcard *.c))) ASSEMBLY_OBJECTS = $(addsuffix .o, $(basename $(wildcard *.S))) libs: @echo 'Compiling PWM_w_Int' $(COMPILER) $(COMPILER_FLAGS) $(EXTRA_COMPILER_FLAGS) $(INCLUDES) $(LIBSOURCES) $(ARCHIVER) -r ${RELEASEDIR}/${LIB} ${OBJECTS} ${ASSEMBLY_OBJECTS} make clean include: ${CP} $(INCLUDEFILES) $(INCLUDEDIR) clean: rm -rf ${OBJECTS} ${ASSEMBLY_OBJECTS}
Then update specification and clean build the hardware platform
I opened your training lesson,
and instead design_1_wrapper.xsa, your file is Z_system_wrapper.xsa.
You are right that file is for Minized training. ciorga is in the Minized training path.
In any case, that problem appeared to me when using Digilent drivers for the next blog that I am going to publish. I am following the course from Linux with the virtual machine and it has no problems with the wildcards in the makefiles
I got it.
In my case here with 2023.1, with the given method from training,
" You can see in the Available Templates that there is a Hello World template. We are NOTgoing to use this right now, although it would work perfectly fine. Instead, select Empty Application. Click Finish."
Do not select "empty application"
If I choose empty I get Elf error, If i choose hello world template no elf error.
If I write any code, no error. See videos