mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-19 10:30:02 +02:00
* period and exptime(patternwaittime level 0) * added new regsieterdefs and updated api version and fixedpattern reg * autogenerate commands * formatting * minor * wip resetflow, readout mode, transceiver mask, transceiver enable * acquisition, but streaming done bit and busy (exposing + read chip to fifo) not known yet from fw * programming fpga and device tree done * most configuration done, need to connect configuretransceiver to client * stuck at resetting transciever timed out * minor * fixed virtual, added chip busyto fifo, streaming busy, set/getnext framenumber * configuretransceiver from client, added help in client * make formatt and command generation * tests for xilinx ctb works * command generation * dacs added and tested, power not done * power added * added temp_fpga * binaries in * ctrlreg is 0 to enable chip=fixed, high dac val = min val= fixed, power regulators in weird order=fixed, device tree could be loaded with dacs before adcs=fixed * start works * virtual server sends * receiver works * tests * python function and enum generation, commands generatorn and autocomplete, formatting, tests * tests fail at start(transceiver not aligned) * tests passed * all binaries compiled * eiger binary in * added --nomodule cehck for xilinx
50 lines
1.6 KiB
CMake
50 lines
1.6 KiB
CMake
# SPDX-License-Identifier: LGPL-3.0-or-other
|
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
|
add_executable(ctbDetectorServer_virtual
|
|
slsDetectorFunctionList.c
|
|
../slsDetectorServer/src/slsDetectorServer.c
|
|
../slsDetectorServer/src/slsDetectorServer_funcs.c
|
|
../slsDetectorServer/src/communication_funcs.c
|
|
../slsDetectorServer/src/blackfin.c
|
|
../slsDetectorServer/src/common.c
|
|
../slsDetectorServer/src/commonServerFunctions.c
|
|
../slsDetectorServer/src/communication_funcs_UDP.c
|
|
../slsDetectorServer/src/UDPPacketHeaderGenerator.c
|
|
../slsDetectorServer/src/AD9257.c
|
|
../slsDetectorServer/src/ALTERA_PLL.c
|
|
../slsDetectorServer/src/I2C.c
|
|
../slsDetectorServer/src/INA226.c
|
|
../slsDetectorServer/src/LTC2620.c
|
|
../slsDetectorServer/src/MAX1932.c
|
|
../slsDetectorServer/src/programViaBlackfin.c
|
|
../slsDetectorServer/src/sharedMemory.c
|
|
../slsDetectorServer/src/loadPattern.c
|
|
../../slsSupportLib/src/md5.c
|
|
)
|
|
|
|
include_directories(
|
|
../slsDetectorServer/include
|
|
../../slsSupportLib/include
|
|
../../slsDetectorSoftware/include/sls/
|
|
)
|
|
|
|
target_include_directories(ctbDetectorServer_virtual
|
|
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
target_compile_definitions(ctbDetectorServer_virtual
|
|
PUBLIC CHIPTESTBOARDD VIRTUAL STOP_SERVER
|
|
)
|
|
|
|
target_link_libraries(ctbDetectorServer_virtual
|
|
PUBLIC pthread rt m slsProjectCSettings
|
|
)
|
|
|
|
set_target_properties(ctbDetectorServer_virtual PROPERTIES
|
|
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
|
)
|
|
|
|
install(TARGETS ctbDetectorServer_virtual
|
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
)
|