2022-09-15 11:54:43 +02:00
|
|
|
#pragma once
|
|
|
|
|
2022-11-21 14:01:31 +01:00
|
|
|
#include <fsfw/power/PowerSwitchIF.h>
|
|
|
|
|
2023-02-13 15:59:44 +01:00
|
|
|
class GpioIF;
|
|
|
|
|
2022-09-15 11:54:43 +02:00
|
|
|
namespace dummy {
|
|
|
|
|
2023-06-17 17:01:01 +02:00
|
|
|
struct Tmp1075Cfg {
|
|
|
|
bool addTcsBrd0 = true;
|
|
|
|
bool addTcsBrd1 = true;
|
|
|
|
bool addPlPcdu0 = true;
|
|
|
|
bool addPlPcdu1 = true;
|
|
|
|
bool addIfBrd = true;
|
|
|
|
};
|
|
|
|
|
2023-04-28 10:18:46 +02:00
|
|
|
// Default values targeted towards EM.
|
2022-09-15 11:54:43 +02:00
|
|
|
struct DummyCfg {
|
|
|
|
bool addCoreCtrlCfg = true;
|
2023-04-28 10:18:46 +02:00
|
|
|
// Special variant because the ACU broke. Overrides addPowerDummies, only ACU dummy will be added.
|
|
|
|
bool addOnlyAcuDummy = false;
|
2022-09-15 11:54:43 +02:00
|
|
|
bool addPowerDummies = true;
|
2023-04-26 17:00:04 +02:00
|
|
|
bool addBpxBattDummy = true;
|
2022-10-31 18:45:39 +01:00
|
|
|
bool addSyrlinksDummies = true;
|
2022-09-15 11:54:43 +02:00
|
|
|
bool addAcsBoardDummies = true;
|
2022-09-15 13:40:57 +02:00
|
|
|
bool addSusDummies = true;
|
2022-09-16 14:01:54 +02:00
|
|
|
bool addTempSensorDummies = true;
|
|
|
|
bool addRtdComIFDummy = true;
|
2023-02-13 17:59:08 +01:00
|
|
|
bool addPlocDummies = true;
|
2023-06-29 16:40:21 +02:00
|
|
|
bool addStrDummy = true;
|
2023-06-17 17:01:01 +02:00
|
|
|
bool addTmpDummies = true;
|
2023-07-18 09:52:26 +02:00
|
|
|
bool addRadSensorDummy = true;
|
2023-08-02 14:08:10 +02:00
|
|
|
bool addPlPcduDummy = false;
|
2023-06-17 17:01:01 +02:00
|
|
|
Tmp1075Cfg tmp1075Cfg;
|
2023-06-09 17:16:01 +02:00
|
|
|
bool addCamSwitcherDummy = false;
|
2023-07-14 14:31:02 +02:00
|
|
|
bool addScexDummy = false;
|
2022-09-15 11:54:43 +02:00
|
|
|
};
|
|
|
|
|
2023-05-24 11:04:07 +02:00
|
|
|
void createDummies(DummyCfg cfg, PowerSwitchIF& pwrSwitch, GpioIF* gpioIF, bool enableHkSets);
|
2022-09-15 11:54:43 +02:00
|
|
|
|
2022-09-15 13:40:57 +02:00
|
|
|
} // namespace dummy
|