Index: firmware/App/Modes/ModeInitPOST.c =================================================================== diff -u -r4d7d40a27130dc813d653f044cbb856b1b7d8481 -r00b32a5dad2e136d31cfaf0de16f7767b9920fec --- firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 4d7d40a27130dc813d653f044cbb856b1b7d8481) +++ firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 00b32a5dad2e136d31cfaf0de16f7767b9920fec) @@ -17,13 +17,17 @@ #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 "UVReactors.h" #include "WatchdogMgmt.h" /** @@ -126,6 +130,29 @@ postState = handlePOSTStatus( testStatus ); break; +#ifdef _VECTORCAST_ + case DG_POST_DRAIN_PUMP: + testStatus = execDrainPumpSelfTest(); + postState = handlePOSTStatus( testStatus ); + break; +// 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; + + case DG_POST_STATE_UV_REACTORS: + testStatus = execUVReactorsSelfTest(); + postState = handlePOSTStatus( testStatus ); + break; +#endif + case DG_POST_STATE_WATCHDOG: testStatus = execWatchdogTest(); handlePOSTStatus( testStatus ); // ignoring return value because last test