diff --git a/Pcie40Applications/Makefile b/Pcie40Applications/Makefile index 19bfd055355d7670a413ad7ba31974a9a2511895..30b88c444352eec2d947ceac392fff66254ced50 100644 --- a/Pcie40Applications/Makefile +++ b/Pcie40Applications/Makefile @@ -27,6 +27,12 @@ PCIE40_SLC_CFLAGS =$(CFLAGS) -I$(TOP) -I$(TOP)/../Pcie40Libraries PCIE40_SLC_INSTALL =$(PREFIX)/bin PCIE40_SLC_LDFLAGS = -L../Pcie40Libraries/lib -lpcie40 -L../Pcie40DriverLibraries/ -lpcie40driver_ecs +PCIE40_KLMBYTESTREAM :=pcie40_klmbytestream +PCIE40_KLMBYTESTREAM_OBJS =main_pcie40_klmbytestream.o +PCIE40_KLMBYTESTREAM_CFLAGS =$(CFLAGS) -I$(TOP) -I$(TOP)/../Pcie40Libraries +PCIE40_KLMBYTESTREAM_INSTALL =$(PREFIX)/bin +PCIE40_KLMBYTESTREAM_LDFLAGS = -L../Pcie40Libraries/lib -lpcie40 -L../Pcie40DriverLibraries/ -lpcie40driver_ecs + PCIE40_B2LRESET :=pcie40_b2linkreset PCIE40_B2LRESET_OBJS =main_pcie40_b2linkreset.o PCIE40_B2LRESET_CFLAGS =$(CFLAGS) -I$(TOP) -I$(TOP)/../Pcie40Libraries @@ -64,6 +70,7 @@ include $(TOP)/rules.mk ifeq ($(ENABLE_PCIE40), true) $(eval $(call ODIR_template,PCIE40_ECS)) $(eval $(call ODIR_template,PCIE40_SLC)) +$(eval $(call ODIR_template,PCIE40_KLMBYTESTREAM)) $(eval $(call ODIR_template,PCIE40_B2LRESET)) $(eval $(call ODIR_template,PCIE40_DMA)) $(eval $(call ODIR_template,PCIE40_DAQ)) diff --git a/Pcie40Applications/main_pcie40_klmbytestream.c b/Pcie40Applications/main_pcie40_klmbytestream.c new file mode 100644 index 0000000000000000000000000000000000000000..738e604393051ab88f3ecd2a718af2bef41bd79c --- /dev/null +++ b/Pcie40Applications/main_pcie40_klmbytestream.c @@ -0,0 +1,13 @@ +#include "pcie40_ecs.h" +#include "pcie40_b2slc.h" +#include <stdio.h> + +int main(int argc, char *argv[]) { + ecs_open( 0 , 2 ) ; + + + + ecs_close( 0 , 2 ) ; + + return 0 ; +} diff --git a/Pcie40Applications/pcie40_klmbytestream b/Pcie40Applications/pcie40_klmbytestream new file mode 100755 index 0000000000000000000000000000000000000000..29120dff0dce46248dd09d8b3c85d712772a2207 Binary files /dev/null and b/Pcie40Applications/pcie40_klmbytestream differ