eive-obsw/dummies/helperFactory.h
Robin Mueller df13fc2e80
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
Merge remote-tracking branch 'origin/main' into v3.0.0-dev
2023-06-09 18:43:15 +02:00

28 lines
722 B
C++

#pragma once
#include <fsfw/power/PowerSwitchIF.h>
class GpioIF;
namespace dummy {
// 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 addCamSwitcherDummy = false;
};
void createDummies(DummyCfg cfg, PowerSwitchIF& pwrSwitch, GpioIF* gpioIF, bool enableHkSets);
} // namespace dummy