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-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-09 17:16:01 +02:00
|
|
|
bool addCamSwitcherDummy = 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
|