eive-obsw/dummies/helperFactory.h

28 lines
722 B
C
Raw Normal View History

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 {
// Default values targeted towards EM.
2022-09-15 11:54:43 +02:00
struct DummyCfg {
bool addCoreCtrlCfg = true;
// 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;
bool addSyrlinksDummies = true;
2022-09-15 11:54:43 +02:00
bool addAcsBoardDummies = true;
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
} // namespace dummy