Browse Source

back to develop-ui

Arash Aletayeb 1 year ago
parent
commit
b82c46921e
  1. 2
      developHw.pro.user
  2. 2
      include/model/hardware/core/lowLevelApi/TrxBoardUtils/PreProcessorDef.h
  3. 32
      src/model/hardware/core/lowLevelApi/TrxBoard.cpp

2
developHw.pro.user

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.10.0, 2024-02-07T13:55:31. -->
<!-- Written by QtCreator 4.10.0, 2024-02-13T12:19:15. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>

2
include/model/hardware/core/lowLevelApi/TrxBoardUtils/PreProcessorDef.h

@ -2,6 +2,6 @@
#define PREPROCESSORDEF_H
#define MPS_BOARD
//#define DEVELOP_UI
#define DEVELOP_UI
#endif //PREPROCESSORDEF_H

32
src/model/hardware/core/lowLevelApi/TrxBoard.cpp

@ -401,24 +401,24 @@ void TrxBoard::systemLutCompletion()
systemRoms.mps.firstMbedCodeVersion = 1;
systemRoms.trx.secondMbedCodeVersion = 1;
systemRoms.mps.secondMbedCodeVersion = 1;
systemRoms.fpgaCodeVersion.masterCode = 2312111600;
systemRoms.fpgaCodeVersion.slave0Code = 2312111647;
systemRoms.fpgaCodeVersion.slave1Code = 2312111647;
systemRoms.fpgaCodeVersion.slave2Code = 2312111647;
systemRoms.fpgaCodeVersion.masterCode = 2312111808;
systemRoms.fpgaCodeVersion.slave0Code = 2312111657;
systemRoms.fpgaCodeVersion.slave1Code = 2312111657;
systemRoms.fpgaCodeVersion.slave2Code = 2312111657;
_systemLut.append(systemStructure2List(systemRoms));
systemRoms.trx.pcbVersion = 2;
systemRoms.prbCtrl.pcbVersion = 2;
systemRoms.mps.pcbVersion = 2;
systemRoms.trx.firstMbedCodeVersion = 1;
systemRoms.mps.firstMbedCodeVersion = 1;
systemRoms.trx.secondMbedCodeVersion = 2;
systemRoms.mps.secondMbedCodeVersion = 1;
systemRoms.fpgaCodeVersion.masterCode = 2312111600;
systemRoms.fpgaCodeVersion.slave0Code = 2312111647;
systemRoms.fpgaCodeVersion.slave1Code = 2312111647;
systemRoms.fpgaCodeVersion.slave2Code = 2312111647;
_systemLut.append(systemStructure2List(systemRoms));
// systemRoms.trx.pcbVersion = 2;
// systemRoms.prbCtrl.pcbVersion = 2;
// systemRoms.mps.pcbVersion = 2;
// systemRoms.trx.firstMbedCodeVersion = 1;
// systemRoms.mps.firstMbedCodeVersion = 1;
// systemRoms.trx.secondMbedCodeVersion = 2;
// systemRoms.mps.secondMbedCodeVersion = 1;
// systemRoms.fpgaCodeVersion.masterCode = 2312111600;
// systemRoms.fpgaCodeVersion.slave0Code = 2312111647;
// systemRoms.fpgaCodeVersion.slave1Code = 2312111647;
// systemRoms.fpgaCodeVersion.slave2Code = 2312111647;
// _systemLut.append(systemStructure2List(systemRoms));
}
//QList<quint32> TrxBoard::signedVector2unsignedList (QVector<qint32>& sgnVec)

Loading…
Cancel
Save