Skip to content

Commit 28658ae

Browse files
committed
Adding a default configuration to tracking and installation
1 parent 59b095b commit 28658ae

4 files changed

Lines changed: 18 additions & 7 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ if (NOT ${CORE_ONLY})
8989
link_directories(${PXI_LIBRARY_DIR})
9090
#The following configuration file path is hardcoded into the PXI software :-(
9191
install(FILES ${PXI_ROOT_DIR}/test/pxisys.ini DESTINATION ${CMAKE_INSTALL_PREFIX})
92+
install(FILES Setup/source/pixie.cfg DESTINATION ${CMAKE_INSTALL_PREFIX})
9293
endif()
9394

9495
add_subdirectory(Core)

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ is `PixieSuite2/exec`
3535

3636
*You should ensure that the PLX version and PXI firmware versions are compatable!*
3737

38+
###Options for CMAKE Compilation
39+
* -DCMAKE\_INSTALL\_PREFIX (default PixieSuite2/exec)
40+
* -DUSE_ROOT (default ON)
41+
* -DUSE_DAMM (default ON)
42+
* -DUSE_SETUP (default OFF)
43+
* -DUSE_NCURSES (default ON; required for poll2)
44+
* -DCORE_ONLY (default OFF)
45+
3846
##Tested Systems
3947
The softare has been compiled and tested on the following Setups
4048

Setup/source/CMakeLists.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
#Build and installs etup utilities.
2-
#set(SETUP_UTILS adjust_offsets find_tau copy_params pread pwrite pmread pmwrite
3-
# rate boot trace get_traces csr_test toggle_gain toggle_good toggle_polarity
4-
# toggle_trace toggle_pileup toggle_catcher set_standard set_pileups_only
5-
# set_pileups_reject set_hybrid)
6-
1+
#Build and install setup utilities, and configuration file
72
set(SETUP_UTILS adjust_offsets find_tau copy_params pread pwrite pmread pmwrite
83
rate boot trace get_traces csr_test toggle set_standard set_pileups_only
94
set_pileups_reject set_hybrid)
@@ -15,7 +10,6 @@ endforeach(UTIL)
1510

1611
install(TARGETS ${SETUP_UTILS} DESTINATION ${CMAKE_INSTALL_PREFIX})
1712

18-
1913
if(${USE_ROOT})
2014
add_executable(paramScan paramScan.cpp)
2115
target_link_libraries(paramScan PixieInterface MCA_LIBRARY ${ROOT_LIBRARIES}

Setup/source/pixie.cfg

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
PixieBaseDir /opt/xia/current
2+
SpFpgaFile firmware/fippixie16_revfvandle_r23016.bin
3+
ComFpgaFile firmware/syspixie16_revfvandle_r23047.bin
4+
DspConfFile dsp/Pixie16DSP_revfvandle_r23011.ldr
5+
DspVarFile dsp/Pixie16DSP_revfvandle_r23011.var
6+
DspSetFile configuration/default.set
7+
DspWorkingSetFile configuration/default.set
8+
SlotFile configuration/slot_def.set

0 commit comments

Comments
 (0)