This repository has been archived by the owner on Jan 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Hw access optimization #327
Merged
mexanick
merged 15 commits into
cms-gem-daq-project:develop
from
mexanick:hw_access_optimization
Apr 6, 2020
Merged
Changes from 14 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
fd13d33
Refactoring FSM transitions, still temporary
mexanick c71e77c
Another drop of obsolete FW support
mexanick 2e97321
Removing obsolete legacy (GLIB) support and fixing minor typos
mexanick e05fd00
Implementing readReg, readBlock and writeReg
mexanick b5ddc08
Techincal: fixing makefiles to include CTP7 headers where needed, int…
mexanick ede0eb6
Removing device monitors. The parameter DisableMonitoring is still pl…
mexanick 3b2e2f5
Dropping uhal support from hardware devices with exception of AMC13, …
mexanick b293658
Converting all RPC calls to templated RPC calls under gemhardware sub…
mexanick 02665dc
Removing obsolete scan functionality
mexanick 86b1979
Fixing remaining leftovers from uhal
mexanick ba93668
Added read/write exceptions logging
mexanick 4fecfa0
Changing interface of configGBT. As this function is not yet used on …
mexanick c5d3a93
Adding missing change in configGBT interface
mexanick d0fab37
Fixing missed function implementations in hardware managers web inter…
mexanick 17a39f7
Removing uhal dependency from gemhardware/devices Makefile, fixing in…
mexanick File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,10 @@ ifndef PROJECT_NAME | |
PROJECT_NAME=cmsgemos | ||
endif | ||
|
||
ifndef GEM_VARIANT | ||
GEM_VARIANT = ge11 | ||
endif | ||
|
||
Project=$(PROJECT_NAME) | ||
ShortProject=gem | ||
Package=gemhardware/devices | ||
|
@@ -28,12 +32,11 @@ GEMHWDEVICES_VER_PATCH=1 | |
|
||
include $(CfgDir)/mfDefsGEM.mk | ||
|
||
UserCFlags+=-DGEM_VARIANT="$(GEM_VARIANT)" | ||
|
||
Sources =version.cc | ||
# Sources =utils/GEMCrateUtils.cc | ||
Sources+=GEMHwDevice.cc | ||
Sources+=amc/HwGenericAMC.cc | ||
Sources+=glib/HwGLIB.cc | ||
#Sources+=ctp7/HwCTP7.cc | ||
Sources+=optohybrid/HwOptoHybrid.cc | ||
|
||
DynamicLibrary=gemhwdevices | ||
|
@@ -44,6 +47,7 @@ IncludeDirs+=$(BUILD_HOME)/gemhardware/utils/include | |
IncludeDirs+=$(BUILD_HOME)/gemutils/include | ||
IncludeDirs+=$(uHALROOT)/include | ||
IncludeDirs+=$(XHAL_ROOT)/include | ||
IncludeDirs+=$(CTP7_ROOT)/include | ||
|
||
DependentLibraryDirs+=$(BUILD_HOME)/gemhardware/utils/lib/$(XDAQ_OS)/$(XDAQ_PLATFORM) | ||
DependentLibraryDirs+=$(BUILD_HOME)/gemutils/lib/$(XDAQ_OS)/$(XDAQ_PLATFORM) | ||
|
@@ -55,7 +59,8 @@ LibraryDirs+=$(BUILD_HOME)/gemutils/lib/$(XDAQ_OS)/$(XDAQ_PLATFORM) | |
LibraryDirs+=$(uHALROOT)/lib | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this still needed? |
||
LibraryDirs+=$(XHAL_ROOT)/lib | ||
|
||
DependentLibraries =cactus_uhal_uhal xhal-client | ||
#FIXME hacky linking of xhal-base | ||
DependentLibraries =cactus_uhal_uhal xhal-client xhal-base | ||
mexanick marked this conversation as resolved.
Show resolved
Hide resolved
|
||
DependentLibraries+=gemutils gemhwutils | ||
|
||
include $(XDAQ_ROOT)/$(BUILD_SUPPORT)/Makefile.rules | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Likewise, still refs
uhal