AD7768eval no-os build errors

I've been having difficulty building the no-os software for the AD7768 evaluation board (wuth zedboard). I've tried various branches from the repository (master, 2019_R1 and others) but all seem to fail. I followed the instructions from https://wiki.analog.com/resources/fpga/no-os_make/software_setup and used the 2019.1 Xilinx software (after I realised later software produces and xsa instead of hdf file from the hdl). I'm using make (cygwin under Windows 10) in the no-OS/ad7768-evb/zed directory.

The hdl seemed to build ok but not the no-os. It complains about the gpio.h file. This, and other seemingly necessary header files, is present in the no-OS/include/ directory but as far as I can tell from my limited understanding of the make files that directory never gets used in the build process. The build ends with the message:

Building file: ../src/ad7768.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -DXILINX -DZYNQ -DZYNQ_PS7 -Wall -O2 -c -fmessage-length=0 -MT
"src/ad7768.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../bsp/ps7_cort
exa9_0/include -MMD -MP -MF"src/ad7768.d" -MT"src/ad7768.o" -o "src/ad7768.o" ".
./src/ad7768.c"
In file included from ../src/ad7768.c:45:
../src/ad7768.h:46:10: fatal error: gpio.h: No such file or directory
#include "gpio.h"
^~~~~~~~
compilation terminated.
make[1]: *** [src/subdir.mk:35: src/ad7768.o] Error 1
make[1]: Leaving directory 

I'd be grateful for any help

Thanks

Top Replies