1st Version with ECAL

This commit is contained in:
2024-04-17 09:34:52 +02:00
commit 8d2fee2406
24 changed files with 31664 additions and 0 deletions

37
include/RTSCoproHelper.h Normal file
View File

@@ -0,0 +1,37 @@
/*
*/
#include <string>
class RTSCoproHelper
{
private:
/* data */
//lock Element
int mFdRpmsg[2] = {-1, -1};
public:
RTSCoproHelper(/* args */);
~RTSCoproHelper();
int Init(std::string fwPath, std::string fwName);
int Copro_isFwRunning(void);
int Copro_openTtyRpmsg(int ttyNb, int modeRaw);
int Copro_closeTtyRpmsg(int ttyNb);
int Copro_writeTtyRpmsg(int ttyNb, int len, char* pData);
int Copro_readTtyRpmsg(int ttyNb, int len, char* pData);
int Copro_stopFw(void);
int Copro_startFw(void);
private:
int Copro_getFwPath(char* pathStr);
int Copro_setFwPath(char* pathStr);
int Copro_getFwName(char* pathStr);
int Copro_setFwName(char* nameStr);
};