Skip to content
Snippets Groups Projects
Commit 4f3634a0 authored by Patrick Robbe's avatar Patrick Robbe
Browse files

Add test for bytestream

parent 65be1829
No related branches found
No related tags found
1 merge request!56links
......@@ -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))
......
#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 ;
}
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment