mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 07:17:13 +02:00
Dev/xilinx mat update (#959)
* put back code to obtain adc and dac device indexafter loading device tree and then create folder iio_device_links and create symbolic links there according to device indices found. ln -sf operation not permitted, so folder has to be deleted and created everytime. Also refactored definitions to have all the xilinx name or detector specific stuff out of programbyArm.c * uncommented waittransceiverreset at startup (should work now) and return of powering off chip at startup (error for transceiver alignment reset) * updated registerdefs from firmware * minor prints and updating names from registerdefs * waittransceiverreset has been fixed in firmware and removing warnign for that, transceiver alignment check for powering off chip is not done in fw (giving a warning and returning ok for now) * fixing ipchecksum (not done), removed startperiphery, allowing readout command to be allowed for xilinx when acquiring
This commit is contained in:
@ -69,4 +69,9 @@ int deleteFile(char *mess, char *fname, char *errorPrefix);
|
||||
|
||||
int deleteOldServers(char *mess, char *newServerPath, char *errorPrefix);
|
||||
|
||||
int readParameterFromFile(char *fname, char *parameterName, int *value);
|
||||
int readParameterFromFile(char *fname, char *parameterName, int *value);
|
||||
|
||||
int createAbsoluteDirectory(char *mess, const char *absPath, char *errorPrefix);
|
||||
int deleteAbsoluteDirectory(char *mess, const char *absPath, char *errorPrefix);
|
||||
|
||||
int deleteItem(char *mess, int isFile, const char *absPath, char *errorPrefix);
|
Reference in New Issue
Block a user