mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
Xilinx ctb (#884)
* updated registers, arm64 * compiler set to aarch64 for xilinx server * updated RegisterDefs.h * merge into generate branch and resolving conflicts and adding the xilinx changes to callerspecial and commands.yaml * compiles and can print firmware version (using a different csp0 address) * fixing other servers (gotthard, jungfrau, moench, mythen3) that it returns in case of mapping failure, xilinxctb: added that it checks type, prints proper fw version, checks kernel date, added armprocessor define to use in common places, added specifiers to supress overflow and truncation warnings * added detector ip and mac adddress to the printout * fixed tests and recompiled servers
This commit is contained in:
@ -207,6 +207,8 @@ std::string ToString(const defs::detectorType s) {
|
||||
return std::string("Mythen3");
|
||||
case defs::GOTTHARD2:
|
||||
return std::string("Gotthard2");
|
||||
case defs::XILINX_CHIPTESTBOARD:
|
||||
return std::string("Xilinx_ChipTestBoard");
|
||||
default:
|
||||
return std::string("Unknown");
|
||||
}
|
||||
@ -694,6 +696,8 @@ template <> defs::detectorType StringTo(const std::string &s) {
|
||||
return defs::MYTHEN3;
|
||||
if (s == "Gotthard2")
|
||||
return defs::GOTTHARD2;
|
||||
if (s == "Xilinx_ChipTestBoard")
|
||||
return defs::XILINX_CHIPTESTBOARD;
|
||||
throw RuntimeError("Unknown detector type " + s);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user