Index: firmware/App/Modes/ModeInitPOST.c =================================================================== diff -u -r35246359c5a9080c704e0a6f1563e99a337e2e91 -r666d17245e2873e847cdf0b1da07abfe0702523e --- firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 35246359c5a9080c704e0a6f1563e99a337e2e91) +++ firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 666d17245e2873e847cdf0b1da07abfe0702523e) @@ -18,13 +18,15 @@ #include "Accel.h" #include "CPLD.h" #include "DrainPump.h" +#include "Fans.h" #include "FPGA.h" #include "Heaters.h" #include "ModeInitPOST.h" #include "OperationModes.h" #include "Pressures.h" #include "RTC.h" #include "TemperatureSensors.h" +#include "Thermistors.h" #include "WatchdogMgmt.h" /** @@ -130,8 +132,17 @@ #ifdef _VECTORCAST_ case DG_POST_DRAIN_PUMP: testStatus = execDrainPumpSelfTest(); +// To be able to run integration test in VectorCAST. +// Not all the fans and thermistors have been implemented so POST might fail + case DG_POST_STATE_THERMISTORS: + testStatus = execThermistorsSelfTest(); postState = handlePOSTStatus( testStatus ); break; + + case DG_POST_STATE_FANS: + testStatus = execFansSelfTest(); + postState = handlePOSTStatus( testStatus ); + break; #endif case DG_POST_STATE_WATCHDOG: