Skip to content

lpgbt-com-next

This is one of the available packages to send I2C commands over netio-next. It is distributed in the contect of orion. Detailed instructions are available in the repo. This version has been selected as it is the one used in the container recommended for the opto software.

The compilation works more or less as indicated in the instructions. However, it is mandatory to download a binary FELIX installation. Using the felix-distribution compilation described before is complicated, as the organization of include files and libraries is completely different in the locally compiled verion and in the binary installation. Hence, a complete rewrite of CMaleList.txt would be required.

For the moment we proceed as indicated in the instructions, with the drawback that the FELIX libraries used for lpgbt-com-next are potentially different from those used for other applications. The script fetch-felix.sh still points to felix-05-00-03. It has been modified to use felix-05-01-01 instaead. CMakeLists.txt has been modified as well.

cd $ITK_DAQ_BASE
source setup.sh
git clone ssh://git@gitlab.cern.ch:7999/atlas-itk-pixel-systemtest/itk-demo-sw/daq/lpgbt-com-next.git
cd lpgbt-com-next
source fetch-felix.sh
source felix-05-01-01-rm5-stand-alone/x86_64-el9-gcc13-opt/setup.sh
cmake_config 
cd x86_64-el9-gcc13-opt
make -j

The following line must be added to $ITK_DAQ_BASE/setup.sh:

export PYTHONPATH=${ITK_DAQ_BASE}/lpgbt-com-next/${BINARY_TAG}:${PYTHONPATH}