Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 1.06 KB

README.md

File metadata and controls

35 lines (31 loc) · 1.06 KB

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:

  1. Build the cmsph2_tcusb and power_supply libraries following their respective instructions.
  2. Go into usb-driver:
cd usb-driver/
  1. Run source setup.sh.
  2. Create the build directory:
mkdir build
  1. Go into it and run cmake.
cd build
cmake ..
  1. Check that both "Building the PowerSupply components" and "Building the TestCards USB components" are printed during the cmake output.
  2. Run make on the build directory.
make -j8
  1. To run the test use pspoh