|
|
|
@ -43,10 +43,10 @@
|
|
|
|
|
#include "linux/boardtest/SpiTestClass.h"
|
|
|
|
|
#include "linux/csp/CspComIF.h"
|
|
|
|
|
#include "linux/csp/CspCookie.h"
|
|
|
|
|
#include "linux/devices/PayloadPcduHandler.h"
|
|
|
|
|
#include "linux/devices/SolarArrayDeploymentHandler.h"
|
|
|
|
|
#include "linux/devices/SusHandler.h"
|
|
|
|
|
#include "linux/devices/devicedefinitions/SusDefinitions.h"
|
|
|
|
|
#include "linux/devices/PayloadPcduHandler.h"
|
|
|
|
|
#include "linux/devices/devicedefinitions/payloadPcduDefinitions.h"
|
|
|
|
|
#include "mission/core/GenericFactory.h"
|
|
|
|
|
#include "mission/devices/ACUHandler.h"
|
|
|
|
@ -1079,11 +1079,11 @@ void ObjectFactory::createPlPcduComponents(LinuxLibgpioIF* gpioComIF, SpiComIF*
|
|
|
|
|
plPcduGpios->addGpio(gpioIds::PLPCDU_ADC_CS, gpio);
|
|
|
|
|
gpioComIF->addGpios(plPcduGpios);
|
|
|
|
|
SpiCookie* spiCookie = new SpiCookie(addresses::PLPCDU_ADC, gpioIds::PLPCDU_ADC_CS,
|
|
|
|
|
q7s::SPI_DEFAULT_DEV, plpcdu::MAX_ADC_REPLY_SIZE, spi::DEFAULT_MAX_1227_MODE,
|
|
|
|
|
spi::DEFAULT_MAX_1227_SPEED);
|
|
|
|
|
q7s::SPI_DEFAULT_DEV, plpcdu::MAX_ADC_REPLY_SIZE,
|
|
|
|
|
spi::DEFAULT_MAX_1227_MODE, spi::DEFAULT_MAX_1227_SPEED);
|
|
|
|
|
// Create device handler components
|
|
|
|
|
auto plPcduHandler = PayloadPcduHandler(objects::PLPCDU_HANDLER, objects::SPI_COM_IF, spiCookie,
|
|
|
|
|
gpioComIF);
|
|
|
|
|
auto plPcduHandler =
|
|
|
|
|
PayloadPcduHandler(objects::PLPCDU_HANDLER, objects::SPI_COM_IF, spiCookie, gpioComIF);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ObjectFactory::createTestComponents(LinuxLibgpioIF* gpioComIF) {
|
|
|
|
|