Index: firmware/App/Modes/ModeInitPOST.c =================================================================== diff -u -r00b32a5dad2e136d31cfaf0de16f7767b9920fec -r72dd42b6a116e62d1b3ad5d60088c29e067d10d4 --- firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 00b32a5dad2e136d31cfaf0de16f7767b9920fec) +++ firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 72dd42b6a116e62d1b3ad5d60088c29e067d10d4) @@ -21,7 +21,9 @@ #include "Fans.h" #include "FPGA.h" #include "Heaters.h" +#include "LoadCell.h" #include "ModeInitPOST.h" +#include "NVDataMgmt.h" #include "OperationModes.h" #include "Pressures.h" #include "RTC.h" @@ -94,6 +96,10 @@ #ifdef SKIP_POST postState = DG_POST_STATE_COMPLETED; #endif +#ifdef DONT_SKIP_NV_POST + // Only run NVDataMgmt POST + postState = DG_POST_STATE_NVDATAMGMT; +#endif break; case DG_POST_STATE_FPGA: @@ -106,9 +112,24 @@ postState = handlePOSTStatus( testStatus ); break; + case DG_POST_STATE_NVDATAMGMT: + testStatus = execNVDataMgmtSelfTest(); + postState = handlePOSTStatus( testStatus ); + break; + + case DG_POST_STATE_LOAD_CELL: + testStatus = execLoadCellsSelfTest(); + postState = handlePOSTStatus( testStatus ); + break; + case DG_POST_STATE_TEMPERATURE_SENSORS: +#ifdef DONT_SKIP_NV_POST + // Skip the rest of the POSTs + postState = DG_POST_STATE_COMPLETED; +#else testStatus = execTemperatureSensorsSelfTest(); postState = handlePOSTStatus( testStatus ); +#endif break; case DG_POST_STATE_HEATERS: