1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

cleaned up CMakeLists

This commit is contained in:
Vincent Bareiss 2021-08-19 20:56:42 +02:00
parent 1dc8a475a0
commit a05ba6673f
2 changed files with 49 additions and 35 deletions

View file

@ -123,7 +123,7 @@ pkg_check_modules(CGRAPH IMPORTED_TARGET libcgraph>=2.30)
pkg_check_modules(GVC IMPORTED_TARGET libgvc>=2.30)
pkg_check_modules(LIBUSB IMPORTED_TARGET libusb-1.0>=1.0.23)
pkg_check_modules(NANOMSG IMPORTED_TARGET nanomsg)
pkg_check_modules(LIBFT4222 IMPORTED_TARGET libft4222) #FT4222H Node
pkg_check_modules(LIBFT4222 IMPORTED_TARGET libft4222)
pkg_check_modules(LIBFTD2XX IMPORTED_TARGET libftd2xx)
if(NOT NANOMSG_FOUND)
@ -172,9 +172,7 @@ cmake_dependent_option(WITH_NODE_ETHERCAT "Build with ethercat node-type"
cmake_dependent_option(WITH_NODE_EXAMPLE "Build with example node-type" ON "" OFF)
cmake_dependent_option(WITH_NODE_EXEC "Build with exec node-type" ON "" OFF)
cmake_dependent_option(WITH_NODE_FILE "Build with file node-type" ON "" OFF)
cmake_dependent_option(WITH_NODE_FT4222 "Build with ft4222 node-type" ON "LIBFT4222_FOUND;LIBFTD2XX_FOUND" OFF) #FT4222H Node
cmake_dependent_option(WITH_NODE_FT4222 "Build with ft4222 node-type" ON "LIBFT4222_FOUND;LIBFTD2XX_FOUND" OFF)
cmake_dependent_option(WITH_NODE_FPGA "Build with fpga node-type" ON "WITH_FPGA" OFF)
cmake_dependent_option(WITH_NODE_IEC61850 "Build with iec61850 node-types" ON "LIBIEC61850_FOUND" OFF)
cmake_dependent_option(WITH_NODE_INFINIBAND "Build with infiniband node-type" ON "FALSE; IBVerbs_FOUND; RDMACM_FOUND" OFF) # Infiniband node-type is currenly broken
@ -269,9 +267,7 @@ add_feature_info(DOC WITH_DOC "Build docum
add_feature_info(NODE_AMQP WITH_NODE_AMQP "Build with amqp node-type")
add_feature_info(NODE_COMEDI WITH_NODE_COMEDI "Build with comedi node-type")
add_feature_info(NODE_FILE WITH_NODE_FILE "Build with file node-type")
add_feature_info(WITH_NODE_FT4222 WITH_NODE_FT4222 "Build with ft4222 node-type") #FT4222 Node
add_feature_info(WITH_NODE_FT4222 WITH_NODE_FT4222 "Build with ft4222 node-type")
add_feature_info(NODE_IEC61850 WITH_NODE_IEC61850 "Build with iec61850 node-types")
add_feature_info(NODE_INFINIBAND WITH_NODE_INFINIBAND "Build with infiniband node-type")
add_feature_info(NODE_INFLUXDB WITH_NODE_INFLUXDB "Build with influxdb node-type")

View file

@ -1,3 +1,11 @@
http = {
enabled = false
}
#priority = 90
logging = {
# level = "debug"
}
nodes = {
ft4222 = {
type = "ft4222"
@ -17,44 +25,54 @@ nodes = {
)
}
},
pmu={
type="socket",
layer="udp",
pmu = {
type = "socket",
layer = "udp",
format="villas.binary",
format = "villas.binary",
in={
in = {
address = "*:13001"
},
out={
vectorize=100
address="102.168.178.67:13000"
signals={
count=8
type="float"
out = {
vectorize = 100
address = "172.16.11.130:13000"
#address = "10.200.0.180:13000"
signals = {
count = 8
type = "float"
}
}
}
}
paths = (
{
in = "ft4222"
out="pmu",
hooks=(
{
type="print"
enabled=true
priority=2
},{
type="pps_ts"
avg_length=0
signl_index=1
threshold=2.
priority=3
enabled=true
expected_smp_rate=10000
}
)
out = "pmu",
hooks = ({
type="print"
enabled = false
priority = 2
},{
type="pps_ts"
avg_length = 0
signal_index = 1
threshold = 2.
priority = 3
enable = true
expected_smp_rate = 10000
#pll_gain = 1.
#},{
# type = "dft"
# priority = 4
# enabled = true
},{
type="print"
enabled = false
priority = 5
})
}
)
)