Test software for the Test Card for the PS-POH of the CMS Phase 2 Outer Tracker Upgrade. The sotware makes use of the CMSPh2_TCUSB library and the Power Supply control library. For the Power Supply library, one needs to currently use the developer branch now.
The structure of the repositories should be the following:
.
├── cmsph2_tcusb
├── power_supply
└── usb-driver
To build:
- Build the
cmsph2_tcusb
andpower_supply
libraries following their respective instructions. - Go into
usb-driver
:
cd usb-driver/
- Run
source setup.sh
. - Create the build directory:
mkdir build
- Go into it and run
cmake
.
cd build
cmake ..
- Check that both "Building the PowerSupply components" and "Building the TestCards USB components" are printed during the cmake output.
- Run
make
on the build directory.
make -j8
- To run the test use
pspoh