Index: firmware/App/Modes/ModeInitPOST.c =================================================================== diff -u -r4638fd77792d0c7ecbeca3c84369cbed6c2ecee1 -r88f28230d288947ba84840b967e95b32e3deffaa --- firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 4638fd77792d0c7ecbeca3c84369cbed6c2ecee1) +++ firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 88f28230d288947ba84840b967e95b32e3deffaa) @@ -17,13 +17,16 @@ #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" @@ -127,7 +130,21 @@ postState = handlePOSTStatus( testStatus ); break; -#ifdef _VECTORCAST_ // To be only seen by VectorCAST for testing +#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; + case DG_POST_STATE_UV_REACTORS: testStatus = execUVReactorsSelfTest(); postState = handlePOSTStatus( testStatus );