Commit 9874030c authored by Tristan Gingold's avatar Tristan Gingold

CI: automatically build bram files

parent 3287e805
......@@ -10,13 +10,14 @@ test_results_xml=test_results.xml
all: $(TB_DIRS) summary summary_total summary_xml
FW_RMQ_UDP_BIN = ../../tests/firmware/rmq-udp/fw-rmq-udp.bin
FW_BRAM = ../../software/firmware/fd/wrtd-rt-fd.bram \
../../software/firmware/tdc/wrtd-rt-tdc.bram \
wrtd-system: $(FW_RMQ_UDP_BIN)
wrtd-system: $(FW_BRAM)
$(FW_RMQ_UDP_BIN):
$(FW_BRAM):
$(MAKE) -C $(@D) defconfig
$(MAKE) -C $(@D)
$(MAKE) -C $(@D) $(notdir $@)
$(TB_DIRS):
@echo $@
......@@ -126,4 +127,3 @@ clean:
rm -f $$d/Makefile; \
fi \
done
......@@ -9,9 +9,14 @@ OUTPUT = wrtd-rt-fd
TRTL ?= ../../../dependencies/mock-turtle/
TRTL_SW = $(TRTL)/software
EXTRA_CFLAGS += -I../../include
EXTRA_CFLAGS += -I../../include
EXTRA_CFLAGS += -I../common -Werror
vpath %.c ../
MEM_INIT_GEN=../../../dependencies/general-cores/tools/mem_init_gen.py
$(OUTPUT).bram: $(OUTPUT).bin
python $(MEM_INIT_GEN) -i $< > $@
include $(TRTL_SW)/firmware/Makefile
......@@ -15,4 +15,9 @@ EXTRA_CFLAGS += -I../common
vpath %.c ../
MEM_INIT_GEN=../../../dependencies/general-cores/tools/mem_init_gen.py
$(OUTPUT).bram: $(OUTPUT).bin
python $(MEM_INIT_GEN) -i $< > $@
include $(TRTL_SW)/firmware/Makefile
......@@ -8,4 +8,9 @@ TRTL_SW = $(TRTL)/software
CFLAGS_OPT = -O0 # disable optimization
MEM_INIT_GEN=../../../dependencies/general-cores/tools/mem_init_gen.py
$(OUTPUT).bram: $(OUTPUT).bin
python $(MEM_INIT_GEN) -i $< > $@
include $(TRTL_SW)/firmware/Makefile
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment