Robin Mueller
a800ad6c9a
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
39 lines
955 B
C++
39 lines
955 B
C++
#pragma once
|
|
|
|
#include <fsfw/power/PowerSwitchIF.h>
|
|
|
|
class GpioIF;
|
|
|
|
namespace dummy {
|
|
|
|
struct Tmp1075Cfg {
|
|
bool addTcsBrd0 = true;
|
|
bool addTcsBrd1 = true;
|
|
bool addPlPcdu0 = true;
|
|
bool addPlPcdu1 = true;
|
|
bool addIfBrd = true;
|
|
};
|
|
|
|
// Default values targeted towards EM.
|
|
struct DummyCfg {
|
|
bool addCoreCtrlCfg = true;
|
|
// Special variant because the ACU broke. Overrides addPowerDummies, only ACU dummy will be added.
|
|
bool addOnlyAcuDummy = false;
|
|
bool addPowerDummies = true;
|
|
bool addBpxBattDummy = true;
|
|
bool addSyrlinksDummies = true;
|
|
bool addAcsBoardDummies = true;
|
|
bool addSusDummies = true;
|
|
bool addTempSensorDummies = true;
|
|
bool addRtdComIFDummy = true;
|
|
bool addPlocDummies = true;
|
|
bool addStrDummy = true;
|
|
bool addTmpDummies = true;
|
|
Tmp1075Cfg tmp1075Cfg;
|
|
bool addCamSwitcherDummy = false;
|
|
};
|
|
|
|
void createDummies(DummyCfg cfg, PowerSwitchIF& pwrSwitch, GpioIF* gpioIF, bool enableHkSets);
|
|
|
|
} // namespace dummy
|