tx-gxx-linux/device/gxx-linux/fpgaupdate/fpgacontrol.h

22 lines
340 B
C
Raw Normal View History

2023-04-08 00:56:20 +00:00
#pragma once
#include <string>
class FpgaComm;
class fpgacontrol
{
private:
/* data */
public:
fpgacontrol();
~fpgacontrol();
bool ifneedupdatefpga();
bool updatefpga();
private:
bool updatefpgafirmware(std::string fpgafirmpath);
private:
int m_fpgaversion;
int m_fpgafile_fd;
bool m_updateEnable;
};