Forum Discussion
Altera_Forum
Honored Contributor
11 years agomissing socal folder
Hi! I will be using DE1-SOC board for my bachelor's degree and Im learning on how to use it. I noticed that user's manuals are for version 13 of Quartus and current version is version 15. I hav...
Altera_Forum
Honored Contributor
9 years agoChanges to the make file are in red - define ALT_DEVICE_FAMILY, then in CFLAGS statement add -D definition. Still assumes include statements have /soc_cv_av added to them.
TARGET = hps_gpio# CROSS_COMPILE = arm-linux-gnueabihf- ALT_DEVICE_FAMILY ?= soc_cv_av CFLAGS = -g -Wall -I ${SOCEDS_DEST_ROOT}/ip/altera/hps/altera_hps/hwlib/include -D$(ALT_DEVICE_FAMILY) LDFLAGS = -g -Wall CC = $(CROSS_COMPILE)gcc ARCH= arm build: $(TARGET) $(TARGET): main.o $(CC) $(LDFLAGS) $^ -o $@ %.o : %.c $(CC) $(CFLAGS) -c $< -o $@ .PHONY: clean clean: rm -f $(TARGET) *.a *.o *~