Index: firmware/App/HDCommon.h =================================================================== diff -u -r667feab319b14681a0330a715da7a1ba930b518d -r29a2c3c7d7618489c0ada9f98e1d30226b455392 --- firmware/App/HDCommon.h (.../HDCommon.h) (revision 667feab319b14681a0330a715da7a1ba930b518d) +++ firmware/App/HDCommon.h (.../HDCommon.h) (revision 29a2c3c7d7618489c0ada9f98e1d30226b455392) @@ -32,47 +32,48 @@ // TODO - remove build switches before release #ifndef _RELEASE_ #ifndef _VECTORCAST_ +// Build switches. NOTE: These build switches will remain as #define // #define USING_DEBUGGER 1 // Want to be able to use the debugger and have break points // #define BOARD_WITH_NO_HARDWARE 1 // Target is a PCB w/ no hardware // #define RUN_WITHOUT_DG 1 // Run HD w/o DG // #define SIMULATE_UI 1 // Build w/o requirement that UI be there // #define TASK_TIMING_OUTPUT_ENABLED 1 // Re-purposes alarm lamp pins for task timing - // TODO convert the new configuration way -// #define DISABLE_3WAY_VALVES 1 // Disable 3-way valves -// #define TST_3WAY_VALVES_ALWAYS_OPEN 1 // After POST and homing, open all 4 valves -// #define DISABLE_ACCELS 1 // Disable accelerometer POST and monitoring -// #define DISABLE_CRC_ERROR 1 // Do not error on bad CRC for CAN messages -// #define DISABLE_ACK_ERRORS 1 // Do not error on failure of other node(s) to ACK a message // TODO sw config implemented -// #define RUN_BP_OPEN_LOOP 1 // Run blood pump in open loop mode -// #define RUN_DPI_OPEN_LOOP 1 // Run dialysate inlet pump in open loop mode -// #define PBA_ESTIMATION 1 // Estimate arterial pressure rather than look at PBA sensor - #define USE_PBO_AS_PBA 1 // PBo readings used for PBA, PBo replaced with fixed pressure (100 mmHg) - -// #define DISABLE_UF_ALARMS 1 // Do not error on HD ultrafiltration checks - #define DISABLE_DIALYSATE_TEMP_CHECK 1 // Disable dialysate temperature check -// #define DISABLE_VALVE_ALARMS 1 // Do not error on HD valve position - #define SKIP_CAL_CHECK 1 -// #define RUN_PUMPS_OPEN_LOOP 1 // BP and DPi pumps will be run open loop (no flow sensor feedback) + #define DISABLE_BATT_COMM 1 // Disable battery communication // #define READ_FPGA_ASYNC_DATA 1 // Test build reads non-priority register page every other time -// #define EMC_TEST_BUILD 1 // EMC test build - HD/DG run separately but connected, HD pumps toggle on/off w/ stop button - #define ALARMS_DEBUG 1 // Triggered alarms sent to debug UART - #define ALARM_VOLUME_DEFAULT_LOW 1 // Set default alarm volume to lowest - #define DISABLE_BATT_COMM 1 // Disable battery communication. - #define SKIP_AIR_BUBBLE_CHECK 1 // Skip air bubble detector self-test. - #define DISABLE_OCCLUSION_SELF_TEST 1 // Skip occlusion sensor self-test. -// #define SKIP_CARTRIDGE_REMOVAL 1 // Skip cartridge removal check // #define DISABLE_FPGA_COUNTER_CHECKS 1 // Disable alarms associated with FPGA read/error counters - #define DISABLE_VOLTAGE_MONITOR 1 // Disable voltage monitoring/alarms - #define ALLOW_1_MIN_TREATMENT_DURATION 1 // Allow user to change treatment duration to as low as 1 minute -// #define NO_PUMP_FLOW_LIMITS 1 // Allow any commanded flow rate for peristaltic pumps - #define DISABLE_BUBBLE_ALARMS 1 // Disable bubble alarms - #define DISABLE_UI_POST_TEST 1 // Disable the UI POST -// #define DISABLE_UI_COMM_TO_ALARM 1 // Disable UI comm timeouts - #define DISABLE_WD_AND_SFTY_POST_TESTS 1 // Disable watchdog and safety shutdown POST tests - #define DISABLE_ILLEGAL_AIR_TRAP_ALARM 1 // Disable illegal state for air trap alarm - #define SKIP_RESERVOIR_ALARMS 1 // Skip reservoir management alarms +// #define EMC_TEST_BUILD 1 // EMC test build - HD/DG run separately but connected, HD pumps toggle on/off w/ stop button + #define DISABLE_WD_AND_SFTY_POST_TESTS 1 // Disable watchdog and safety shutdown POST tests + #define DISABLE_UI_POST_TEST 1 // Disable the UI POSTh + // TODO convert the new configuration way +// #define DISABLE_ACCELS 1 // Disable accelerometer POST and monitoring // Implement +// #define RUN_BP_OPEN_LOOP 1 // Run blood pump in open loop mode // Implement +// #define RUN_DPI_OPEN_LOOP 1 // Run dialysate inlet pump in open loop mode // Implement +// #define PBA_ESTIMATION 1 // Estimate arterial pressure rather than look at PBA sensor // Part of DVT build switch +// #define USE_PBO_AS_PBA 1 // PBo readings used for PBA, PBo replaced with fixed pressure (100 mmHg) // Not needed +// #define DISABLE_UF_ALARMS 1 // Do not error on HD ultrafiltration checks // Implement // TODO implemented CHECK THE LAST ONE +// #define DISABLE_DIALYSATE_TEMP_CHECK 1 // Disable dialysate temperature check // Implement // TODO implemented + #define SKIP_CAL_CHECK 1 // Implement +// #define RUN_PUMPS_OPEN_LOOP 1 // BP and DPi pumps will be run open loop (no flow sensor feedback) // Not needed + +// #define ALARM_VOLUME_DEFAULT_LOW 1 // Set default alarm volume to lowest // Implement // TODO implemented + +// #define SKIP_AIR_BUBBLE_CHECK 1 // Skip air bubble detector self-test. // Implement // TODO implemented + #define DISABLE_OCCLUSION_SELF_TEST 1 // Skip occlusion sensor self-test. // Implement +// #define SKIP_CARTRIDGE_REMOVAL 1 // Skip cartridge removal check // Implement + + #define DISABLE_VOLTAGE_MONITOR 1 // Disable voltage monitoring/alarms // Implement + #define ALLOW_1_MIN_TREATMENT_DURATION 1 // Allow user to change treatment duration to as low as 1 minute // Implement +// #define NO_PUMP_FLOW_LIMITS 1 // Allow any commanded flow rate for peristaltic pumps // Implement +// #define DISABLE_BUBBLE_ALARMS 1 // Disable bubble alarms // Implement // TODO implemented + +// #define DISABLE_UI_COMM_TO_ALARM 1 // Disable UI comm timeouts // Implement + +// #define DISABLE_ILLEGAL_AIR_TRAP_ALARM 1 // Disable illegal state for air trap alarm // Implement // TODO implemented + #define SKIP_RESERVOIR_ALARMS 1 // Skip reservoir management alarms // Implement + + #include #include #endif