Browse Source

Preprocessor is ready for sono ui with mps board

master v2.0
Arash Aletayeb 3 years ago
parent
commit
d1d89bdbc1
  1. 2
      developHw.pro.user
  2. 4
      include/model/hardware/core/TrxBoardUtils/PreProcessorDef.h
  3. 2
      mainwindow.cpp

2
developHw.pro.user

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.10.0, 2021-06-23T14:01:29. -->
<!-- Written by QtCreator 4.10.0, 2021-06-23T14:23:56. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>

4
include/model/hardware/core/TrxBoardUtils/PreProcessorDef.h

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

2
mainwindow.cpp

@ -84,7 +84,9 @@ MainWindow::MainWindow(QWidget* parent)
connect(this, &MainWindow::scenarioReady, this, &MainWindow::setScenario);
connect(this, &MainWindow::labelState, this, &MainWindow::getLabelState);
connect(this, &MainWindow::fpgaProgrammer, this, &MainWindow::getFpgaProgrammer);
#ifdef DEVELOP_UI
connect(_trx._fpgaProgram,&FpgaProgram::programmingProgress, this, &MainWindow::getProgrammingProgress);
#endif
//////////////////////// DMA Packet Connections //////////////////////////////
connect(&_trx, &TrxBoard::sendFramePacket, this, &MainWindow::getFramePacket);

Loading…
Cancel
Save