diff --git a/firmware/Makefile b/firmware/Makefile index 83852c9b60..a998c3165d 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -16,6 +16,7 @@ include rusefi_rules.mk # Define project name here PROJECT = fome PROJECT_DIR = . +GENERATED_DIR = $(PROJECT_DIR)/generated # Configure precompiled header PCH_DIR = $(PROJECT_DIR)/pch @@ -274,6 +275,7 @@ INCDIR = \ $(CHIBIOS)/os/various \ $(RUSEFI_LIB_INC) \ $(CONFDIR) \ + $(GENERATED_DIR) \ ext/FatFS \ $(PROJECT_DIR)/hw_layer/mass_storage \ $(HW_INC) \ diff --git a/firmware/bootloader/Makefile b/firmware/bootloader/Makefile index 107292d8df..18cfb58d14 100644 --- a/firmware/bootloader/Makefile +++ b/firmware/bootloader/Makefile @@ -118,6 +118,7 @@ endif # Define project name here PROJECT = fome_bl PROJECT_DIR = .. +GENERATED_DIR = $(PROJECT_DIR)/generated # Configure precompiled header PCH_DIR = $(PROJECT_DIR)/pch @@ -234,6 +235,7 @@ INCDIR = $(ALLINC) \ $(CONFDIR) \ $(PROJECT_DIR)/ext \ $(PROJECT_DIR)/ext_algo \ + $(GENERATED_DIR) \ $(UTIL_INC) \ $(PROJECT_DIR)/console_util \ $(PROJECT_DIR)/console \ @@ -251,7 +253,6 @@ INCDIR = $(ALLINC) \ $(PROJECT_DIR)/controllers/sensors/core \ $(PROJECT_DIR)/hw_layer/mass_storage \ $(PROJECT_DIR)/hw_layer/ports \ - $(PROJECT_DIR)/console/binary/generated \ $(PROJECT_DIR)/hw_layer/$(CPU_HWLAYER) \ $(HW_INC) \ $(HW_LAYER_DRIVERS_INC) \ diff --git a/firmware/common.mk b/firmware/common.mk index 7062b53bb2..99c9f2e57e 100644 --- a/firmware/common.mk +++ b/firmware/common.mk @@ -43,5 +43,3 @@ ALLINC += \ $(UTIL_INC) \ $(CONTROLLERS_SENSORS_INC) \ $(CONTROLLERS_INC) \ - $(PROJECT_DIR)/console/binary/generated \ - diff --git a/firmware/console/binary/generated/live_data_fragments.h b/firmware/console/binary/generated/live_data_fragments.h deleted file mode 100644 index aa997460da..0000000000 --- a/firmware/console/binary/generated/live_data_fragments.h +++ /dev/null @@ -1,35 +0,0 @@ -// generated by gen_live_documentation.sh / LiveDataProcessor.java -decl_frag{}, -decl_frag{}, -decl_frag{}, -decl_frag{}, -decl_frag{}, -decl_frag{}, -decl_frag{}, -decl_frag{}, -decl_frag{}, -decl_frag{}, -decl_frag{}, // fan1 -// decl_frag{}, // fan2 -decl_frag{}, -decl_frag{}, -decl_frag{}, -decl_frag{}, -decl_frag{}, -decl_frag{}, // trg -// decl_frag{}, // vvt1i -// decl_frag{}, // vvt1e -// decl_frag{}, // vvt2i -// decl_frag{}, // vvt2e -decl_frag{}, -decl_frag{}, -decl_frag{}, -decl_frag{}, // etb1 -// decl_frag{}, // etb2 -decl_frag{}, // wb1 -// decl_frag{}, // wb2 -decl_frag{}, -decl_frag{}, -decl_frag{}, -decl_frag{}, -decl_frag{}, diff --git a/firmware/console/binary/generated/live_data_ids.h b/firmware/console/binary/generated/live_data_ids.h deleted file mode 100644 index 411c209d3b..0000000000 --- a/firmware/console/binary/generated/live_data_ids.h +++ /dev/null @@ -1,59 +0,0 @@ -// generated by gen_live_documentation.sh / LiveDataProcessor.java -#pragma once - -typedef enum { -LDS_output_channels, -LDS_fuel_computer, -LDS_ignition_state, -LDS_knock_controller, -LDS_high_pressure_fuel_pump, -LDS_injector_model, -LDS_launch_control_state, -LDS_antilag_system_state, -LDS_boost_control, -LDS_ac_control, -LDS_fan_control, -LDS_fuel_pump_control, -LDS_main_relay, -LDS_engine_state, -LDS_tps_accel_state, -LDS_trigger_central, -LDS_trigger_state, -LDS_trigger_state_primary, -LDS_wall_fuel_state, -LDS_idle_state, -LDS_electronic_throttle, -LDS_wideband_state, -LDS_dc_motors, -LDS_sent_state, -LDS_throttle_model, -LDS_vvt, -LDS_lambda_monitor, -} live_data_e; -#define OUTPUT_CHANNELS_BASE_ADDRESS 0 -#define FUEL_COMPUTER_BASE_ADDRESS 800 -#define IGNITION_STATE_BASE_ADDRESS 844 -#define KNOCK_CONTROLLER_BASE_ADDRESS 876 -#define HIGH_PRESSURE_FUEL_PUMP_BASE_ADDRESS 908 -#define INJECTOR_MODEL_BASE_ADDRESS 932 -#define LAUNCH_CONTROL_STATE_BASE_ADDRESS 944 -#define ANTILAG_SYSTEM_STATE_BASE_ADDRESS 952 -#define BOOST_CONTROL_BASE_ADDRESS 964 -#define AC_CONTROL_BASE_ADDRESS 988 -#define FAN_CONTROL_BASE_ADDRESS 1000 -#define FUEL_PUMP_CONTROL_BASE_ADDRESS 1004 -#define MAIN_RELAY_BASE_ADDRESS 1008 -#define ENGINE_STATE_BASE_ADDRESS 1012 -#define TPS_ACCEL_STATE_BASE_ADDRESS 1096 -#define TRIGGER_CENTRAL_BASE_ADDRESS 1144 -#define TRIGGER_STATE_BASE_ADDRESS 1196 -#define TRIGGER_STATE_PRIMARY_BASE_ADDRESS 1212 -#define WALL_FUEL_STATE_BASE_ADDRESS 1220 -#define IDLE_STATE_BASE_ADDRESS 1228 -#define ELECTRONIC_THROTTLE_BASE_ADDRESS 1276 -#define WIDEBAND_STATE_BASE_ADDRESS 1328 -#define DC_MOTORS_BASE_ADDRESS 1340 -#define SENT_STATE_BASE_ADDRESS 1352 -#define THROTTLE_MODEL_BASE_ADDRESS 1360 -#define VVT_BASE_ADDRESS 1372 -#define LAMBDA_MONITOR_BASE_ADDRESS 1376 diff --git a/firmware/console/binary/generated/readme.md b/firmware/console/binary/generated/readme.md deleted file mode 100644 index 18a05bf8b6..0000000000 --- a/firmware/console/binary/generated/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -At the moment gen_output_channels.sh generates the content here based on output_channels.txt - -Things are a bit easier to troubleshoot without complete integration. \ No newline at end of file diff --git a/firmware/console/binary/generated/total_live_data_generated.h b/firmware/console/binary/generated/total_live_data_generated.h deleted file mode 100644 index a1f07fe7a7..0000000000 --- a/firmware/console/binary/generated/total_live_data_generated.h +++ /dev/null @@ -1,2 +0,0 @@ -// generated by gen_live_documentation.sh / LiveDataProcessor.java -#define TS_TOTAL_OUTPUT_SIZE 1384 \ No newline at end of file diff --git a/firmware/console/binary/tunerstudio.mk b/firmware/console/binary/tunerstudio.mk index c1162e1d43..aa4c2f4063 100644 --- a/firmware/console/binary/tunerstudio.mk +++ b/firmware/console/binary/tunerstudio.mk @@ -2,7 +2,7 @@ TUNERSTUDIO_SRC_CPP = $(PROJECT_DIR)/console/binary/tunerstudio_io.cpp \ $(PROJECT_DIR)/console/binary/tunerstudio_io_serial.cpp \ $(PROJECT_DIR)/console/binary/tunerstudio_io_serial_ports.cpp \ - $(PROJECT_DIR)/console/binary/generated/live_data.cpp \ + $(GENERATED_DIR)/live_data.cpp \ $(PROJECT_DIR)/console/binary/ts_can_channel.cpp \ $(PROJECT_DIR)/console/binary/serial_can.cpp \ $(PROJECT_DIR)/console/binary/tunerstudio.cpp \ diff --git a/firmware/console/binary_log/log_fields_generated.h b/firmware/console/binary_log/log_fields_generated.h deleted file mode 100644 index 0f0ec8ec22..0000000000 --- a/firmware/console/binary_log/log_fields_generated.h +++ /dev/null @@ -1,366 +0,0 @@ -static constexpr LogField fields[] = { -{packedTime, GAUGE_NAME_TIME, "sec", 0}, - {engine->outputChannels.RPMValue, "RPM", "RPM", 0}, - {engine->outputChannels.rpmAcceleration, "dRPM", "RPM acceleration", 2}, - {engine->outputChannels.speedToRpmRatio, "Gearbox Ratio", "value", 2}, - {engine->outputChannels.vehicleSpeedKph, "Vehicle Speed", "kph", 1}, - {engine->outputChannels.internalMcuTemperature, "ECU temperature", "deg C", 0}, - {engine->outputChannels.coolant, "CLT", "deg C", 1}, - {engine->outputChannels.intake, "IAT", "deg C", 1}, - {engine->outputChannels.auxTemp1, "auxTemp1", "deg C", 1}, - {engine->outputChannels.auxTemp2, "auxTemp2", "deg C", 1}, - {engine->outputChannels.TPSValue, "TPS", "%", 2}, - {engine->outputChannels.throttlePedalPosition, "Throttle pedal position", "%", 2}, - {engine->outputChannels.tpsADC, "tpsADC", "ADC", 0}, - {engine->outputChannels.rawMaf, "rawMaf", "V", 3}, - {engine->outputChannels.mafMeasured, "MAF", "kg/h", 1}, - {engine->outputChannels.MAPValue, "MAP", "kPa", 1}, - {engine->outputChannels.baroPressure, "baroPressure", "kPa", 1}, - {engine->outputChannels.lambdaValue, "Lambda", "", 3}, - {engine->outputChannels.VBatt, "VBatt", "V", 2}, - {engine->outputChannels.oilPressure, "Oil Pressure", "kPa", 0}, - {engine->outputChannels.vvtPositionB1I, "VVT: bank 1 intake", "deg", 1}, - {engine->outputChannels.actualLastInjection, "Fuel: Last inj pulse width", "ms", 3}, - {engine->outputChannels.injectorDutyCycle, "Fuel: injector duty cycle", "%", 0}, - {engine->outputChannels.veValue, "Fuel: VE", "ratio", 1}, - {engine->outputChannels.injectionOffset, "Fuel: Injection timing SOI", "deg", 0}, - {engine->outputChannels.engineMakeCodeNameCrc16, "Engine CRC16", "crc16", 0}, - {engine->outputChannels.wallFuelAmount, "Fuel: wall amount", "mg", 3}, - {engine->outputChannels.wallFuelCorrectionValue, "Fuel: wall correction", "mg", 3}, - {engine->outputChannels.revolutionCounterSinceStart, "revolutionCounterSinceStart", "", 0}, - {engine->outputChannels.canReadCounter, "CAN: Rx", "", 0}, - {engine->outputChannels.tpsAccelFuel, "Fuel: TPS AE add fuel ms", "ms", 3}, - {engine->outputChannels.ignitionAdvance, "Ign: Timing Base", "deg", 1}, - {engine->outputChannels.currentIgnitionMode, "Ign: Mode", "", 0}, - {engine->outputChannels.currentInjectionMode, "Fuel: Injection mode", "", 0}, - {engine->outputChannels.coilDutyCycle, "Ign: Coil duty cycle", "%", 0}, - {engine->outputChannels.etbTarget, "ETB Target", "%", 2}, - {engine->outputChannels.etb1DutyCycle, "ETB: Duty", "%", 1}, - {engine->outputChannels.fuelTankLevel, "Fuel level", "%", 0}, - {engine->outputChannels.totalFuelConsumption, "Fuel: Total consumed", "grams", 1}, - {engine->outputChannels.fuelFlowRate, "Fuel: Flow rate", "gram/s", 3}, - {engine->outputChannels.TPS2Value, "TPS2", "%", 2}, - {engine->outputChannels.tuneCrc16, "Tune CRC16", "crc16", 0}, - {engine->outputChannels.seconds, "Uptime", "sec", 0}, - {engine->outputChannels.engineMode, "Engine Mode", "em", 0}, - {engine->outputChannels.firmwareVersion, "firmware", "version_f", 0}, - {engine->outputChannels.rawWastegatePosition, "rawWastegatePosition", "V", 3}, - {engine->outputChannels.accelerationLat, "Accel: Lateral", "G", 0}, - {engine->outputChannels.accelerationLon, "Accel: Longitudinal", "G", 0}, - {engine->outputChannels.detectedGear, "Detected Gear", "", 0}, - {engine->outputChannels.maxTriggerReentrant, "maxTriggerReentrant", "", 0}, - {engine->outputChannels.rawLowFuelPressure, "rawLowFuelPressure", "V", 3}, - {engine->outputChannels.rawHighFuelPressure, "rawHighFuelPressure", "V", 3}, - {engine->outputChannels.lowFuelPressure, "Fuel pressure (low)", "kpa", 0}, - {engine->outputChannels.highFuelPressure, "Fuel pressure (high)", "bar", 0}, - {engine->outputChannels.rawPpsSecondary, "rawPpsSecondary", "V", 3}, - {engine->outputChannels.tcuDesiredGear, "TCU: Desired Gear", "gear", 0}, - {engine->outputChannels.flexPercent, "Flex Ethanol %", "%", 1}, - {engine->outputChannels.wastegatePositionSensor, "Wastegate position sensor", "%", 2}, - {engine->outputChannels.calibrationValue, "calibrationValue", "", 0}, - {engine->outputChannels.calibrationMode, "calibrationMode", "", 0}, - {engine->outputChannels.idleStepperTargetPosition, "Idle: Stepper target position", "", 0}, - {engine->outputChannels.tsConfigVersion, "tsConfigVersion", "", 0}, - {engine->outputChannels.totalTriggerErrorCounter, "Trigger Error Counter", "counter", 0}, - {engine->outputChannels.orderingErrorCounter, "orderingErrorCounter", "", 0}, - {engine->outputChannels.warningCounter, "Warning: counter", "count", 0}, - {engine->outputChannels.lastErrorCode, "Warning: last", "error", 0}, - {engine->outputChannels.recentErrorCode[0], "recentErrorCode 1", "error", 0}, - {engine->outputChannels.recentErrorCode[1], "recentErrorCode 2", "error", 0}, - {engine->outputChannels.recentErrorCode[2], "recentErrorCode 3", "error", 0}, - {engine->outputChannels.recentErrorCode[3], "recentErrorCode 4", "error", 0}, - {engine->outputChannels.recentErrorCode[4], "recentErrorCode 5", "error", 0}, - {engine->outputChannels.recentErrorCode[5], "recentErrorCode 6", "error", 0}, - {engine->outputChannels.recentErrorCode[6], "recentErrorCode 7", "error", 0}, - {engine->outputChannels.recentErrorCode[7], "recentErrorCode 8", "error", 0}, - {engine->outputChannels.debugFloatField1, "debugFloatField1", "val", 3}, - {engine->outputChannels.debugFloatField2, "debugFloatField2", "val", 3}, - {engine->outputChannels.debugFloatField3, "debugFloatField3", "val", 3}, - {engine->outputChannels.debugFloatField4, "debugFloatField4", "val", 3}, - {engine->outputChannels.debugFloatField5, "debugFloatField5", "val", 3}, - {engine->outputChannels.debugFloatField6, "debugFloatField6", "val", 3}, - {engine->outputChannels.debugFloatField7, "debugFloatField7", "val", 3}, - {engine->outputChannels.debugIntField1, "debugIntField1", "val", 0}, - {engine->outputChannels.debugIntField2, "debugIntField2", "val", 0}, - {engine->outputChannels.debugIntField3, "debugIntField3", "val", 0}, - {engine->outputChannels.debugIntField4, "debugIntField4", "val", 0}, - {engine->outputChannels.debugIntField5, "debugIntField5", "val", 0}, - {engine->outputChannels.egt[0], "EGT 1", "deg C", 0}, - {engine->outputChannels.egt[1], "EGT 2", "deg C", 0}, - {engine->outputChannels.egt[2], "EGT 3", "deg C", 0}, - {engine->outputChannels.egt[3], "EGT 4", "deg C", 0}, - {engine->outputChannels.egt[4], "EGT 5", "deg C", 0}, - {engine->outputChannels.egt[5], "EGT 6", "deg C", 0}, - {engine->outputChannels.egt[6], "EGT 7", "deg C", 0}, - {engine->outputChannels.egt[7], "EGT 8", "deg C", 0}, - {engine->outputChannels.rawTps1Primary, "rawTps1Primary", "V", 3}, - {engine->outputChannels.rawPpsPrimary, "rawPpsPrimary", "V", 3}, - {engine->outputChannels.rawClt, "rawClt", "V", 3}, - {engine->outputChannels.rawIat, "rawIat", "V", 3}, - {engine->outputChannels.rawOilPressure, "rawOilPressure", "V", 3}, - {engine->outputChannels.fuelClosedLoopBinIdx, "fuelClosedLoopBinIdx", "", 0}, - {engine->outputChannels.tcuCurrentGear, "Current Gear", "gear", 0}, - {engine->outputChannels.AFRValue, "Air/Fuel Ratio", "AFR", 2}, - {engine->outputChannels.VssAcceleration, "Vss Accel", "m/s2", 2}, - {engine->outputChannels.lambdaValue2, "Lambda 2", "", 3}, - {engine->outputChannels.AFRValue2, "Air/Fuel Ratio 2", "AFR", 2}, - {engine->outputChannels.vvtPositionB1E, "VVT: bank 1 exhaust", "deg", 1}, - {engine->outputChannels.vvtPositionB2I, "VVT: bank 2 intake", "deg", 1}, - {engine->outputChannels.vvtPositionB2E, "VVT: bank 2 exhaust", "deg", 1}, - {engine->outputChannels.fuelPidCorrection[0], "Fuel: Trim bank 1", "%", 2}, - {engine->outputChannels.fuelPidCorrection[1], "Fuel: Trim bank 2", "%", 2}, - {engine->outputChannels.rawTps1Secondary, "rawTps1Secondary", "V", 3}, - {engine->outputChannels.rawTps2Primary, "rawTps2Primary", "V", 3}, - {engine->outputChannels.rawTps2Secondary, "rawTps2Secondary", "V", 3}, - {engine->outputChannels.accelerationVert, "Accel: Vertical", "G", 0}, - {engine->outputChannels.gyroYaw, "Gyro: Yaw rate", "deg/sec", 0}, - {engine->outputChannels.vvtTargets[0], "vvtTargets 1", "deg", 0}, - {engine->outputChannels.vvtTargets[1], "vvtTargets 2", "deg", 0}, - {engine->outputChannels.vvtTargets[2], "vvtTargets 3", "deg", 0}, - {engine->outputChannels.vvtTargets[3], "vvtTargets 4", "deg", 0}, - {engine->outputChannels.turboSpeed, "Turbocharger Speed", "hz", 0}, - {engine->outputChannels.ignitionAdvanceCyl[0], "Ign: Timing Cyl 1", "deg", 1}, - {engine->outputChannels.ignitionAdvanceCyl[1], "Ign: Timing Cyl 2", "deg", 1}, - {engine->outputChannels.ignitionAdvanceCyl[2], "Ign: Timing Cyl 3", "deg", 1}, - {engine->outputChannels.ignitionAdvanceCyl[3], "Ign: Timing Cyl 4", "deg", 1}, - {engine->outputChannels.ignitionAdvanceCyl[4], "Ign: Timing Cyl 5", "deg", 1}, - {engine->outputChannels.ignitionAdvanceCyl[5], "Ign: Timing Cyl 6", "deg", 1}, - {engine->outputChannels.ignitionAdvanceCyl[6], "Ign: Timing Cyl 7", "deg", 1}, - {engine->outputChannels.ignitionAdvanceCyl[7], "Ign: Timing Cyl 8", "deg", 1}, - {engine->outputChannels.ignitionAdvanceCyl[8], "Ign: Timing Cyl 9", "deg", 1}, - {engine->outputChannels.ignitionAdvanceCyl[9], "Ign: Timing Cyl 10", "deg", 1}, - {engine->outputChannels.ignitionAdvanceCyl[10], "Ign: Timing Cyl 11", "deg", 1}, - {engine->outputChannels.ignitionAdvanceCyl[11], "Ign: Timing Cyl 12", "deg", 1}, - {engine->outputChannels.tps1Split, "tps1Split", "%", 2}, - {engine->outputChannels.tps2Split, "tps2Split", "%", 2}, - {engine->outputChannels.tps12Split, "tps12Split", "%", 2}, - {engine->outputChannels.accPedalSplit, "accPedalSplit", "%", 2}, - {engine->outputChannels.sparkCutReason, "Ign: Cut Code", "code", 0}, - {engine->outputChannels.fuelCutReason, "Fuel: Cut Code", "code", 0}, - {engine->outputChannels.mafEstimate, "Air: Flow estimate", "kg/h", 0}, - {engine->outputChannels.instantRpm, "instantRpm", "rpm", 0}, - {engine->outputChannels.rawMap, "rawMap", "V", 3}, - {engine->outputChannels.rawAfr, "rawAfr", "V", 3}, - {engine->outputChannels.calibrationValue2, "calibrationValue2", "", 0}, - {engine->outputChannels.luaInvocationCounter, "Lua: Tick counter", "count", 0}, - {engine->outputChannels.luaLastCycleDuration, "Lua: Last tick duration", "nt", 0}, - {engine->outputChannels.tcu_currentRange, "TCU: Current Range", "", 0}, - {engine->outputChannels.tcRatio, "TCU: Torque Converter Ratio", "value", 0}, - {engine->outputChannels.lastShiftTime, "lastShiftTime", "", 0}, - {engine->outputChannels.vssEdgeCounter, "vssEdgeCounter", "", 0}, - {engine->outputChannels.issEdgeCounter, "issEdgeCounter", "", 0}, - {engine->outputChannels.auxLinear1, "Aux linear #1", "", 2}, - {engine->outputChannels.auxLinear2, "Aux linear #2", "", 2}, - {engine->outputChannels.fallbackMap, "fallbackMap", "kPa", 1}, - {engine->outputChannels.instantMAPValue, "Instant MAP", "kPa", 2}, - {engine->outputChannels.maxLockedDuration, "maxLockedDuration", "us", 0}, - {engine->outputChannels.canWriteOk, "CAN: Tx OK", "", 3}, - {engine->outputChannels.canWriteNotOk, "CAN: Tx err", "", 3}, - {engine->outputChannels.triggerPrimaryFall, "triggerPrimaryFall", "", 3}, - {engine->outputChannels.triggerPrimaryRise, "triggerPrimaryRise", "", 3}, - {engine->outputChannels.triggerSecondaryFall, "triggerSecondaryFall", "", 3}, - {engine->outputChannels.triggerSecondaryRise, "triggerSecondaryRise", "", 3}, - {engine->outputChannels.triggerVvtFall, "triggerVvtFall", "", 3}, - {engine->outputChannels.triggerVvtRise, "triggerVvtRise", "", 3}, - {engine->outputChannels.starterState, "starterState", "", 3}, - {engine->outputChannels.starterRelayDisable, "starterRelayDisable", "", 3}, - {engine->outputChannels.multiSparkCounter, "Ign: Multispark count", "", 3}, - {engine->outputChannels.extiOverflowCount, "extiOverflowCount", "", 0}, - {engine->outputChannels.alternatorStatus.pTerm, "alternatorStatus.pTerm", "", 2}, - {engine->outputChannels.alternatorStatus.iTerm, "alternatorStatus.iTerm", "", 2}, - {engine->outputChannels.alternatorStatus.dTerm, "alternatorStatus.dTerm", "", 2}, - {engine->outputChannels.alternatorStatus.output, "alternatorStatus.output", "", 2}, - {engine->outputChannels.alternatorStatus.error, "alternatorStatus.error", "", 2}, - {engine->outputChannels.alternatorStatus.resetCounter, "alternatorStatus.resetCounter", "", 0}, - {engine->outputChannels.idleStatus.pTerm, "idleStatus.pTerm", "", 2}, - {engine->outputChannels.idleStatus.iTerm, "idleStatus.iTerm", "", 2}, - {engine->outputChannels.idleStatus.dTerm, "idleStatus.dTerm", "", 2}, - {engine->outputChannels.idleStatus.output, "idleStatus.output", "", 2}, - {engine->outputChannels.idleStatus.error, "idleStatus.error", "", 2}, - {engine->outputChannels.idleStatus.resetCounter, "idleStatus.resetCounter", "", 0}, - {engine->outputChannels.etbStatus.pTerm, "etbStatus.pTerm", "", 2}, - {engine->outputChannels.etbStatus.iTerm, "etbStatus.iTerm", "", 2}, - {engine->outputChannels.etbStatus.dTerm, "etbStatus.dTerm", "", 2}, - {engine->outputChannels.etbStatus.output, "etbStatus.output", "", 2}, - {engine->outputChannels.etbStatus.error, "etbStatus.error", "", 2}, - {engine->outputChannels.etbStatus.resetCounter, "etbStatus.resetCounter", "", 0}, - {engine->outputChannels.boostStatus.pTerm, "boostStatus.pTerm", "", 2}, - {engine->outputChannels.boostStatus.iTerm, "boostStatus.iTerm", "", 2}, - {engine->outputChannels.boostStatus.dTerm, "boostStatus.dTerm", "", 2}, - {engine->outputChannels.boostStatus.output, "boostStatus.output", "", 2}, - {engine->outputChannels.boostStatus.error, "boostStatus.error", "", 2}, - {engine->outputChannels.boostStatus.resetCounter, "boostStatus.resetCounter", "", 0}, - {engine->outputChannels.wastegateDcStatus.pTerm, "wastegateDcStatus.pTerm", "", 2}, - {engine->outputChannels.wastegateDcStatus.iTerm, "wastegateDcStatus.iTerm", "", 2}, - {engine->outputChannels.wastegateDcStatus.dTerm, "wastegateDcStatus.dTerm", "", 2}, - {engine->outputChannels.wastegateDcStatus.output, "wastegateDcStatus.output", "", 2}, - {engine->outputChannels.wastegateDcStatus.error, "wastegateDcStatus.error", "", 2}, - {engine->outputChannels.wastegateDcStatus.resetCounter, "wastegateDcStatus.resetCounter", "", 0}, - {engine->outputChannels.auxSpeed1, "Aux speed 1", "s", 0}, - {engine->outputChannels.auxSpeed2, "Aux speed 2", "s", 0}, - {engine->outputChannels.ISSValue, "TCU: Input Shaft Speed", "RPM", 0}, - {engine->outputChannels.rawAnalogInput[0], "rawAnalogInput 1", "V", 3}, - {engine->outputChannels.rawAnalogInput[1], "rawAnalogInput 2", "V", 3}, - {engine->outputChannels.rawAnalogInput[2], "rawAnalogInput 3", "V", 3}, - {engine->outputChannels.rawAnalogInput[3], "rawAnalogInput 4", "V", 3}, - {engine->outputChannels.rawAnalogInput[4], "rawAnalogInput 5", "V", 3}, - {engine->outputChannels.rawAnalogInput[5], "rawAnalogInput 6", "V", 3}, - {engine->outputChannels.rawAnalogInput[6], "rawAnalogInput 7", "V", 3}, - {engine->outputChannels.rawAnalogInput[7], "rawAnalogInput 8", "V", 3}, - {engine->outputChannels.gppwmOutput[0], "GPPWM Output 1", "%", 2}, - {engine->outputChannels.gppwmOutput[1], "GPPWM Output 2", "%", 2}, - {engine->outputChannels.gppwmOutput[2], "GPPWM Output 3", "%", 2}, - {engine->outputChannels.gppwmOutput[3], "GPPWM Output 4", "%", 2}, - {engine->outputChannels.gppwmXAxis[0], "gppwmXAxis 1", "", 0}, - {engine->outputChannels.gppwmXAxis[1], "gppwmXAxis 2", "", 0}, - {engine->outputChannels.gppwmXAxis[2], "gppwmXAxis 3", "", 0}, - {engine->outputChannels.gppwmXAxis[3], "gppwmXAxis 4", "", 0}, - {engine->outputChannels.gppwmYAxis[0], "gppwmYAxis 1", "", 1}, - {engine->outputChannels.gppwmYAxis[1], "gppwmYAxis 2", "", 1}, - {engine->outputChannels.gppwmYAxis[2], "gppwmYAxis 3", "", 1}, - {engine->outputChannels.gppwmYAxis[3], "gppwmYAxis 4", "", 1}, - {engine->outputChannels.rawBattery, "rawBattery", "V", 3}, - {engine->outputChannels.ignBlendParameter[0], "ignBlendParameter 1", "", 1}, - {engine->outputChannels.ignBlendParameter[1], "ignBlendParameter 2", "", 1}, - {engine->outputChannels.ignBlendParameter[2], "ignBlendParameter 3", "", 1}, - {engine->outputChannels.ignBlendParameter[3], "ignBlendParameter 4", "", 1}, - {engine->outputChannels.ignBlendBias[0], "ignBlendBias 1", "%", 1}, - {engine->outputChannels.ignBlendBias[1], "ignBlendBias 2", "%", 1}, - {engine->outputChannels.ignBlendBias[2], "ignBlendBias 3", "%", 1}, - {engine->outputChannels.ignBlendBias[3], "ignBlendBias 4", "%", 1}, - {engine->outputChannels.ignBlendOutput[0], "ignBlendOutput 1", "deg", 2}, - {engine->outputChannels.ignBlendOutput[1], "ignBlendOutput 2", "deg", 2}, - {engine->outputChannels.ignBlendOutput[2], "ignBlendOutput 3", "deg", 2}, - {engine->outputChannels.ignBlendOutput[3], "ignBlendOutput 4", "deg", 2}, - {engine->outputChannels.veBlendParameter[0], "veBlendParameter 1", "", 1}, - {engine->outputChannels.veBlendParameter[1], "veBlendParameter 2", "", 1}, - {engine->outputChannels.veBlendParameter[2], "veBlendParameter 3", "", 1}, - {engine->outputChannels.veBlendParameter[3], "veBlendParameter 4", "", 1}, - {engine->outputChannels.veBlendBias[0], "veBlendBias 1", "%", 1}, - {engine->outputChannels.veBlendBias[1], "veBlendBias 2", "%", 1}, - {engine->outputChannels.veBlendBias[2], "veBlendBias 3", "%", 1}, - {engine->outputChannels.veBlendBias[3], "veBlendBias 4", "%", 1}, - {engine->outputChannels.veBlendOutput[0], "veBlendOutput 1", "%", 2}, - {engine->outputChannels.veBlendOutput[1], "veBlendOutput 2", "%", 2}, - {engine->outputChannels.veBlendOutput[2], "veBlendOutput 3", "%", 2}, - {engine->outputChannels.veBlendOutput[3], "veBlendOutput 4", "%", 2}, - {engine->outputChannels.boostOpenLoopBlendParameter[0], "boostOpenLoopBlendParameter 1", "", 1}, - {engine->outputChannels.boostOpenLoopBlendParameter[1], "boostOpenLoopBlendParameter 2", "", 1}, - {engine->outputChannels.boostOpenLoopBlendBias[0], "boostOpenLoopBlendBias 1", "%", 1}, - {engine->outputChannels.boostOpenLoopBlendBias[1], "boostOpenLoopBlendBias 2", "%", 1}, - {engine->outputChannels.boostOpenLoopBlendOutput[0], "boostOpenLoopBlendOutput 1", "%", 0}, - {engine->outputChannels.boostOpenLoopBlendOutput[1], "boostOpenLoopBlendOutput 2", "%", 0}, - {engine->outputChannels.boostClosedLoopBlendParameter[0], "boostClosedLoopBlendParameter 1", "", 1}, - {engine->outputChannels.boostClosedLoopBlendParameter[1], "boostClosedLoopBlendParameter 2", "", 1}, - {engine->outputChannels.boostClosedLoopBlendBias[0], "boostClosedLoopBlendBias 1", "%", 1}, - {engine->outputChannels.boostClosedLoopBlendBias[1], "boostClosedLoopBlendBias 2", "%", 1}, - {engine->outputChannels.boostClosedLoopBlendOutput[0], "boostClosedLoopBlendOutput 1", "%", 1}, - {engine->outputChannels.boostClosedLoopBlendOutput[1], "boostClosedLoopBlendOutput 2", "%", 1}, - {engine->outputChannels.outputRequestPeriod, "outputRequestPeriod", "", 0}, - {engine->outputChannels.mapFast, "mapFast", "", 0}, - {engine->outputChannels.luaGauges[0], "Lua: Gauge 1", "value", 3}, - {engine->outputChannels.luaGauges[1], "Lua: Gauge 2", "value", 3}, - {engine->outputChannels.rawMaf2, "rawMaf2", "V", 3}, - {engine->outputChannels.mafMeasured2, "MAF #2", "kg/h", 1}, - {engine->outputChannels.schedulingUsedCount, "schedulingUsedCount", "", 0}, - {engine->outputChannels.Gego, "Gego", "%", 2}, - {engine->outputChannels.testBenchIter, "testBenchIter", "count", 0}, - {engine->outputChannels.oilTemp, "oilTemp", "deg C", 1}, - {engine->outputChannels.fuelTemp, "fuelTemp", "deg C", 1}, - {engine->outputChannels.ambientTemp, "ambientTemp", "deg C", 1}, - {engine->outputChannels.compressorDischargeTemp, "compressorDischargeTemp", "deg C", 1}, - {engine->outputChannels.compressorDischargePressure, "compressorDischargePressure", "kPa", 1}, - {engine->outputChannels.throttleInletPressure, "throttleInletPressure", "kPa", 1}, - {engine->outputChannels.ignitionOnTime, "ignitionOnTime", "sec", 1}, - {engine->outputChannels.engineRunTime, "engineRunTime", "sec", 1}, - {engine->outputChannels.distanceTraveled, "distanceTraveled", "km", 1}, - {engine->outputChannels.afrGasolineScale, "Air/Fuel Ratio (Gas Scale)", "AFR", 2}, - {engine->outputChannels.afr2GasolineScale, "Air/Fuel Ratio 2 (Gas Scale)", "AFR", 2}, - {engine->outputChannels.actualLastInjectionStage2, "Fuel: Last inj pulse width stg 2", "ms", 3}, - {engine->outputChannels.injectorDutyCycleStage2, "Fuel: injector duty cycle stage 2", "%", 0}, - {engine->fuelComputer.totalFuelCorrection, "Fuel: Total correction", "mult", 2}, - {engine->fuelComputer.running.postCrankingFuelCorrection, "Fuel: Post cranking mult", "", 0}, - {engine->fuelComputer.running.intakeTemperatureCoefficient, "Fuel: IAT correction", "", 0}, - {engine->fuelComputer.running.coolantTemperatureCoefficient, "Fuel: CLT correction", "", 0}, - {engine->fuelComputer.running.timeSinceCrankingInSecs, "running.timeSinceCrankingInSecs", "secs", 0}, - {engine->fuelComputer.running.baseFuel, "Fuel: base cycle mass", "mg", 3}, - {engine->fuelComputer.running.fuel, "Fuel: running", "mg", 3}, - {engine->fuelComputer.afrTableYAxis, "afrTableYAxis", "%", 0}, - {engine->fuelComputer.targetLambda, "Fuel: target lambda", "", 2}, - {engine->fuelComputer.targetAFR, "Fuel: target AFR", "ratio", 2}, - {engine->fuelComputer.stoichiometricRatio, "Fuel: Stoich ratio", "ratio", 2}, - {engine->fuelComputer.sdTcharge_coff, "sdTcharge_coff", "", 0}, - {engine->fuelComputer.sdAirMassInOneCylinder, "Air: Cylinder airmass", "g", 3}, - {engine->fuelComputer.normalizedCylinderFilling, "Air: Normalized cyl filling", "%", 1}, - {engine->ignitionState.baseDwell, "baseDwell", "ms", 1}, - {engine->ignitionState.sparkDwell, "Ign: Dwell", "ms", 1}, - {engine->ignitionState.dwellAngle, "ignition dwell duration", "deg", 1}, - {engine->ignitionState.cltTimingCorrection, "Ign: CLT correction", "deg", 2}, - {engine->ignitionState.timingIatCorrection, "Ign: IAT correction", "deg", 2}, - {engine->ignitionState.timingPidCorrection, "Idle: Timing adjustment", "deg", 2}, - {engine->ignitionState.dwellVoltageCorrection, "Ign: Dwell voltage correction", "", 0}, - {engine->ignitionState.luaTimingAdd, "Ign: Lua timing add", "deg", 2}, - {engine->ignitionState.luaTimingMult, "Ign: Lua timing mult", "deg", 2}, - {___engine.module()->m_knockLevel, "Knock: Current level", "Volts", 2}, - {___engine.module()->m_knockCyl[0], "Knock: Cyl 1", "dBv", 0}, - {___engine.module()->m_knockCyl[1], "Knock: Cyl 2", "dBv", 0}, - {___engine.module()->m_knockCyl[2], "Knock: Cyl 3", "dBv", 0}, - {___engine.module()->m_knockCyl[3], "Knock: Cyl 4", "dBv", 0}, - {___engine.module()->m_knockCyl[4], "Knock: Cyl 5", "dBv", 0}, - {___engine.module()->m_knockCyl[5], "Knock: Cyl 6", "dBv", 0}, - {___engine.module()->m_knockCyl[6], "Knock: Cyl 7", "dBv", 0}, - {___engine.module()->m_knockCyl[7], "Knock: Cyl 8", "dBv", 0}, - {___engine.module()->m_knockCyl[8], "Knock: Cyl 9", "dBv", 0}, - {___engine.module()->m_knockCyl[9], "Knock: Cyl 10", "dBv", 0}, - {___engine.module()->m_knockCyl[10], "Knock: Cyl 11", "dBv", 0}, - {___engine.module()->m_knockCyl[11], "Knock: Cyl 12", "dBv", 0}, - {___engine.module()->m_knockRetard, "Knock: Retard", "deg", 1}, - {___engine.module()->m_knockThreshold, "Knock: Threshold", "", 0}, - {___engine.module()->m_knockCount, "Knock: Count", "", 0}, - {___engine.module()->m_maximumRetard, "Knock: Max retard", "", 0}, - {___engine.module()->luaTargetAdd, "Boost: Lua target add", "v", 1}, - {___engine.module()->boostOutput, "Boost: Output", "percent", 2}, - {___engine.module()->luaTargetMult, "Boost: Lua target mult", "v", 1}, - {___engine.module()->openLoopPart, "Boost: Open loop", "v", 1}, - {___engine.module()->luaOpenLoopAdd, "Boost: Lua open loop add", "v", 1}, - {___engine.module()->boostControllerClosedLoopPart, "Boost: Closed loop", "%", 1}, - {___engine.module()->boostControlTarget, "Boost: Target", "kPa", 1}, - {engine->engineState.lua.fuelAdd, "Lua: Fuel add", "g", 3}, - {engine->engineState.lua.fuelMult, "Lua: Fuel mult", "", 0}, - {engine->engineState.sd.tCharge, "Air: Charge temperature estimate", "deg C", 1}, - {engine->engineState.sd.tChargeK, "Air: Charge temperature estimate K", "", 0}, - {engine->engineState.crankingFuel.coolantTemperatureCoefficient, "Fuel: cranking CLT mult", "", 0}, - {engine->engineState.crankingFuel.tpsCoefficient, "Fuel: cranking TPS mult", "", 0}, - {engine->engineState.crankingFuel.durationCoefficient, "Fuel: cranking duration mult", "", 0}, - {engine->engineState.crankingFuel.fuel, "Fuel: Cranking cycle mass", "mg", 2}, - {engine->engineState.baroCorrection, "Fuel: Barometric pressure mult", "", 0}, - {engine->engineState.hellenBoardId, "Detected Board ID", "id", 0}, - {engine->engineState.startStopStateToggleCounter, "startStopStateToggleCounter", "", 0}, - {engine->engineState.egtValue1, "egtValue1", "", 0}, - {engine->engineState.egtValue2, "egtValue2", "", 0}, - {engine->engineState.desiredRpmLimit, "User-defined RPM hard limit", "rpm", 0}, - {engine->engineState.fuelInjectionCounter, "Fuel: Injection counter", "", 0}, - {engine->engineState.sparkCounter, "Ign: Spark counter", "", 0}, - {engine->engineState.fuelingLoad, "Fuel: Load", "", 0}, - {engine->engineState.ignitionLoad, "Ign: Load", "", 0}, - {engine->engineState.veTableYAxis, "veTableYAxis", "%", 0}, - {engine->triggerCentral.hwEventCounters[0], "Hardware events since boot 1", "", 0}, - {engine->triggerCentral.hwEventCounters[1], "Hardware events since boot 2", "", 0}, - {engine->triggerCentral.hwEventCounters[2], "Hardware events since boot 3", "", 0}, - {engine->triggerCentral.hwEventCounters[3], "Hardware events since boot 4", "", 0}, - {engine->triggerCentral.hwEventCounters[4], "Hardware events since boot 5", "", 0}, - {engine->triggerCentral.hwEventCounters[5], "Hardware events since boot 6", "", 0}, - {engine->triggerCentral.vvtCamCounter, "vvtCamCounter", "", 0}, - {engine->triggerCentral.mapVvt_MAP_AT_SPECIAL_POINT, "mapVvt_MAP_AT_SPECIAL_POINT", "", 3}, - {engine->triggerCentral.mapVvt_MAP_AT_DIFF, "mapVvt_MAP_AT_DIFF", "", 3}, - {engine->triggerCentral.mapVvt_MAP_AT_CYCLE_COUNT, "mapVvt_MAP_AT_CYCLE_COUNT", "", 3}, - {engine->triggerCentral.mapVvt_map_peak, "mapVvt_map_peak", "", 3}, - {engine->triggerCentral.currentEngineDecodedPhase, "Engine Phase", "deg", 0}, - {engine->triggerCentral.triggerToothAngleError, "triggerToothAngleError", "deg", 2}, - {engine->triggerCentral.triggerIgnoredToothCount, "triggerIgnoredToothCount", "", 0}, - {engine->dc_motors.dcOutput0, "DC: output0", "per", 2}, - {engine->dc_motors.isEnabled0_int, "DC: en0", "per", 2}, - {___engine.module()->vvtTarget, "vvtTarget", "deg", 1}, - {___engine.module()->vvtOutput, "vvtOutput", "%", 1}, - {___engine.lambdaMonitor.lambdaTimeSinceGood, "lambdaTimeSinceGood", "sec", 2}, -}; diff --git a/firmware/controllers/controllers.mk b/firmware/controllers/controllers.mk index 5f8aa00691..7ab8dab358 100644 --- a/firmware/controllers/controllers.mk +++ b/firmware/controllers/controllers.mk @@ -81,7 +81,6 @@ CONTROLLERS_INC=\ $(CONTROLLERS_DIR)/core \ $(CONTROLLERS_DIR)/gauges \ $(CONTROLLERS_DIR)/math \ - $(CONTROLLERS_DIR)/generated \ $(CONTROLLERS_DIR)/actuators \ $(CONTROLLERS_DIR)/actuators/gppwm \ $(CONTROLLERS_DIR)/serial \ diff --git a/firmware/controllers/generated/engine_configuration_generated_structures.h b/firmware/controllers/generated/engine_configuration_generated_structures.h deleted file mode 100644 index 256a8ef657..0000000000 --- a/firmware/controllers/generated/engine_configuration_generated_structures.h +++ /dev/null @@ -1,2905 +0,0 @@ -#pragma once -#include "rusefi_types.h" -struct stft_cell_cfg_s { - // % - // offset 0 - int8_t maxAdd; - // % - // offset 1 - int8_t maxRemove; - // Time constant for correction while in this cell: this sets responsiveness of the closed loop correction. A value of 5.0 means it will try to make most of the correction within 5 seconds, and a value of 1.0 will try to correct within 1 second. - // sec - // offset 2 - scaled_channel timeConstant; -}; -static_assert(sizeof(stft_cell_cfg_s) == 4); - -struct stft_s { - // Below this RPM, the idle region is active - // RPM - // offset 0 - scaled_channel maxIdleRegionRpm; - // Below this engine load, the overrun region is active - // load - // offset 1 - uint8_t maxOverrunLoad; - // Above this engine load, the power region is active - // load - // offset 2 - uint8_t minPowerLoad; - // When close to correct AFR, pause correction. This can improve stability by not changing the adjustment if the error is extremely small, but is not required. - // % - // offset 3 - scaled_channel deadband; - // Below this temperature, correction is disabled. - // C - // offset 4 - int8_t minClt; - // Below this AFR, correction is paused - // afr - // offset 5 - scaled_channel minAfr; - // Above this AFR, correction is paused - // afr - // offset 6 - scaled_channel maxAfr; - // Delay after starting the engine before beginning closed loop correction. - // seconds - // offset 7 - uint8_t startupDelay; - // offset 8 - stft_cell_cfg_s cellCfgs[STFT_CELL_COUNT]; -}; -static_assert(sizeof(stft_s) == 24); - -struct pid_s { - // offset 0 - float pFactor; - // offset 4 - float iFactor; - // offset 8 - float dFactor; - // Linear addition to PID logic - // offset 12 - int16_t offset; - // PID dTime - // ms - // offset 14 - int16_t periodMs; - // Output Min Duty Cycle - // offset 16 - int16_t minValue; - // Output Max Duty Cycle - // offset 18 - int16_t maxValue; -}; -static_assert(sizeof(pid_s) == 20); - -struct cranking_parameters_s { - // Base mass of the per-cylinder fuel injected during cranking. This is then modified by the multipliers for CLT, IAT, TPS ect, to give the final cranking pulse width. - // A reasonable starting point is 60mg per liter per cylinder. - // ex: 2 liter 4 cyl = 500cc/cyl, so 30mg cranking fuel. - // mg - // offset 0 - float baseFuel; - // This sets the RPM limit below which the ECU will use cranking fuel and ignition logic, typically this is around 350-450rpm. - // RPM - // offset 4 - int16_t rpm; - // offset 6 - uint8_t alignmentFill_at_6[2]; -}; -static_assert(sizeof(cranking_parameters_s) == 8); - -struct gppwm_channel { - // Select a pin to use for PWM or on-off output. - // offset 0 - output_pin_e pin; - // If an error (with a sensor, etc) is detected, this value is used instead of reading from the table. - // This should be a safe value for whatever hardware is connected to prevent damage. - // % - // offset 2 - uint8_t dutyIfError; - // offset 3 - uint8_t alignmentFill_at_3[1]; - // Select a frequency to run PWM at. - // Set this to 0hz to enable on-off mode. - // hz - // offset 4 - uint16_t pwmFrequency; - // Hysteresis: in on-off mode, turn the output on when the table value is above this duty. - // % - // offset 6 - uint8_t onAboveDuty; - // Hysteresis: in on-off mode, turn the output off when the table value is below this duty. - // % - // offset 7 - uint8_t offBelowDuty; - // Selects the Y axis to use for the table. - // offset 8 - gppwm_channel_e loadAxis; - // Selects the X axis to use for the table. - // offset 9 - gppwm_channel_e rpmAxis; - // load - // offset 10 - scaled_channel loadBins[GPPWM_LOAD_COUNT]; - // RPM - // offset 26 - int16_t rpmBins[GPPWM_RPM_COUNT]; - // duty - // offset 42 - scaled_channel table[GPPWM_RPM_COUNT][GPPWM_LOAD_COUNT]; - // offset 106 - uint8_t alignmentFill_at_106[2]; -}; -static_assert(sizeof(gppwm_channel) == 108); - -struct air_pressure_sensor_config_s { - // kPa value at low volts - // kpa - // offset 0 - float lowValue; - // kPa value at high volts - // kpa - // offset 4 - float highValue; - // offset 8 - air_pressure_sensor_type_e type; - // offset 9 - adc_channel_e hwChannel; - // offset 10 - uint8_t alignmentFill_at_10[2]; -}; -static_assert(sizeof(air_pressure_sensor_config_s) == 12); - -struct MAP_sensor_config_s { - // offset 0 - float samplingAngleBins[MAP_ANGLE_SIZE]; - // MAP averaging sampling start crank degree angle - // deg - // offset 32 - float samplingAngle[MAP_ANGLE_SIZE]; - // offset 64 - float samplingWindowBins[MAP_WINDOW_SIZE]; - // MAP averaging angle crank degree duration - // deg - // offset 96 - float samplingWindow[MAP_WINDOW_SIZE]; - // offset 128 - air_pressure_sensor_config_s sensor; -}; -static_assert(sizeof(MAP_sensor_config_s) == 140); - -struct thermistor_conf_s { - // these values are in Celcius - // *C - // offset 0 - scaled_channel tempC_1; - // *C - // offset 4 - scaled_channel tempC_2; - // *C - // offset 8 - scaled_channel tempC_3; - // Ohm - // offset 12 - scaled_channel resistance_1; - // Ohm - // offset 16 - scaled_channel resistance_2; - // Ohm - // offset 20 - scaled_channel resistance_3; - // Pull-up resistor value on your board - // Ohm - // offset 24 - scaled_channel bias_resistor; -}; -static_assert(sizeof(thermistor_conf_s) == 28); - -struct linear_sensor_s { - // offset 0 - adc_channel_e hwChannel; - // offset 1 - uint8_t alignmentFill_at_1[3]; - // volts - // offset 4 - float v1; - // kPa - // offset 8 - float value1; - // volts - // offset 12 - float v2; - // kPa - // offset 16 - float value2; -}; -static_assert(sizeof(linear_sensor_s) == 20); - -struct ThermistorConf { - // offset 0 - thermistor_conf_s config; - // offset 28 - adc_channel_e adcChannel; - // offset 29 - uint8_t alignmentFill_at_29[3]; -}; -static_assert(sizeof(ThermistorConf) == 32); - -struct injector_s { - // This is your injector flow at the fuel pressure used in the vehicle. cc/min, cubic centimetre per minute - // By the way, g/s = 0.125997881 * (lb/hr) - // g/s = 0.125997881 * (cc/min)/10.5 - // g/s = 0.0119997981 * cc/min - // cm3/min - // offset 0 - float flow; - // volts - // offset 4 - scaled_channel battLagCorrBins[VBAT_INJECTOR_CURVE_SIZE]; - // ms delay between injector open and close dead times - // ms - // offset 20 - scaled_channel battLagCorr[VBAT_INJECTOR_CURVE_SIZE]; -}; -static_assert(sizeof(injector_s) == 36); - -struct trigger_config_s { - // https://github.com/rusefi/rusefi/wiki/All-Supported-Triggers - // offset 0 - trigger_type_e type; - // number - // offset 4 - int customTotalToothCount; - // number - // offset 8 - int customSkippedToothCount; -}; -static_assert(sizeof(trigger_config_s) == 12); - -struct afr_sensor_s { - // offset 0 - adc_channel_e hwChannel; - // offset 1 - adc_channel_e hwChannel2; - // volts - // offset 2 - scaled_channel v1; - // AFR - // offset 4 - scaled_channel value1; - // volts - // offset 6 - scaled_channel v2; - // AFR - // offset 8 - scaled_channel value2; - // offset 10 - uint8_t alignmentFill_at_10[2]; -}; -static_assert(sizeof(afr_sensor_s) == 12); - -struct idle_hardware_s { - // Hz - // offset 0 - int solenoidFrequency; - // offset 4 - output_pin_e solenoidPin; - // offset 6 - Gpio stepperDirectionPin; - // offset 8 - Gpio stepperStepPin; - // offset 10 - pin_output_mode_e solenoidPinMode; - // offset 11 - uint8_t alignmentFill_at_11[1]; -}; -static_assert(sizeof(idle_hardware_s) == 12); - -struct dc_io { - // offset 0 - Gpio directionPin1; - // offset 2 - Gpio directionPin2; - // Acts as EN pin in two-wire mode - // offset 4 - Gpio controlPin; - // offset 6 - Gpio disablePin; -}; -static_assert(sizeof(dc_io) == 8); - -struct vr_threshold_s { - // rpm - // offset 0 - scaled_channel rpmBins[6]; - // volts - // offset 6 - scaled_channel values[6]; - // offset 12 - Gpio pin; - // offset 14 - uint8_t alignmentFill_at_14[2]; -}; -static_assert(sizeof(vr_threshold_s) == 16); - -struct engine_configuration_s { - // http://rusefi.com/wiki/index.php?title=Manual:Engine_Type - // offset 0 - engine_type_e engineType; - // Disable sensor sniffer above this rpm - // RPM - // offset 4 - uint16_t sensorSnifferRpmThreshold; - // A secondary Rev limit engaged by the driver to help launch the vehicle faster - // rpm - // offset 6 - uint16_t launchRpm; - // rpm - // offset 8 - uint16_t rpmHardLimit; - // Engine sniffer would be disabled above this rpm - // RPM - // offset 10 - uint16_t engineSnifferRpmThreshold; - // Disable multispark above this engine speed. - // rpm - // offset 12 - scaled_channel multisparkMaxRpm; - // Above this RPM, disable AC. Set to 0 to disable check. - // rpm - // offset 13 - scaled_channel maxAcRpm; - // Above this TPS, disable AC. Set to 0 to disable check. - // % - // offset 14 - uint8_t maxAcTps; - // Above this CLT, disable AC to prevent overheating the engine. Set to 0 to disable check. - // deg C - // offset 15 - uint8_t maxAcClt; - // RPM - // offset 16 - uint16_t knockNoiseRpmBins[ENGINE_NOISE_CURVE_SIZE]; - // This parameter sets the latest that the last multispark can occur after the main ignition event. For example, if the ignition timing is 30 degrees BTDC, and this parameter is set to 45, no multispark will ever be fired after 15 degrees ATDC. - // deg - // offset 48 - uint8_t multisparkMaxSparkingAngle; - // Configures the maximum number of extra sparks to fire (does not include main spark) - // count - // offset 49 - uint8_t multisparkMaxExtraSparkCount; - // Single coil = distributor - // Individual coils = one coil per cylinder (COP, coil-near-plug), requires sequential mode - // Wasted spark = Fires pairs of cylinders together, either one coil per pair of cylinders or one coil per cylinder - // Two distributors = A pair of distributors, found on some BMW, Toyota and other engines - // offset 50 - ignition_mode_e ignitionMode; - // offset 51 - can_nbc_e canNbcType; - // offset 52 - injector_s injector; - // offset 88 - injector_s injectorSecondary; - // Does the vehicle have a turbo or supercharger? - // offset 124 bit 0 - bool isForcedInduction : 1 {}; - // On some Ford and Toyota vehicles one of the throttle sensors is not linear on the full range, i.e. in the specific range of the positions we effectively have only one sensor. - // offset 124 bit 1 - bool useFordRedundantTps : 1 {}; - // offset 124 bit 2 - bool lambdaProtectionEnable : 1 {}; - // offset 124 bit 3 - bool overrideTriggerGaps : 1 {}; - // Turn on this fan when AC is on. - // offset 124 bit 4 - bool enableFan1WithAc : 1 {}; - // Turn on this fan when AC is on. - // offset 124 bit 5 - bool enableFan2WithAc : 1 {}; - // Inhibit operation of this fan while the engine is not running. - // offset 124 bit 6 - bool disableFan1WhenStopped : 1 {}; - // Inhibit operation of this fan while the engine is not running. - // offset 124 bit 7 - bool disableFan2WhenStopped : 1 {}; - // Enable secondary spark outputs that fire after the primary (rotaries, twin plug engines). - // offset 124 bit 8 - bool enableTrailingSparks : 1 {}; - // TLE7209 uses two-wire mode. TLE9201 and VNH2SP30 do NOT use two wire mode. - // offset 124 bit 9 - bool etb_use_two_wires : 1 {}; - // Subaru/BMW style where default valve position is somewhere in the middle. First solenoid opens it more while second can close it more than default position. - // offset 124 bit 10 - bool isDoubleSolenoidIdle : 1 {}; - // offset 124 bit 11 - bool enableStagedInjection : 1 {}; - // offset 124 bit 12 - bool useTLE8888_cranking_hack : 1 {}; - // offset 124 bit 13 - bool kickStartCranking : 1 {}; - // This uses separate ignition timing and VE tables not only for idle conditions, also during the postcranking-to-idle taper transition (See also afterCrankingIACtaperDuration). - // offset 124 bit 14 - bool useSeparateIdleTablesForCrankingTaper : 1 {}; - // offset 124 bit 15 - bool launchControlEnabled : 1 {}; - // "Detect double trigger edges" - // offset 124 bit 16 - bool doNotFilterTriggerEdgeNoise : 1 {}; - // offset 124 bit 17 - bool antiLagEnabled : 1 {}; - // For cranking either use the specified fixed base fuel mass, or use the normal running math (VE table). - // offset 124 bit 18 - bool useRunningMathForCranking : 1 {}; - // offset 124 bit 19 - bool useTLE8888_stepper : 1 {}; - // offset 124 bit 20 - bool usescriptTableForCanSniffingFiltering : 1 {}; - // Print incoming and outgoing first bus CAN messages in FOME console - // offset 124 bit 21 - bool verboseCan : 1 {}; - // Experimental setting that will cause a misfire - // DO NOT ENABLE. - // offset 124 bit 22 - bool artificialTestMisfire : 1 {}; - // On some Ford and Toyota vehicles one of the pedal sensors is not linear on the full range, i.e. in the specific range of the positions we effectively have only one sensor. - // offset 124 bit 23 - bool useFordRedundantPps : 1 {}; - // offset 124 bit 24 - bool cltSensorPulldown : 1 {}; - // offset 124 bit 25 - bool iatSensorPulldown : 1 {}; - // offset 124 bit 26 - bool allowIdenticalPps : 1 {}; - // offset 124 bit 27 - bool unusedBit_43_27 : 1 {}; - // offset 124 bit 28 - bool unusedBit_43_28 : 1 {}; - // offset 124 bit 29 - bool unusedBit_43_29 : 1 {}; - // offset 124 bit 30 - bool unusedBit_43_30 : 1 {}; - // offset 124 bit 31 - bool unusedBit_43_31 : 1 {}; - // Closed throttle, 1 volt = 200 units - // ADC - // offset 128 - int16_t tpsMin; - // Full throttle, 1 volt = 200 units - // ADC - // offset 130 - int16_t tpsMax; - // TPS error detection: what throttle % is unrealistically low? - // Also used for accelerator pedal error detection if so equiped. - // % - // offset 132 - int16_t tpsErrorDetectionTooLow; - // TPS error detection: what throttle % is unrealistically high? - // Also used for accelerator pedal error detection if so equiped. - // % - // offset 134 - int16_t tpsErrorDetectionTooHigh; - // offset 136 - cranking_parameters_s cranking; - // Dwell duration while cranking - // ms - // offset 144 - float ignitionDwellForCrankingMs; - // Once engine speed passes this value, start reducing ETB angle. - // rpm - // offset 148 - uint16_t etbRevLimitStart; - // This far above 'Soft limiter start', fully close the throttle. At the bottom of the range, throttle control is normal. At the top of the range, the throttle is fully closed. - // rpm - // offset 150 - uint16_t etbRevLimitRange; - // offset 152 - MAP_sensor_config_s map; - // todo: merge with channel settings, use full-scale Thermistor here! - // offset 292 - ThermistorConf clt; - // offset 324 - ThermistorConf iat; - // deg - // offset 356 - int launchTimingRetard; - // We calculate knock band based of cylinderBore - // Use this to override - kHz knock band override - // Requires power cycling to effect - // kHz - // offset 360 - float knockBandCustom; - // Engine displacement in litres - // L - // offset 364 - scaled_channel displacement; - // RPM - // offset 366 - uint16_t triggerSimulatorRpm; - // Number of cylinder the engine has. - // offset 368 - uint32_t cylindersCount; - // offset 372 - firing_order_e firingOrder; - // deg - // offset 373 - uint8_t vvtBumpAmount; - // Duration of each test pulse - // ms - // offset 374 - scaled_channel benchTestOnTime; - // Cylinder diameter in mm. - // mm - // offset 376 - float cylinderBore; - // This setting controls which fuel quantity control algorithm is used. - // Alpha-N means drive by TPS commonly only used for NA engines - // Speed Density requires MAP sensor and is the default choice for may installs - // MAF air charge is a cylinder filling based method that uses a mass air flow sensor. - // offset 380 - engine_load_mode_e fuelAlgorithm; - // % - // offset 381 - uint8_t ALSMaxTPS; - // offset 382 - Gpio binarySerialTxPin; - // offset 384 - Gpio binarySerialRxPin; - // This is the injection strategy during engine start. See Fuel/Injection settings for more detail. It is suggested to use "Simultaneous". - // offset 386 - injection_mode_e crankingInjectionMode; - // This is where the fuel injection type is defined: "Simultaneous" means all injectors will fire together at once. "Sequential" fires the injectors on a per cylinder basis, which requires individually wired injectors. "Batched" will fire the injectors in groups. If your injectors are individually wired you will also need to enable "Two wire batch emulation". - // offset 387 - injection_mode_e injectionMode; - // Minimum RPM to enable boost control. Use this to avoid solenoid noise at idle, and help spool in some cases. - // offset 388 - uint16_t boostControlMinRpm; - // Minimum TPS to enable boost control. Use this to avoid solenoid noise at idle, and help spool in some cases. - // offset 390 - uint8_t boostControlMinTps; - // Minimum MAP to enable boost control. Use this to avoid solenoid noise at idle, and help spool in some cases. - // offset 391 - uint8_t boostControlMinMap; - // Dynamic uses the timing map to decide the ignition timing, Static timing fixes the timing to the value set below (only use for checking static timing with a timing light). - // offset 392 - timing_mode_e timingMode; - // offset 393 - adc_channel_e mafAdcChannel; - // How many test bench pulses do you want - // offset 394 - uint16_t benchTestCount; - // Ignition advance angle used during engine cranking, 5-10 degrees will work as a base setting for most engines. - // There is tapering towards running timing advance - // deg - // offset 396 - angle_t crankingTimingAngle; - // How many consecutive gap rations have to match expected ranges for sync to happen - // count - // offset 400 - int8_t gapTrackingLengthOverride; - // Above this speed, disable closed loop idle control. Set to 0 to disable (allow closed loop idle at any speed). - // kph - // offset 401 - uint8_t maxIdleVss; - // Expected oil pressure after starting the engine. If oil pressure does not reach this level within 5 seconds of engine start, fuel will be cut. Set to 0 to disable and always allow starting. - // kPa - // offset 402 - uint16_t minOilPressureAfterStart; - // This value is the ignition timing used when in 'fixed timing' mode, i.e. constant timing - // This mode is useful when adjusting distributor location. - // RPM - // offset 404 - angle_t fixedModeTiming; - // Angle between Top Dead Center (TDC) and the first trigger event. - // Positive value in case of synchnization point before TDC and negative in case of synchnization point after TDC - // .Knowing this angle allows us to control timing and other angles in reference to TDC. - // deg btdc - // offset 408 - angle_t globalTriggerAngleOffset; - // Ratio/coefficient of input voltage dividers on your PCB. For example, use '2' if your board divides 5v into 2.5v. Use '1.66' if your board divides 5v into 3v. - // coef - // offset 412 - float analogInputDividerCoefficient; - // This is the ratio of the resistors for the battery voltage, measure the voltage at the battery and then adjust this number until the gauge matches the reading. - // coef - // offset 416 - float vbattDividerCoeff; - // Cooling fan turn-on temperature threshold, in Celsius - // deg C - // offset 420 - uint8_t fanOnTemperature; - // Cooling fan turn-off temperature threshold, in Celsius - // deg C - // offset 421 - uint8_t fanOffTemperature; - // offset 422 - output_pin_e acrPin; - // Number of revolutions per kilometer for the wheels your vehicle speed sensor is connected to. Use an online calculator to determine this based on your tire size. - // revs/km - // offset 424 - float driveWheelRevPerKm; - // CANbus thread period in ms - // ms - // offset 428 - int canSleepPeriodMs; - // index - // offset 432 - int byFirmwareVersion; - // First throttle body, first sensor - // offset 436 - adc_channel_e tps1_1AdcChannel; - // This is the processor input pin that the battery voltage circuit is connected to, if you are unsure of what pin to use, check the schematic that corresponds to your PCB. - // offset 437 - adc_channel_e vbattAdcChannel; - // This is the processor pin that your fuel level sensor in connected to. This is a non standard input so will need to be user defined. - // offset 438 - adc_channel_e fuelLevelSensor; - // Second throttle body, first sensor - // offset 439 - adc_channel_e tps2_1AdcChannel; - // 0.1 is a good default value - // x - // offset 440 - float idle_derivativeFilterLoss; - // just a temporary solution - // angle - // offset 444 - int trailingSparkAngle; - // offset 448 - trigger_config_s trigger; - // Extra air taper amount - // % - // offset 460 - float airByRpmTaper; - // Duty cycle to use in case of a sensor failure. This duty cycle should produce the minimum possible amount of boost. This duty is also used in case any of the minimum RPM/TPS/MAP conditions are not met. - // % - // offset 464 - uint8_t boostControlSafeDutyCycle; - // Throttle pedal position first channel - // offset 465 - adc_channel_e throttlePedalPositionAdcChannel; - // offset 466 - pin_output_mode_e tle6240_csPinMode; - // offset 467 - uint8_t acrRevolutions; - // coef - // offset 468 - float globalFuelCorrection; - // volts - // offset 472 - float adcVcc; - // Deg - // offset 476 - float mapCamDetectionAnglePosition; - // Camshaft input could be used either just for engine phase detection if your trigger shape does not include cam sensor as 'primary' channel, or it could be used for Variable Valve timing on one of the camshafts. - // offset 480 - brain_input_pin_e camInputs[CAM_INPUTS_COUNT]; - // offset 488 - afr_sensor_s afr; - // offset 500 - Gpio tle6240_cs; - // Throttle Pedal not pressed switch - used on some older vehicles like early Mazda Miata - // offset 502 - switch_input_pin_e throttlePedalUpPin; - // offset 504 - air_pressure_sensor_config_s baroSensor; - // offset 516 - idle_hardware_s idle; - // Value between 0 and 100 used in Manual mode - // % - // offset 528 - float manIdlePosition; - // Ignition timing to remove when a knock event occurs. - // % - // offset 532 - scaled_channel knockRetardAggression; - // After a knock event, reapply timing at this rate. - // deg/s - // offset 533 - scaled_channel knockRetardReapplyRate; - // Select which cam is used for engine sync. Other cams will be used only for VVT measurement, but not engine sync. - // offset 534 - engineSyncCam_e engineSyncCam; - // Set this so your vehicle speed signal is responsive, but not noisy. Larger value give smoother but slower response. - // offset 535 - uint8_t vssFilterReciprocal; - // Number of turns of your vehicle speed sensor per turn of the wheels. For example if your sensor is on the transmission output, enter your axle/differential ratio. If you are using a hub-mounted sensor, enter a value of 1.0. - // ratio - // offset 536 - scaled_channel vssGearRatio; - // Number of pulses output per revolution of the shaft where your VSS is mounted. For example, GM applications of the T56 output 17 pulses per revolution of the transmission output shaft. - // count - // offset 538 - uint8_t vssToothCount; - // Override the Y axis (load) value used for only the Idle VE table. - // Advanced users only: If you aren't sure you need this, you probably don't need this. - // offset 539 - ve_override_e idleVeOverrideMode; - // offset 540 - Gpio l9779_cs; - // On-off O2 sensor heater control. 'ON' if engine is running, 'OFF' if stopped or cranking. - // offset 542 - output_pin_e o2heaterPin; - // offset 544 - output_pin_e injectionPins[MAX_CYLINDER_COUNT]; - // offset 568 - output_pin_e injectionPinsStage2[MAX_CYLINDER_COUNT]; - // offset 592 - output_pin_e ignitionPins[MAX_CYLINDER_COUNT]; - // offset 616 - pin_output_mode_e injectionPinMode; - // offset 617 - pin_output_mode_e ignitionPinMode; - // offset 618 - output_pin_e fuelPumpPin; - // offset 620 - pin_output_mode_e fuelPumpPinMode; - // Throttle pedal, secondary channel. - // offset 621 - adc_channel_e throttlePedalPositionSecondAdcChannel; - // Check engine light, also malfunction indicator light. Always blinks once on boot. - // offset 622 - output_pin_e malfunctionIndicatorPin; - // offset 624 - pin_output_mode_e malfunctionIndicatorPinMode; - // offset 625 - pin_output_mode_e fanPinMode; - // offset 626 - output_pin_e fanPin; - // Some cars have a switch to indicate that clutch pedal is all the way down - // offset 628 - switch_input_pin_e clutchDownPin; - // offset 630 - output_pin_e alternatorControlPin; - // offset 632 - pin_output_mode_e alternatorControlPinMode; - // offset 633 - pin_input_mode_e clutchDownPinMode; - // offset 634 - pin_output_mode_e electronicThrottlePin1Mode; - // offset 635 - spi_device_e max31855spiDevice; - // offset 636 - Gpio debugTriggerSync; - // offset 638 - Gpio mc33972_cs; - // offset 640 - pin_output_mode_e mc33972_csPinMode; - // Useful in Research&Development phase - // offset 641 - adc_channel_e auxFastSensor1_adcChannel; - // First throttle body, second sensor. - // offset 642 - adc_channel_e tps1_2AdcChannel; - // Second throttle body, second sensor. - // offset 643 - adc_channel_e tps2_2AdcChannel; - // % - // offset 644 - uint8_t fuelLevelValues[FUEL_LEVEL_TABLE_COUNT]; - // 0.1 is a good default value - // x - // offset 652 - float idle_antiwindupFreq; - // offset 656 - brain_input_pin_e triggerInputPins[TRIGGER_INPUT_PIN_COUNT]; - // Minimum allowed time for the boost phase. If the boost target current is reached before this time elapses, it is assumed that the injector has failed short circuit. - // us - // offset 660 - uint16_t mc33_t_min_boost; - // offset 662 - output_pin_e tachOutputPin; - // offset 664 - pin_output_mode_e tachOutputPinMode; - // offset 665 - adc_channel_e maf2AdcChannel; - // offset 666 - output_pin_e mainRelayPin; - // offset 668 - Gpio sdCardCsPin; - // set_can_tx_pin X - // offset 670 - Gpio canTxPin; - // set_can_rx_pin X - // offset 672 - Gpio canRxPin; - // offset 674 - pin_input_mode_e throttlePedalUpPinMode; - // Additional idle % while A/C is active - // % - // offset 675 - uint8_t acIdleExtraOffset; - // Ratio between the wheels and your transmission output. - // ratio - // offset 676 - scaled_channel finalGearRatio; - // offset 678 - brain_input_pin_e tcuInputSpeedSensorPin; - // offset 680 - uint8_t tcuInputSpeedSensorTeeth; - // offset 681 - pin_output_mode_e mainRelayPinMode; - // Voltage when the wastegate is closed. - // You probably don't have one of these! - // mv - // offset 682 - uint16_t wastegatePositionMin; - // Voltage when the wastegate is fully open. - // You probably don't have one of these! - // 1 volt = 1000 units - // mv - // offset 684 - uint16_t wastegatePositionMax; - // Some Subaru and some Mazda use double-solenoid idle air valve - // offset 686 - output_pin_e secondSolenoidPin; - // Secondary TTL channel baud rate - // BPs - // offset 688 - uint32_t tunerStudioSerialSpeed; - // Just for reference really, not taken into account by any logic at this point - // CR - // offset 692 - float compressionRatio; - // Generate a synthetic trigger signal for an external ECU - // offset 696 - Gpio triggerSimulatorPins[TRIGGER_SIMULATOR_PIN_COUNT]; - // g/s - // offset 700 - scaled_channel fordInjectorSmallPulseSlope; - // RPM - // offset 702 - scaled_channel lambdaProtectionMinRpm; - // % - // offset 703 - scaled_channel lambdaProtectionMinLoad; - // offset 704 bit 0 - bool is_enabled_spi_1 : 1 {}; - // offset 704 bit 1 - bool is_enabled_spi_2 : 1 {}; - // offset 704 bit 2 - bool is_enabled_spi_3 : 1 {}; - // enable sd/disable sd - // offset 704 bit 3 - bool isSdCardEnabled : 1 {}; - // Use 11 bit (standard) or 29 bit (extended) IDs for FOME verbose CAN format. - // offset 704 bit 4 - bool rusefiVerbose29b : 1 {}; - // offset 704 bit 5 - bool unused644b5 : 1 {}; - // This setting should only be used if you have a stepper motor idle valve and a stepper motor driver installed. - // offset 704 bit 6 - bool useStepperIdle : 1 {}; - // offset 704 bit 7 - bool enabledStep1Limiter : 1 {}; - // offset 704 bit 8 - bool verboseTLE8888 : 1 {}; - // CAN broadcast using custom FOME protocol - // enable can_broadcast/disable can_broadcast - // offset 704 bit 9 - bool enableVerboseCanTx : 1 {}; - // offset 704 bit 10 - bool etb1configured : 1 {}; - // offset 704 bit 11 - bool etb2configured : 1 {}; - // Useful for individual intakes - // offset 704 bit 12 - bool measureMapOnlyInOneCylinder : 1 {}; - // offset 704 bit 13 - bool stepperForceParkingEveryRestart : 1 {}; - // If enabled, try to fire the engine before a full engine cycle has been completed using RPM estimated from the last 90 degrees of engine rotation. As soon as the trigger syncs plus 90 degrees rotation, fuel and ignition events will occur. If disabled, worst case may require up to 4 full crank rotations before any events are scheduled. - // offset 704 bit 14 - bool isFasterEngineSpinUpEnabled : 1 {}; - // This setting disables fuel injection while the engine is in overrun, this is useful as a fuel saving measure and to prevent back firing. - // offset 704 bit 15 - bool coastingFuelCutEnabled : 1 {}; - // Override the IAC position during overrun conditions to help reduce engine breaking, this can be helpful for large engines in light weight cars or engines that have trouble returning to idle. - // offset 704 bit 16 - bool useIacTableForCoasting : 1 {}; - // offset 704 bit 17 - bool useIdleTimingPidControl : 1 {}; - // Allows disabling the ETB when the engine is stopped. You may not like the power draw or PWM noise from the motor, so this lets you turn it off until it's necessary. - // offset 704 bit 18 - bool disableEtbWhenEngineStopped : 1 {}; - // offset 704 bit 19 - bool is_enabled_spi_4 : 1 {}; - // Disable the electronic throttle motor and DC idle motor for testing. - // This mode is for testing ETB/DC idle position sensors, etc without actually driving the throttle. - // offset 704 bit 20 - bool pauseEtbControl : 1 {}; - // offset 704 bit 21 - bool alignEngineSnifferAtTDC : 1 {}; - // AEM X-Series or rusEFI Wideband - // offset 704 bit 22 - bool enableAemXSeries : 1 {}; - // offset 704 bit 23 - bool unusedBit_198_23 : 1 {}; - // offset 704 bit 24 - bool unusedBit_198_24 : 1 {}; - // offset 704 bit 25 - bool unusedBit_198_25 : 1 {}; - // offset 704 bit 26 - bool unusedBit_198_26 : 1 {}; - // offset 704 bit 27 - bool unusedBit_198_27 : 1 {}; - // offset 704 bit 28 - bool unusedBit_198_28 : 1 {}; - // offset 704 bit 29 - bool unusedBit_198_29 : 1 {}; - // offset 704 bit 30 - bool unusedBit_198_30 : 1 {}; - // offset 704 bit 31 - bool unusedBit_198_31 : 1 {}; - // offset 708 - brain_input_pin_e logicAnalyzerPins[LOGIC_ANALYZER_CHANNEL_COUNT]; - // offset 716 - uint32_t verboseCanBaseAddress; - // Boost Voltage - // v - // offset 720 - uint8_t mc33_hvolt; - // Minimum MAP before closed loop boost is enabled. Use to prevent misbehavior upon entering boost. - // kPa - // offset 721 - uint8_t minimumBoostClosedLoopMap; - // Optional Radiator Fan used with A/C - // offset 722 - output_pin_e acFanPin; - // offset 724 - pin_output_mode_e acFanPinMode; - // offset 725 - spi_device_e l9779spiDevice; - // volts - // offset 726 - scaled_channel dwellVoltageCorrVoltBins[DWELL_CURVE_SIZE]; - // multiplier - // offset 734 - scaled_channel dwellVoltageCorrValues[DWELL_CURVE_SIZE]; - // kg - // offset 742 - uint16_t vehicleWeight; - // How far above idle speed do we consider idling? - // For example, if target = 800, this param = 200, then anything below 1000 RPM is considered idle. - // RPM - // offset 744 - int16_t idlePidRpmUpperLimit; - // Apply nonlinearity correction below a pulse of this duration. Pulses longer than this duration will receive no adjustment. - // ms - // offset 746 - scaled_channel applyNonlinearBelowPulse; - // offset 748 - Gpio lps25BaroSensorScl; - // offset 750 - Gpio lps25BaroSensorSda; - // offset 752 - brain_input_pin_e vehicleSpeedSensorInputPin; - // Some vehicles have a switch to indicate that clutch pedal is all the way up - // offset 754 - switch_input_pin_e clutchUpPin; - // offset 756 - InjectorNonlinearMode injectorNonlinearMode; - // offset 757 - pin_input_mode_e clutchUpPinMode; - // offset 758 - Gpio max31855_cs[EGT_CHANNEL_COUNT]; - // Continental/GM flex fuel sensor, 50-150hz type - // offset 774 - brain_input_pin_e flexSensorPin; - // offset 776 - Gpio test557pin; - // offset 778 - pin_output_mode_e stepperDirectionPinMode; - // offset 779 - spi_device_e mc33972spiDevice; - // Stoichiometric ratio for your secondary fuel. This value is used when the Flex Fuel sensor indicates E100, typically 9.0 - // :1 - // offset 780 - scaled_channel stoichRatioSecondary; - // Maximum allowed ETB position. Some throttles go past fully open, so this allows you to limit it to fully open. - // % - // offset 781 - uint8_t etbMaximumPosition; - // Rate the ECU will log to the SD card, in hz (log lines per second). - // hz - // offset 782 - uint16_t sdCardLogFrequency; - // offset 784 - Gpio debugMapAveraging; - // offset 786 - output_pin_e starterRelayDisablePin; - // On some vehicles we can disable starter once engine is already running - // offset 788 - pin_output_mode_e starterRelayDisablePinMode; - // offset 789 - imu_type_e imuType; - // offset 790 - switch_input_pin_e startStopButtonPin; - // This many MAP samples are used to estimate the current MAP. This many samples are considered, and the minimum taken. Recommended value is 1 for single-throttle engines, and your number of cylinders for individual throttle bodies. - // count - // offset 792 - int mapMinBufferLength; - // Below this throttle position, the engine is considered idling. If you have an electronic throttle, this checks accelerator pedal position instead of throttle position, and should be set to 1-2%. - // % - // offset 796 - int16_t idlePidDeactivationTpsThreshold; - // % - // offset 798 - int16_t stepperParkingExtraSteps; - // ADC - // offset 800 - uint16_t tps1SecondaryMin; - // ADC - // offset 802 - uint16_t tps1SecondaryMax; - // rpm - // offset 804 - int16_t antiLagRpmTreshold; - // Maximum time to crank starter when start/stop button is pressed - // Seconds - // offset 806 - uint16_t startCrankingDuration; - // % - // offset 808 - uint8_t lambdaProtectionMinTps; - // Only respond once lambda is out of range for this period of time. Use to avoid transients triggering lambda protection when not needed - // s - // offset 809 - scaled_channel lambdaProtectionTimeout; - // RPM - // offset 810 - scaled_channel lambdaProtectionRestoreRpm; - // offset 811 - pin_output_mode_e acRelayPinMode; - // offset 812 - output_pin_e acRelayPin; - // offset 814 - uint8_t unused754; - // offset 815 - spi_device_e drv8860spiDevice; - // offset 816 - script_setting_t scriptSetting[SCRIPT_SETTING_COUNT]; - // offset 848 - Gpio spi1mosiPin; - // offset 850 - Gpio spi1misoPin; - // offset 852 - Gpio spi1sckPin; - // offset 854 - Gpio spi2mosiPin; - // offset 856 - Gpio spi2misoPin; - // offset 858 - Gpio spi2sckPin; - // offset 860 - Gpio spi3mosiPin; - // offset 862 - Gpio spi3misoPin; - // offset 864 - Gpio spi3sckPin; - // offset 866 - uart_device_e consoleUartDevice; - // rusEFI console Sensor Sniffer mode - // offset 867 - sensor_chart_e sensorChartMode; - // offset 868 bit 0 - bool clutchUpPinInverted : 1 {}; - // offset 868 bit 1 - bool clutchDownPinInverted : 1 {}; - // If enabled we use two H-bridges to drive stepper idle air valve - // offset 868 bit 2 - bool useHbridgesToDriveIdleStepper : 1 {}; - // offset 868 bit 3 - bool multisparkEnable : 1 {}; - // offset 868 bit 4 - bool enableLaunchRetard : 1 {}; - // Read VSS from OEM CAN bus according to selected CAN vehicle configuration. - // offset 868 bit 5 - bool enableCanVss : 1 {}; - // offset 868 bit 6 - bool enableInnovateLC2 : 1 {}; - // offset 868 bit 7 - bool unused808b7 : 1 {}; - // If enabled, adjust at a constant rate instead of a rate proportional to the current lambda error. This mode may be easier to tune, and more tolerant of sensor noise. - // offset 868 bit 8 - bool stftIgnoreErrorMagnitude : 1 {}; - // offset 868 bit 9 - bool enableSoftwareKnock : 1 {}; - // Verbose info in console below engineSnifferRpmThreshold - // enable vvt_details - // offset 868 bit 10 - bool verboseVVTDecoding : 1 {}; - // get invertCamVVTSignal - // offset 868 bit 11 - bool invertCamVVTSignal : 1 {}; - // In Alpha-N mode, compensate for air temperature. - // offset 868 bit 12 - bool alphaNUseIat : 1 {}; - // offset 868 bit 13 - bool knockBankCyl1 : 1 {}; - // offset 868 bit 14 - bool knockBankCyl2 : 1 {}; - // offset 868 bit 15 - bool knockBankCyl3 : 1 {}; - // offset 868 bit 16 - bool knockBankCyl4 : 1 {}; - // offset 868 bit 17 - bool knockBankCyl5 : 1 {}; - // offset 868 bit 18 - bool knockBankCyl6 : 1 {}; - // offset 868 bit 19 - bool knockBankCyl7 : 1 {}; - // offset 868 bit 20 - bool knockBankCyl8 : 1 {}; - // offset 868 bit 21 - bool knockBankCyl9 : 1 {}; - // offset 868 bit 22 - bool knockBankCyl10 : 1 {}; - // offset 868 bit 23 - bool knockBankCyl11 : 1 {}; - // offset 868 bit 24 - bool knockBankCyl12 : 1 {}; - // offset 868 bit 25 - bool tcuEnabled : 1 {}; - // offset 868 bit 26 - bool canBroadcastUseChannelTwo : 1 {}; - // If enabled we use four Push-Pull outputs to directly drive stepper idle air valve coilss - // offset 868 bit 27 - bool useRawOutputToDriveIdleStepper : 1 {}; - // Print incoming and outgoing second bus CAN messages in FOME console - // offset 868 bit 28 - bool verboseCan2 : 1 {}; - // offset 868 bit 29 - bool unusedBit_293_29 : 1 {}; - // offset 868 bit 30 - bool unusedBit_293_30 : 1 {}; - // offset 868 bit 31 - bool unusedBit_293_31 : 1 {}; - // offset 872 - dc_io etbIo[ETB_COUNT]; - // Wastegate control Solenoid - // offset 888 - output_pin_e boostControlPin; - // offset 890 - pin_output_mode_e boostControlPinMode; - // offset 891 - boostType_e boostType; - // offset 892 - switch_input_pin_e ALSActivatePin; - // offset 894 - switch_input_pin_e launchActivatePin; - // offset 896 - pid_s boostPid; - // Hz - // offset 916 - int boostPwmFrequency; - // offset 920 - launchActivationMode_e launchActivationMode; - // offset 921 - antiLagActivationMode_e antiLagActivationMode; - // offset 922 - Gpio mc33816_flag0; - // Disabled above this speed - // Kph - // offset 924 - int launchSpeedThreshold; - // Range from Launch RPM for Timing Retard to activate - // RPM - // offset 928 - int launchTimingRpmRange; - // Extra Fuel Added - // % - // offset 932 - int launchFuelAdded; - // Duty Cycle for the Boost Solenoid - // % - // offset 936 - int launchBoostDuty; - // Range from Launch RPM to activate Hard Cut - // RPM - // offset 940 - int hardCutRpmRange; - // offset 944 - float turbochargerFilter; - // offset 948 - int launchTpsThreshold; - // offset 952 - float launchActivateDelay; - // offset 956 - stft_s stft; - // offset 980 - dc_io stepperDcIo[DC_PER_STEPPER]; - // For example, BMW, GM or Chevrolet - // offset 996 - vehicle_info_t engineMake; - // For example, LS1 or NB2 - // offset 1028 - vehicle_info_t engineCode; - // For example, Hunchback or Orange Miata - // Vehicle name has to be unique between your vehicles. - // offset 1060 - vehicle_info_t vehicleName; - // offset 1092 - output_pin_e tcu_solenoid[TCU_SOLENOID_COUNT]; - // offset 1104 - dc_function_e etbFunctions[ETB_COUNT]; - // offset 1106 - Gpio drv8860_cs; - // offset 1108 - pin_output_mode_e drv8860_csPinMode; - // offset 1109 - idle_mode_e idleMode; - // offset 1110 - Gpio drv8860_miso; - // volt - // offset 1112 - scaled_channel fuelLevelBins[FUEL_LEVEL_TABLE_COUNT]; - // offset 1128 - output_pin_e luaOutputPins[LUA_PWM_COUNT]; - // Angle between cam sensor and VVT zero position - // value - // offset 1144 - scaled_channel vvtOffsets[CAM_INPUTS_COUNT]; - // offset 1152 - vr_threshold_s vrThreshold[VR_THRESHOLD_COUNT]; - // offset 1184 - gppwm_note_t gpPwmNote[GPPWM_CHANNELS]; - // ADC - // offset 1248 - uint16_t tps2SecondaryMin; - // ADC - // offset 1250 - uint16_t tps2SecondaryMax; - // Select which bus the wideband controller is attached to. - // offset 1252 bit 0 - bool widebandOnSecondBus : 1 {}; - // Enables lambda sensor closed loop feedback for fuelling. - // offset 1252 bit 1 - bool fuelClosedLoopCorrectionEnabled : 1 {}; - // offset 1252 bit 2 - bool unused1192b2 : 1 {}; - // offset 1252 bit 3 - bool boardUseTachPullUp : 1 {}; - // offset 1252 bit 4 - bool boardUseTempPullUp : 1 {}; - // offset 1252 bit 5 - bool yesUnderstandLocking : 1 {}; - // Sometimes we have a performance issue while printing error - // offset 1252 bit 6 - bool silentTriggerError : 1 {}; - // offset 1252 bit 7 - bool useLinearCltSensor : 1 {}; - // enable can_read/disable can_read - // offset 1252 bit 8 - bool canReadEnabled : 1 {}; - // enable can_write/disable can_write - // offset 1252 bit 9 - bool canWriteEnabled : 1 {}; - // offset 1252 bit 10 - bool useLinearIatSensor : 1 {}; - // offset 1252 bit 11 - bool boardUse2stepPullDown : 1 {}; - // Treat milliseconds value as duty cycle value, i.e. 0.5ms would become 50% - // offset 1252 bit 12 - bool tachPulseDurationAsDutyCycle : 1 {}; - // This enables smart alternator control and activates the extra alternator settings. - // offset 1252 bit 13 - bool isAlternatorControlEnabled : 1 {}; - // Invert the signal from the primary trigger sensor. - // offset 1252 bit 14 - bool invertPrimaryTriggerSignal : 1 {}; - // Invert the signal from the secondary trigger sensor. - // offset 1252 bit 15 - bool invertSecondaryTriggerSignal : 1 {}; - // offset 1252 bit 16 - bool cutFuelOnHardLimit : 1 {}; - // Be careful enabling this: some engines are known to self-disassemble their valvetrain with a spark cut. Fuel cut is much safer. - // offset 1252 bit 17 - bool cutSparkOnHardLimit : 1 {}; - // offset 1252 bit 18 - bool launchFuelCutEnable : 1 {}; - // This is the Cut Mode normally used - // offset 1252 bit 19 - bool launchSparkCutEnable : 1 {}; - // offset 1252 bit 20 - bool boardUseCrankPullUp : 1 {}; - // offset 1252 bit 21 - bool boardUseCamPullDown : 1 {}; - // offset 1252 bit 22 - bool boardUseCamVrPullUp : 1 {}; - // offset 1252 bit 23 - bool boardUseD2PullDown : 1 {}; - // offset 1252 bit 24 - bool boardUseD3PullDown : 1 {}; - // offset 1252 bit 25 - bool boardUseD4PullDown : 1 {}; - // offset 1252 bit 26 - bool boardUseD5PullDown : 1 {}; - // offset 1252 bit 27 - bool verboseIsoTp : 1 {}; - // offset 1252 bit 28 - bool engineSnifferFocusOnInputs : 1 {}; - // offset 1252 bit 29 - bool launchActivateInverted : 1 {}; - // offset 1252 bit 30 - bool twoStroke : 1 {}; - // Where is your primary skipped wheel located? - // offset 1252 bit 31 - bool skippedWheelOnCam : 1 {}; - // A/C button input - // offset 1256 - switch_input_pin_e acSwitch; - // offset 1258 - adc_channel_e vRefAdcChannel; - // Expected neutral position - // % - // offset 1259 - uint8_t etbNeutralPosition; - // offset 1260 bit 0 - bool isInjectionEnabled : 1 {}; - // offset 1260 bit 1 - bool isIgnitionEnabled : 1 {}; - // When enabled if TPS is held above 95% no fuel is injected while cranking to clear excess fuel from the cylinders. - // offset 1260 bit 2 - bool isCylinderCleanupEnabled : 1 {}; - // Should we use tables to vary tau/beta based on CLT/MAP, or just with fixed values? - // offset 1260 bit 3 - bool complexWallModel : 1 {}; - // offset 1260 bit 4 - bool alwaysInstantRpm : 1 {}; - // offset 1260 bit 5 - bool isMapAveragingEnabled : 1 {}; - // If enabled, use separate temperature multiplier table for cranking idle position. - // If disabled, use normal running multiplier table applied to the cranking base position. - // offset 1260 bit 6 - bool overrideCrankingIacSetting : 1 {}; - // This activates a separate ignition timing table for idle conditions, this can help idle stability by using ignition retard and advance either side of the desired idle speed. Extra retard at low idle speeds will prevent stalling and extra advance at high idle speeds can help reduce engine power and slow the idle speed. - // offset 1260 bit 7 - bool useSeparateAdvanceForIdle : 1 {}; - // offset 1260 bit 8 - bool isWaveAnalyzerEnabled : 1 {}; - // This activates a separate fuel table for Idle, this allows fine tuning of the idle fuelling. - // offset 1260 bit 9 - bool useSeparateVeForIdle : 1 {}; - // Verbose info in console below engineSnifferRpmThreshold - // enable trigger_details - // offset 1260 bit 10 - bool verboseTriggerSynchDetails : 1 {}; - // Usually if we have no trigger events that means engine is stopped - // Unless we are troubleshooting and spinning the engine by hand - this case a longer - // delay is needed - // offset 1260 bit 11 - bool isManualSpinningMode : 1 {}; - // offset 1260 bit 12 - bool unused1200b12 : 1 {}; - // offset 1260 bit 13 - bool neverInstantRpm : 1 {}; - // offset 1260 bit 14 - bool unused1200b14 : 1 {}; - // offset 1260 bit 15 - bool useFixedBaroCorrFromMap : 1 {}; - // In Constant mode, timing is automatically tapered to running as RPM increases. - // In Table mode, the "Cranking ignition advance" table is used directly. - // offset 1260 bit 16 - bool useSeparateAdvanceForCranking : 1 {}; - // This enables the various ignition corrections during cranking (IAT, CLT, FSIO and PID idle). - // You probably don't need this. - // offset 1260 bit 17 - bool useAdvanceCorrectionsForCranking : 1 {}; - // Enable a second cranking table to use for E100 flex fuel, interpolating between the two based on flex fuel sensor. - // offset 1260 bit 18 - bool flexCranking : 1 {}; - // This flag allows to use a special 'PID Multiplier' table (0.0-1.0) to compensate for nonlinear nature of IAC-RPM controller - // offset 1260 bit 19 - bool useIacPidMultTable : 1 {}; - // offset 1260 bit 20 - bool isBoostControlEnabled : 1 {}; - // Interpolates the Ignition Retard from 0 to 100% within the RPM Range - // offset 1260 bit 21 - bool launchSmoothRetard : 1 {}; - // Some engines are OK running semi-random sequential while other engine require phase synchronization - // offset 1260 bit 22 - bool isPhaseSyncRequiredForIgnition : 1 {}; - // If enabled, use a curve for RPM limit (based on coolant temperature) instead of a constant value. - // offset 1260 bit 23 - bool useCltBasedRpmLimit : 1 {}; - // If enabled, don't wait for engine start to heat O2 sensors. WARNING: this will reduce the life of your sensor, as condensation in the exhaust from a cold start can crack the sensing element. - // offset 1260 bit 24 - bool forceO2Heating : 1 {}; - // If increased VVT duty cycle increases the indicated VVT angle, set this to 'advance'. If it decreases, set this to 'retard'. Most intake cams use 'advance', and most exhaust cams use 'retard'. - // offset 1260 bit 25 - bool invertVvtControlIntake : 1 {}; - // If increased VVT duty cycle increases the indicated VVT angle, set this to 'advance'. If it decreases, set this to 'retard'. Most intake cams use 'advance', and most exhaust cams use 'retard'. - // offset 1260 bit 26 - bool invertVvtControlExhaust : 1 {}; - // offset 1260 bit 27 - bool useBiQuadOnAuxSpeedSensors : 1 {}; - // 'Trigger' mode will write a high speed log of trigger events (warning: uses lots of space!). 'Normal' mode will write a standard MLG of sensors, engine function, etc. similar to the one captured in TunerStudio. - // offset 1260 bit 28 - bool sdTriggerLog : 1 {}; - // offset 1260 bit 29 - bool ALSActivateInverted : 1 {}; - // offset 1260 bit 30 - bool unusedBit_398_30 : 1 {}; - // offset 1260 bit 31 - bool unusedBit_398_31 : 1 {}; - // count - // offset 1264 - uint32_t engineChartSize; - // mult - // offset 1268 - float turboSpeedSensorMultiplier; - // offset 1272 - Gpio camInputsDebug[CAM_INPUTS_COUNT]; - // Extra idle target speed when A/C is enabled. Some cars need the extra speed to keep the AC efficient while idling. - // RPM - // offset 1280 - int16_t acIdleRpmBump; - // seconds - // offset 1282 - int16_t warningPeriod; - // angle - // offset 1284 - float knockDetectionWindowStart; - // angle - // offset 1288 - float knockDetectionWindowEnd; - // ms - // offset 1292 - float idleStepperReactionTime; - // count - // offset 1296 - int idleStepperTotalSteps; - // TODO: finish this #413 - // sec - // offset 1300 - float noAccelAfterHardLimitPeriodSecs; - // At what trigger index should some MAP-related math be executed? This is a performance trick to reduce load on synchronization trigger callback. - // index - // offset 1304 - int mapAveragingSchedulingAtIndex; - // Duration in ms or duty cycle depending on selected mode - // offset 1308 - float tachPulseDuractionMs; - // Length of time the deposited wall fuel takes to dissipate after the start of acceleration. - // Seconds - // offset 1312 - float wwaeTau; - // offset 1316 - pid_s alternatorControl; - // offset 1336 - pid_s etb; - // offset 1356 - Gpio triggerInputDebugPins[TRIGGER_INPUT_PIN_COUNT]; - // RPM range above upper limit for extra air taper - // RPM - // offset 1360 - int16_t airTaperRpmRange; - // offset 1362 - brain_input_pin_e turboSpeedSensorInputPin; - // ADC - // offset 1364 - int16_t tps2Min; - // ADC - // offset 1366 - int16_t tps2Max; - // offset 1368 - output_pin_e starterControlPin; - // offset 1370 - pin_input_mode_e startStopButtonMode; - // Pulse - // offset 1371 - uint8_t tachPulsePerRev; - // kPa value which is too low to be true - // kPa - // offset 1372 - float mapErrorDetectionTooLow; - // kPa value which is too high to be true - // kPa - // offset 1376 - float mapErrorDetectionTooHigh; - // How long to wait for the spark to fire before recharging the coil for another spark. - // ms - // offset 1380 - scaled_channel multisparkSparkDuration; - // This sets the dwell time for subsequent sparks. The main spark's dwell is set by the dwell table. - // ms - // offset 1382 - scaled_channel multisparkDwell; - // offset 1384 - pid_s idleRpmPid; - // 0 = No fuel settling on port walls 1 = All the fuel settling on port walls setting this to 0 disables the wall wetting enrichment. - // Fraction - // offset 1404 - float wwaeBeta; - // offset 1408 - Gpio auxValves[AUX_DIGITAL_VALVE_COUNT]; - // offset 1412 - switch_input_pin_e tcuUpshiftButtonPin; - // offset 1414 - switch_input_pin_e tcuDownshiftButtonPin; - // voltage - // offset 1416 - float throttlePedalUpVoltage; - // Pedal in the floor - // voltage - // offset 1420 - float throttlePedalWOTVoltage; - // on IGN voltage detection turn fuel pump on to build fuel pressure - // seconds - // offset 1424 - int16_t startUpFuelPumpDuration; - // If the RPM closer to target than this value, disable closed loop idle correction to prevent oscillation - // RPM - // offset 1426 - int16_t idlePidRpmDeadZone; - // This is the target battery voltage the alternator PID control will attempt to maintain - // Volts - // offset 1428 - float targetVBatt; - // offset 1432 - uint32_t unused1372; - // This is the duration in cycles that the IAC will take to reach its normal idle position, it can be used to hold the idle higher for a few seconds after cranking to improve startup. - // cycles - // offset 1436 - int16_t afterCrankingIACtaperDuration; - // Extra IAC, in percent between 0 and 100, tapered between zero and idle deactivation TPS value - // percent - // offset 1438 - int16_t iacByTpsTaper; - // Auxiliary sensor serial, not to be confused with secondary calibration serial - // offset 1440 - Gpio auxSerialTxPin; - // Auxiliary sensor serial, not to be confused with secondary calibration serial - // offset 1442 - Gpio auxSerialRxPin; - // offset 1444 - Gpio LIS302DLCsPin; - // How long to look back for TPS-based acceleration enrichment. Increasing this time will trigger enrichment for longer when a throttle position change occurs. - // sec - // offset 1446 - scaled_channel tpsAccelLookback; - // Below this speed, disable DFCO. Use this to prevent jerkiness from fuel enable/disable in low gears. - // kph - // offset 1447 - uint8_t coastingFuelCutVssLow; - // Above this speed, allow DFCO. Use this to prevent jerkiness from fuel enable/disable in low gears. - // kph - // offset 1448 - uint8_t coastingFuelCutVssHigh; - // Pause closed loop fueling after deceleration fuel cut occurs. Set this to a little longer than however long is required for normal fueling behavior to resume after fuel cut. - // sec - // offset 1449 - scaled_channel noFuelTrimAfterDfcoTime; - // Duration of each test pulse - // ms - // offset 1450 - scaled_channel ignTestOnTime; - // offset 1451 - uint8_t alignmentFill_at_1451[1]; - // Maximum change delta of TPS percentage over the 'length'. Actual TPS change has to be above this value in order for TPS/TPS acceleration to kick in. - // roc - // offset 1452 - float tpsAccelEnrichmentThreshold; - // offset 1456 - brain_input_pin_e auxSpeedSensorInputPin[2]; - // offset 1460 - uint8_t totalGearsCount; - // Sets what part of injection's is controlled by the injection phase table. - // offset 1461 - InjectionTimingMode injectionTimingMode; - // See https://wiki.fome.tech/r/debugmode - // offset 1462 - debug_mode_e debugMode; - // Additional idle % when fan #1 is active - // % - // offset 1463 - uint8_t fan1ExtraIdle; - // Band rate for primary TTL - // BPs - // offset 1464 - uint32_t uartConsoleSerialSpeed; - // For decel we simply multiply delta of TPS and tFor decel we do not use table?! - // roc - // offset 1468 - float tpsDecelEnleanmentThreshold; - // Magic multiplier, we multiply delta of TPS and get fuel squirt duration - // coeff - // offset 1472 - float tpsDecelEnleanmentMultiplier; - // BPs - // offset 1476 - uint32_t auxSerialSpeed; - // voltage - // offset 1480 - float throttlePedalSecondaryUpVoltage; - // Pedal in the floor - // voltage - // offset 1484 - float throttlePedalSecondaryWOTVoltage; - // set can_baudrate - // offset 1488 - can_baudrate_e canBaudRate; - // Override the Y axis (load) value used for the VE table. - // Advanced users only: If you aren't sure you need this, you probably don't need this. - // offset 1489 - ve_override_e veOverrideMode; - // offset 1490 - can_baudrate_e can2BaudRate; - // Override the Y axis (load) value used for the AFR table. - // Advanced users only: If you aren't sure you need this, you probably don't need this. - // offset 1491 - load_override_e afrOverrideMode; - // A - // offset 1492 - scaled_channel mc33_hpfp_i_peak; - // A - // offset 1493 - scaled_channel mc33_hpfp_i_hold; - // How long to deactivate power when hold current is reached before applying power again - // us - // offset 1494 - uint8_t mc33_hpfp_i_hold_off; - // Maximum amount of time the solenoid can be active before assuming a programming error - // ms - // offset 1495 - uint8_t mc33_hpfp_max_hold; - // Enable if DC-motor driver (H-bridge) inverts the signals (eg. RZ7899 on Hellen boards) - // offset 1496 bit 0 - bool stepperDcInvertedPins : 1 {}; - // Allow OpenBLT on Primary CAN - // offset 1496 bit 1 - bool canOpenBLT : 1 {}; - // Allow OpenBLT on Secondary CAN - // offset 1496 bit 2 - bool can2OpenBLT : 1 {}; - // Select whether to configure injector flow in volumetric flow (defualt, cc/min) or mass flow (g/s). - // offset 1496 bit 3 - bool injectorFlowAsMassFlow : 1 {}; - // offset 1496 bit 4 - bool unusedBit_473_4 : 1 {}; - // offset 1496 bit 5 - bool unusedBit_473_5 : 1 {}; - // offset 1496 bit 6 - bool unusedBit_473_6 : 1 {}; - // offset 1496 bit 7 - bool unusedBit_473_7 : 1 {}; - // offset 1496 bit 8 - bool unusedBit_473_8 : 1 {}; - // offset 1496 bit 9 - bool unusedBit_473_9 : 1 {}; - // offset 1496 bit 10 - bool unusedBit_473_10 : 1 {}; - // offset 1496 bit 11 - bool unusedBit_473_11 : 1 {}; - // offset 1496 bit 12 - bool unusedBit_473_12 : 1 {}; - // offset 1496 bit 13 - bool unusedBit_473_13 : 1 {}; - // offset 1496 bit 14 - bool unusedBit_473_14 : 1 {}; - // offset 1496 bit 15 - bool unusedBit_473_15 : 1 {}; - // offset 1496 bit 16 - bool unusedBit_473_16 : 1 {}; - // offset 1496 bit 17 - bool unusedBit_473_17 : 1 {}; - // offset 1496 bit 18 - bool unusedBit_473_18 : 1 {}; - // offset 1496 bit 19 - bool unusedBit_473_19 : 1 {}; - // offset 1496 bit 20 - bool unusedBit_473_20 : 1 {}; - // offset 1496 bit 21 - bool unusedBit_473_21 : 1 {}; - // offset 1496 bit 22 - bool unusedBit_473_22 : 1 {}; - // offset 1496 bit 23 - bool unusedBit_473_23 : 1 {}; - // offset 1496 bit 24 - bool unusedBit_473_24 : 1 {}; - // offset 1496 bit 25 - bool unusedBit_473_25 : 1 {}; - // offset 1496 bit 26 - bool unusedBit_473_26 : 1 {}; - // offset 1496 bit 27 - bool unusedBit_473_27 : 1 {}; - // offset 1496 bit 28 - bool unusedBit_473_28 : 1 {}; - // offset 1496 bit 29 - bool unusedBit_473_29 : 1 {}; - // offset 1496 bit 30 - bool unusedBit_473_30 : 1 {}; - // offset 1496 bit 31 - bool unusedBit_473_31 : 1 {}; - // Time between bench test pulses - // ms - // offset 1500 - scaled_channel benchTestOffTime; - // % - // offset 1501 - uint8_t lambdaProtectionRestoreTps; - // % - // offset 1502 - scaled_channel lambdaProtectionRestoreLoad; - // offset 1503 - pin_input_mode_e launchActivatePinMode; - // set_can2_tx_pin X - // offset 1504 - Gpio can2TxPin; - // set_can2_rx_pin X - // offset 1506 - Gpio can2RxPin; - // offset 1508 - pin_output_mode_e starterControlPinMode; - // offset 1509 - adc_channel_e wastegatePositionSensor; - // Override the Y axis (load) value used for the ignition table. - // Advanced users only: If you aren't sure you need this, you probably don't need this. - // offset 1510 - load_override_e ignOverrideMode; - // Select which fuel pressure sensor measures the pressure of the fuel at your injectors. - // offset 1511 - injector_pressure_type_e injectorPressureType; - // offset 1512 - output_pin_e hpfpValvePin; - // offset 1514 - pin_output_mode_e hpfpValvePinMode; - // offset 1515 - spi_device_e accelerometerSpiDevice; - // MAP value above which fuel is cut in case of overboost. - // Set to 0 to disable overboost cut. - // kPa (absolute) - // offset 1516 - float boostCutPressure; - // kg/h - // offset 1520 - scaled_channel tchargeBins[16]; - // ratio - // offset 1536 - scaled_channel tchargeValues[16]; - // Fixed timing, useful for TDC testing - // deg - // offset 1552 - float fixedTiming; - // MAP voltage for low point - // v - // offset 1556 - float mapLowValueVoltage; - // MAP voltage for low point - // v - // offset 1560 - float mapHighValueVoltage; - // EGO value correction - // value - // offset 1564 - float egoValueShift; - // VVT output solenoid pin for this cam - // offset 1568 - output_pin_e vvtPins[CAM_INPUTS_COUNT]; - // This is the IAC position during cranking, some engines start better if given more air during cranking to improve cylinder filling. - // percent - // offset 1576 - int crankingIACposition; - // offset 1580 - float tChargeMinRpmMinTps; - // offset 1584 - float tChargeMinRpmMaxTps; - // offset 1588 - float tChargeMaxRpmMinTps; - // offset 1592 - float tChargeMaxRpmMaxTps; - // offset 1596 - pwm_freq_t vvtOutputFrequency; - // Minimim timing advance allowed. No spark on any cylinder will ever fire after this angle BTDC. For example, setting -10 here means no spark ever fires later than 10 deg ATDC. Note that this only concerns the primary spark: any trailing sparks or multispark may violate this constraint. - // deg BTDC - // offset 1598 - int8_t minimumIgnitionTiming; - // Maximum timing advance allowed. No spark on any cylinder will ever fire before this angle BTDC. For example, setting 45 here means no spark ever fires earlier than 45 deg BTDC - // deg BTDC - // offset 1599 - int8_t maximumIgnitionTiming; - // Hz - // offset 1600 - int alternatorPwmFrequency; - // offset 1604 - vvt_mode_e vvtMode[CAMS_PER_BANK]; - // Additional idle % when fan #2 is active - // % - // offset 1606 - uint8_t fan2ExtraIdle; - // Delay to allow fuel pressure to build before firing the priming pulse. - // sec - // offset 1607 - scaled_channel primingDelay; - // offset 1608 - adc_channel_e auxAnalogInputs[LUA_ANALOG_INPUT_COUNT]; - // offset 1616 - output_pin_e trailingCoilPins[MAX_CYLINDER_COUNT]; - // offset 1640 - tle8888_mode_e tle8888mode; - // offset 1641 - pin_output_mode_e LIS302DLCsPinMode; - // None = I have a MAP-referenced fuel pressure regulator - // Fixed rail pressure = I have an atmosphere-referenced fuel pressure regulator (returnless, typically) - // Sensed rail pressure = I have a fuel pressure sensor - // offset 1642 - injector_compensation_mode_e injectorCompensationMode; - // offset 1643 - pin_output_mode_e fan2PinMode; - // This is the pressure at which your injector flow is known. - // For example if your injectors flow 400cc/min at 3.5 bar, enter 350kpa here. - // kPa - // offset 1644 - float fuelReferencePressure; - // Fuel multiplier (enrichment) immediately after engine start - // mult - // offset 1648 - float postCrankingFactor; - // Time over which to taper out after start enrichment - // seconds - // offset 1652 - float postCrankingDurationSec; - // offset 1656 - ThermistorConf auxTempSensor1; - // offset 1688 - ThermistorConf auxTempSensor2; - // Deg - // offset 1720 - int16_t knockSamplingDuration; - // Hz - // offset 1722 - int16_t etbFreq; - // offset 1724 - pid_s etbWastegatePid; - // For micro-stepping, make sure that PWM frequency (etbFreq) is high enough - // offset 1744 - stepper_num_micro_steps_e stepperNumMicroSteps; - // Use to limit the current when the stepper motor is idle, not moving (100% = no limit) - // % - // offset 1745 - uint8_t stepperMinDutyCycle; - // Use to limit the max.current through the stepper motor (100% = no limit) - // % - // offset 1746 - uint8_t stepperMaxDutyCycle; - // offset 1747 - spi_device_e sdCardSpiDevice; - // per-cylinder timing correction - // deg - // offset 1748 - angle_t timing_offset_cylinder[MAX_CYLINDER_COUNT]; - // seconds - // offset 1796 - float idlePidActivationTime; - // offset 1800 - pin_mode_e spi1SckMode; - // Modes count be used for 3v<>5v integration using pull-ups/pull-downs etc. - // offset 1801 - pin_mode_e spi1MosiMode; - // offset 1802 - pin_mode_e spi1MisoMode; - // offset 1803 - pin_mode_e spi2SckMode; - // offset 1804 - pin_mode_e spi2MosiMode; - // offset 1805 - pin_mode_e spi2MisoMode; - // offset 1806 - pin_mode_e spi3SckMode; - // offset 1807 - pin_mode_e spi3MosiMode; - // offset 1808 - pin_mode_e spi3MisoMode; - // offset 1809 - pin_output_mode_e stepperEnablePinMode; - // ResetB - // offset 1810 - Gpio mc33816_rstb; - // offset 1812 - Gpio mc33816_driven; - // Brake pedal switch - // offset 1814 - switch_input_pin_e brakePedalPin; - // offset 1816 - pin_input_mode_e brakePedalPinMode; - // offset 1817 - tChargeMode_e tChargeMode; - // offset 1818 - pin_input_mode_e tcuUpshiftButtonPinMode; - // offset 1819 - pin_input_mode_e tcuDownshiftButtonPinMode; - // VVT output PID - // TODO: rename to vvtPid - // offset 1820 - pid_s auxPid[CAMS_PER_BANK]; - // offset 1860 - float injectorCorrectionPolynomial[8]; - // C - // offset 1892 - int8_t primeBins[8]; - // offset 1900 - linear_sensor_s oilPressure; - // offset 1920 - output_pin_e fan2Pin; - // Cooling fan turn-on temperature threshold, in Celsius - // deg C - // offset 1922 - uint8_t fan2OnTemperature; - // Cooling fan turn-off temperature threshold, in Celsius - // deg C - // offset 1923 - uint8_t fan2OffTemperature; - // offset 1924 - Gpio stepperEnablePin; - // offset 1926 - Gpio tle8888_cs; - // offset 1928 - pin_output_mode_e tle8888_csPinMode; - // offset 1929 - uint8_t alignmentFill_at_1929[1]; - // offset 1930 - can_vss_nbc_e canVssNbcType; - // offset 1932 - Gpio mc33816_cs; - // offset 1934 - uint8_t alignmentFill_at_1934[2]; - // hz - // offset 1936 - float auxFrequencyFilter; - // RPM - // offset 1940 - int16_t vvtControlMinRpm; - // offset 1942 - brain_input_pin_e sentInputPins[SENT_INPUT_COUNT]; - // % - // offset 1944 - int8_t launchFuelAdderPercent; - // Time required to detect a stuck throttle. - // sec - // offset 1945 - scaled_channel etbJamTimeout; - // By the way ETB PID runs at 500hz, length in 1/500 of second here. - // offset 1946 - uint16_t etbExpAverageLength; - // This sets the RPM above which fuel cut is active. - // rpm - // offset 1948 - int16_t coastingFuelCutRpmHigh; - // This sets the RPM below which fuel cut is deactivated, this prevents jerking or issues transitioning to idle - // rpm - // offset 1950 - int16_t coastingFuelCutRpmLow; - // Throttle position below which fuel cut is active. With an electronic throttle enabled, this checks against pedal position. - // % - // offset 1952 - int16_t coastingFuelCutTps; - // Fuel cutoff is disabled when the engine is cold. - // C - // offset 1954 - int16_t coastingFuelCutClt; - // Increases PID reaction for RPM stoichRatioPrimary; - // iTerm max value - // offset 2358 - int16_t idlerpmpid_iTermMax; - // This sets the range of the idle control on the ETB. At 100% idle position, the value specified here sets the base ETB position. - // % - // offset 2360 - float etbIdleThrottleRange; - // Select which fuel correction bank this cylinder belongs to. Group cylinders that share the same O2 sensor - // offset 2364 - uint8_t cylinderBankSelect[MAX_CYLINDER_COUNT]; - // mg - // offset 2376 - scaled_channel primeValues[8]; - // Trigger comparator center point voltage - // V - // offset 2384 - scaled_channel triggerCompCenterVolt; - // Trigger comparator hysteresis voltage (Min) - // V - // offset 2385 - scaled_channel triggerCompHystMin; - // Trigger comparator hysteresis voltage (Max) - // V - // offset 2386 - scaled_channel triggerCompHystMax; - // VR-sensor saturation RPM - // RPM - // offset 2387 - scaled_channel triggerCompSensorSatRpm; - // offset 2388 - gppwm_channel gppwm[GPPWM_CHANNELS]; - // Boost Current - // mA - // offset 2820 - uint16_t mc33_i_boost; - // Peak Current - // mA - // offset 2822 - uint16_t mc33_i_peak; - // Hold Current - // mA - // offset 2824 - uint16_t mc33_i_hold; - // Maximum allowed boost phase time. If the injector current doesn't reach the threshold before this time elapses, it is assumed that the injector is missing or has failed open circuit. - // us - // offset 2826 - uint16_t mc33_t_max_boost; - // us - // offset 2828 - uint16_t mc33_t_peak_off; - // Peak phase duration - // us - // offset 2830 - uint16_t mc33_t_peak_tot; - // us - // offset 2832 - uint16_t mc33_t_bypass; - // us - // offset 2834 - uint16_t mc33_t_hold_off; - // Hold phase duration - // us - // offset 2836 - uint16_t mc33_t_hold_tot; - // offset 2838 - pin_output_mode_e tcu_solenoid_mode[TCU_SOLENOID_COUNT]; - // Knock sensor output knock detection threshold depending on current RPM. - // dB - // offset 2844 - scaled_channel knockBaseNoise[ENGINE_NOISE_CURVE_SIZE]; - // ratio - // offset 2860 - float triggerGapOverrideFrom[GAP_TRACKING_LENGTH]; - // ratio - // offset 2932 - float triggerGapOverrideTo[GAP_TRACKING_LENGTH]; - // Below this RPM, use camshaft information to synchronize the crank's position for full sequential operation. Use this if your cam sensor does weird things at high RPM. Set to 0 to disable, and always use cam to help sync crank. - // rpm - // offset 3004 - scaled_channel maxCamPhaseResolveRpm; - // Delay before cutting fuel. Set to 0 to cut immediately with no delay. May cause rumbles and pops out of your exhaust... - // sec - // offset 3005 - scaled_channel dfcoDelay; - // Delay before engaging the AC compressor. Set to 0 to engage immediately with no delay. Use this to prevent bogging at idle when AC engages. - // sec - // offset 3006 - scaled_channel acDelay; - // offset 3007 - pin_input_mode_e acSwitchMode; - // mg - // offset 3008 - scaled_channel fordInjectorSmallPulseBreakPoint; - // multiplier - // offset 3010 - scaled_channel tpsTspCorrValues[TPS_TPS_ACCEL_CLT_CORR_TABLE]; - // % - // offset 3014 - uint8_t etbJamIntegratorLimit; - // lobes/cam - // offset 3015 - uint8_t hpfpCamLobes; - // offset 3016 - hpfp_cam_e hpfpCam; - // Crank angle ATDC of first lobe peak - // deg - // offset 3017 - uint8_t hpfpPeakPos; - // If the requested activation time is below this angle, don't bother running the pump - // deg - // offset 3018 - uint8_t hpfpMinAngle; - // offset 3019 - vin_number_t vinNumber; - // Size of the pump chamber in cc. Typical Bosch HDP5 has a 9.0mm diameter, typical BMW N* stroke is 4.4mm. - // cc - // offset 3036 - scaled_channel hpfpPumpVolume; - // How long to keep the valve activated (in order to allow the pump to build pressure and keep the valve open on its own) - // deg - // offset 3038 - uint8_t hpfpActivationAngle; - // offset 3039 - uint8_t issFilterReciprocal; - // %/kPa - // offset 3040 - scaled_channel hpfpPidP; - // %/kPa/lobe - // offset 3042 - scaled_channel hpfpPidI; - // The fastest rate the target pressure can be reduced by. This is because HPFP have no way to bleed off pressure other than injecting fuel. - // kPa/s - // offset 3044 - uint16_t hpfpTargetDecay; - // % - // offset 3046 - scaled_channel hpfpLobeProfileQuantityBins[HPFP_LOBE_PROFILE_SIZE]; - // deg - // offset 3062 - scaled_channel hpfpLobeProfileAngle[HPFP_LOBE_PROFILE_SIZE]; - // volts - // offset 3078 - uint8_t hpfpDeadtimeVoltsBins[HPFP_DEADTIME_SIZE]; - // ms - // offset 3086 - scaled_channel hpfpDeadtimeMS[HPFP_DEADTIME_SIZE]; - // kPa - // offset 3102 - uint16_t hpfpTarget[HPFP_TARGET_SIZE][HPFP_TARGET_SIZE]; - // load - // offset 3302 - scaled_channel hpfpTargetLoadBins[HPFP_TARGET_SIZE]; - // RPM - // offset 3322 - scaled_channel hpfpTargetRpmBins[HPFP_TARGET_SIZE]; - // % - // offset 3332 - int8_t hpfpCompensation[HPFP_COMPENSATION_SIZE][HPFP_COMPENSATION_SIZE]; - // cc/lobe - // offset 3432 - scaled_channel hpfpCompensationLoadBins[HPFP_COMPENSATION_SIZE]; - // RPM - // offset 3452 - scaled_channel hpfpCompensationRpmBins[HPFP_COMPENSATION_SIZE]; - // offset 3462 - output_pin_e stepper_raw_output[4]; - // ratio - // offset 3470 - scaled_channel gearRatio[GEARS_COUNT]; - // We need to give engine time to build oil pressure without diverting it to VVT - // ms - // offset 3486 - uint16_t vvtActivationDelayMs; - // deg C - // offset 3488 - int8_t wwCltBins[WWAE_TABLE_SIZE]; - // offset 3496 - scaled_channel wwTauCltValues[WWAE_TABLE_SIZE]; - // offset 3504 - scaled_channel wwBetaCltValues[WWAE_TABLE_SIZE]; - // kPa - // offset 3512 - int8_t wwMapBins[WWAE_TABLE_SIZE]; - // offset 3520 - scaled_channel wwTauMapValues[WWAE_TABLE_SIZE]; - // offset 3528 - scaled_channel wwBetaMapValues[WWAE_TABLE_SIZE]; - // offset 3536 - GearControllerMode gearControllerMode; - // offset 3537 - TransmissionControllerMode transmissionControllerMode; - // deg - // offset 3538 - uint16_t acrDisablePhase; - // offset 3540 - linear_sensor_s auxLinear1; - // offset 3560 - linear_sensor_s auxLinear2; - // offset 3580 - output_pin_e tcu_tcc_onoff_solenoid; - // offset 3582 - pin_output_mode_e tcu_tcc_onoff_solenoid_mode; - // offset 3583 - pin_output_mode_e tcu_tcc_pwm_solenoid_mode; - // offset 3584 - output_pin_e tcu_tcc_pwm_solenoid; - // offset 3586 - pwm_freq_t tcu_tcc_pwm_solenoid_freq; - // offset 3588 - output_pin_e tcu_pc_solenoid_pin; - // offset 3590 - pin_output_mode_e tcu_pc_solenoid_pin_mode; - // offset 3591 - pin_output_mode_e tcu_32_solenoid_pin_mode; - // offset 3592 - pwm_freq_t tcu_pc_solenoid_freq; - // offset 3594 - output_pin_e tcu_32_solenoid_pin; - // offset 3596 - pwm_freq_t tcu_32_solenoid_freq; - // offset 3598 - output_pin_e acrPin2; - // % - // offset 3600 - float etbMinimumPosition; - // offset 3604 - uint16_t tuneHidingKey; - // offset 3606 - SentEtbType sentEtbType; - // offset 3607 - fuel_pressure_sensor_mode_e fuelPressureSensorMode; - // offset 3608 - Gpio luaDigitalInputPins[LUA_DIGITAL_INPUT_COUNT]; - // RPM - // offset 3624 - scaled_channel tpsTspCorrValuesBins[TPS_TPS_ACCEL_CLT_CORR_TABLE]; - // rpm - // offset 3628 - int16_t ALSMinRPM; - // rpm - // offset 3630 - int16_t ALSMaxRPM; - // sec - // offset 3632 - int16_t ALSMaxDuration; - // C - // offset 3634 - int8_t ALSMinCLT; - // C - // offset 3635 - int8_t ALSMaxCLT; - // offset 3636 - uint8_t alsMinTimeBetween; - // offset 3637 - uint8_t alsEtbPosition; - // % - // offset 3638 - uint8_t acRelayAlternatorDutyAdder; - // deg - // offset 3639 - uint8_t instantRpmRange; - // % - // offset 3640 - int ALSIdleAdd; - // % - // offset 3644 - int ALSEtbAdd; - // offset 3648 - int ALSSkipRatio; - // % - // offset 3652 - uint8_t ALSMaxDriverThrottleIntent; - // offset 3653 - pin_input_mode_e ALSActivatePinMode; - // For Ford TPS, use 53%. For Toyota ETCS-i, use ~65% - // % - // offset 3654 - scaled_channel tpsSecondaryMaximum; - // For Toyota ETCS-i, use ~69% - // % - // offset 3655 - scaled_channel ppsSecondaryMaximum; - // offset 3656 - pin_input_mode_e luaDigitalInputPinModes[LUA_DIGITAL_INPUT_COUNT]; - // If the hard limit is 7200rpm and hysteresis is 200rpm, then when the ECU sees 7200rpm, fuel/ign will cut, and stay cut until 7000rpm (7200-200) is reached - // RPM - // offset 3664 - scaled_channel rpmHardLimitHyst; - // How many test bench pulses do you want - // offset 3665 - uint8_t ignTestCount; - // Time between bench test pulses - // ms - // offset 3666 - scaled_channel ignTestOffTime; - // offset 3667 - uint8_t alignmentFill_at_3667[1]; - // Scale the reported vehicle speed value from CAN. Example: Parameter set to 1.1, CAN VSS reports 50kph, ECU will report 55kph instead. - // ratio - // offset 3668 - scaled_channel canVssScaling; - // offset 3670 - uint8_t alignmentFill_at_3670[2]; - // offset 3672 - ThermistorConf oilTempSensor; - // offset 3704 - ThermistorConf fuelTempSensor; - // offset 3736 - ThermistorConf ambientTempSensor; - // offset 3768 - ThermistorConf compressorDischargeTemperature; - // Place the sensor before the throttle, but after any turbocharger/supercharger and intercoolers if fitted. Uses the same calibration as the MAP sensor. - // offset 3800 - adc_channel_e throttleInletPressureChannel; - // Place the sensor after the turbocharger/supercharger, but before any intercoolers if fitted. Uses the same calibration as the MAP sensor. - // offset 3801 - adc_channel_e compressorDischargePressureChannel; - // If injector duty cycle hits this value, instantly cut fuel. - // % - // offset 3802 - uint8_t maxInjectorDutyInstant; - // If injector duty cycle hits this value for the specified delay time, cut fuel. - // % - // offset 3803 - uint8_t maxInjectorDutySustained; - // Timeout period for duty cycle over the sustained limit to trigger duty cycle protection. - // sec - // offset 3804 - scaled_channel maxInjectorDutySustainedTimeout; - // offset 3805 - uint8_t alignmentFill_at_3805[1]; - // offset 3806 - output_pin_e speedometerOutputPin; - // Number of speedometer pulses per kilometer travelled. - // offset 3808 - uint16_t speedometerPulsePerKm; - // units - // offset 3810 - uint8_t mainUnusedEnd[246]; -}; -static_assert(sizeof(engine_configuration_s) == 4056); - -struct cyl_trim_s { - // offset 0 - scaled_channel table[TRIM_SIZE][TRIM_SIZE]; -}; -static_assert(sizeof(cyl_trim_s) == 16); - -struct blend_table_s { - // offset 0 - scaled_channel table[8][8]; - // Load - // offset 128 - uint16_t loadBins[8]; - // RPM - // offset 144 - uint16_t rpmBins[8]; - // offset 160 - gppwm_channel_e blendParameter; - // offset 161 - gppwm_channel_e yAxisOverride; - // offset 162 - scaled_channel blendBins[8]; - // % - // offset 178 - scaled_channel blendValues[8]; - // offset 186 - uint8_t alignmentFill_at_186[2]; -}; -static_assert(sizeof(blend_table_s) == 188); - -struct persistent_config_s { - // offset 0 - engine_configuration_s engineConfiguration; - // target TPS value, 0 to 100% - // TODO: use int8 data date once we template interpolation method - // target TPS position - // offset 4056 - float etbBiasBins[ETB_BIAS_CURVE_LENGTH]; - // PWM bias, 0 to 100% - // ETB duty cycle bias - // offset 4088 - float etbBiasValues[ETB_BIAS_CURVE_LENGTH]; - // % - // offset 4120 - scaled_channel iacPidMultTable[IAC_PID_MULT_SIZE][IAC_PID_MULT_SIZE]; - // Load - // offset 4184 - uint8_t iacPidMultLoadBins[IAC_PID_MULT_SIZE]; - // RPM - // offset 4192 - scaled_channel iacPidMultRpmBins[IAC_PID_MULT_SIZE]; - // On Single Coil or Wasted Spark setups you have to lower dwell at high RPM - // RPM - // offset 4200 - uint16_t sparkDwellRpmBins[DWELL_CURVE_SIZE]; - // ms - // offset 4216 - scaled_channel sparkDwellValues[DWELL_CURVE_SIZE]; - // CLT-based target RPM for automatic idle controller - // C - // offset 4232 - scaled_channel cltIdleRpmBins[CLT_CURVE_SIZE]; - // See idleRpmPid - // RPM - // offset 4248 - scaled_channel cltIdleRpm[CLT_CURVE_SIZE]; - // CLT-based timing correction - // C - // offset 4264 - float cltTimingBins[CLT_TIMING_CURVE_SIZE]; - // degree - // offset 4296 - float cltTimingExtra[CLT_TIMING_CURVE_SIZE]; - // x - // offset 4328 - float scriptCurve1Bins[SCRIPT_CURVE_16]; - // y - // offset 4392 - float scriptCurve1[SCRIPT_CURVE_16]; - // x - // offset 4456 - float scriptCurve2Bins[SCRIPT_CURVE_16]; - // y - // offset 4520 - float scriptCurve2[SCRIPT_CURVE_16]; - // x - // offset 4584 - float scriptCurve3Bins[SCRIPT_CURVE_8]; - // y - // offset 4616 - float scriptCurve3[SCRIPT_CURVE_8]; - // x - // offset 4648 - float scriptCurve4Bins[SCRIPT_CURVE_8]; - // y - // offset 4680 - float scriptCurve4[SCRIPT_CURVE_8]; - // x - // offset 4712 - float scriptCurve5Bins[SCRIPT_CURVE_8]; - // y - // offset 4744 - float scriptCurve5[SCRIPT_CURVE_8]; - // x - // offset 4776 - float scriptCurve6Bins[SCRIPT_CURVE_8]; - // y - // offset 4808 - float scriptCurve6[SCRIPT_CURVE_8]; - // kPa - // offset 4840 - float baroCorrPressureBins[BARO_CORR_SIZE]; - // RPM - // offset 4856 - float baroCorrRpmBins[BARO_CORR_SIZE]; - // ratio - // offset 4872 - float baroCorrTable[BARO_CORR_SIZE][BARO_CORR_SIZE]; - // Cranking fuel correction coefficient based on TPS - // Ratio - // offset 4936 - float crankingTpsCoef[CRANKING_CURVE_SIZE]; - // % - // offset 4968 - float crankingTpsBins[CRANKING_CURVE_SIZE]; - // Optional timing advance table for Cranking (see useSeparateAdvanceForCranking) - // RPM - // offset 5000 - uint16_t crankingAdvanceBins[CRANKING_ADVANCE_CURVE_SIZE]; - // Optional timing advance table for Cranking (see useSeparateAdvanceForCranking) - // deg - // offset 5008 - scaled_channel crankingAdvance[CRANKING_ADVANCE_CURVE_SIZE]; - // RPM-based idle position for coasting - // RPM - // offset 5016 - scaled_channel iacCoastingRpmBins[CLT_CURVE_SIZE]; - // RPM-based idle position for coasting - // % - // offset 5032 - scaled_channel iacCoasting[CLT_CURVE_SIZE]; - // C - // offset 5048 - float afterstartCoolantBins[AFTERSTART_HOLD_CURVE_SIZE]; - // Seconds - // offset 5080 - float afterstartHoldTime[AFTERSTART_HOLD_CURVE_SIZE]; - // % - // offset 5112 - float afterstartEnrich[AFTERSTART_ENRICH_CURVE_SIZE]; - // Seconds - // offset 5144 - float afterstartDecayTime[AFTERSTART_DECAY_CURVE_SIZE]; - // offset 5176 - scaled_channel boostTableOpenLoop[BOOST_RPM_COUNT][BOOST_LOAD_COUNT]; - // RPM - // offset 5240 - scaled_channel boostRpmBins[BOOST_RPM_COUNT]; - // offset 5248 - scaled_channel boostTableClosedLoop[BOOST_RPM_COUNT][BOOST_LOAD_COUNT]; - // % - // offset 5312 - uint8_t boostTpsBins[BOOST_LOAD_COUNT]; - // % - // offset 5320 - uint8_t pedalToTpsTable[PEDAL_TO_TPS_SIZE][PEDAL_TO_TPS_SIZE]; - // % - // offset 5384 - uint8_t pedalToTpsPedalBins[PEDAL_TO_TPS_SIZE]; - // RPM - // offset 5392 - scaled_channel pedalToTpsRpmBins[PEDAL_TO_TPS_SIZE]; - // CLT-based cranking position multiplier for simple manual idle controller - // C - // offset 5400 - float cltCrankingCorrBins[CLT_CRANKING_CURVE_SIZE]; - // CLT-based cranking position multiplier for simple manual idle controller - // % - // offset 5432 - float cltCrankingCorr[CLT_CRANKING_CURVE_SIZE]; - // Optional timing advance table for Idle (see useSeparateAdvanceForIdle) - // RPM - // offset 5464 - scaled_channel idleAdvanceBins[IDLE_ADVANCE_CURVE_SIZE]; - // Optional timing advance table for Idle (see useSeparateAdvanceForIdle) - // deg - // offset 5472 - float idleAdvance[IDLE_ADVANCE_CURVE_SIZE]; - // RPM - // offset 5504 - scaled_channel idleVeRpmBins[IDLE_VE_SIZE]; - // load - // offset 5508 - uint8_t idleVeLoadBins[IDLE_VE_SIZE]; - // % - // offset 5512 - scaled_channel idleVeTable[IDLE_VE_SIZE][IDLE_VE_SIZE]; - // offset 5544 - lua_script_t luaScript; - // C - // offset 13544 - float cltFuelCorrBins[CLT_CURVE_SIZE]; - // ratio - // offset 13608 - float cltFuelCorr[CLT_CURVE_SIZE]; - // C - // offset 13672 - float iatFuelCorrBins[IAT_CURVE_SIZE]; - // ratio - // offset 13736 - float iatFuelCorr[IAT_CURVE_SIZE]; - // ratio - // offset 13800 - float crankingFuelCoef[CRANKING_CURVE_SIZE]; - // C - // offset 13832 - float crankingFuelBins[CRANKING_CURVE_SIZE]; - // ratio - // offset 13864 - float crankingCycleCoef[CRANKING_CURVE_SIZE]; - // counter - // offset 13896 - float crankingCycleBins[CRANKING_CURVE_SIZE]; - // CLT-based idle position multiplier for simple manual idle controller - // C - // offset 13928 - float cltIdleCorrBins[CLT_CURVE_SIZE]; - // CLT-based idle position multiplier for simple manual idle controller - // ratio - // offset 13992 - float cltIdleCorr[CLT_CURVE_SIZE]; - // Also known as MAF transfer function. - // kg/hour value. - // By the way 2.081989116 kg/h = 1 ft3/m - // kg/hour - // offset 14056 - float mafDecoding[MAF_DECODING_COUNT]; - // V - // offset 15080 - float mafDecodingBins[MAF_DECODING_COUNT]; - // deg - // offset 16104 - scaled_channel ignitionIatCorrTable[8][8]; - // C - // offset 16168 - int8_t ignitionIatCorrTempBins[8]; - // Load - // offset 16176 - scaled_channel ignitionIatCorrLoadBins[8]; - // deg - // offset 16184 - int16_t injectionPhase[IGN_RPM_COUNT][IGN_LOAD_COUNT]; - // Load - // offset 16696 - uint16_t injPhaseLoadBins[FUEL_LOAD_COUNT]; - // RPM - // offset 16728 - uint16_t injPhaseRpmBins[FUEL_RPM_COUNT]; - // onoff - // offset 16760 - uint8_t tcuSolenoidTable[TCU_SOLENOID_COUNT][TCU_GEAR_COUNT]; - // kPa - // offset 16820 - scaled_channel mapEstimateTable[FUEL_RPM_COUNT][FUEL_LOAD_COUNT]; - // % TPS - // offset 17332 - scaled_channel mapEstimateTpsBins[FUEL_LOAD_COUNT]; - // RPM - // offset 17364 - uint16_t mapEstimateRpmBins[FUEL_RPM_COUNT]; - // value - // offset 17396 - int8_t vvtTable1[SCRIPT_TABLE_8][SCRIPT_TABLE_8]; - // L - // offset 17460 - uint16_t vvtTable1LoadBins[SCRIPT_TABLE_8]; - // RPM - // offset 17476 - uint16_t vvtTable1RpmBins[SCRIPT_TABLE_8]; - // value - // offset 17492 - int8_t vvtTable2[SCRIPT_TABLE_8][SCRIPT_TABLE_8]; - // L - // offset 17556 - uint16_t vvtTable2LoadBins[SCRIPT_TABLE_8]; - // RPM - // offset 17572 - uint16_t vvtTable2RpmBins[SCRIPT_TABLE_8]; - // deg - // offset 17588 - scaled_channel ignitionTable[IGN_RPM_COUNT][IGN_LOAD_COUNT]; - // Load - // offset 18100 - uint16_t ignitionLoadBins[IGN_LOAD_COUNT]; - // RPM - // offset 18132 - uint16_t ignitionRpmBins[IGN_RPM_COUNT]; - // % - // offset 18164 - scaled_channel veTable[FUEL_RPM_COUNT][FUEL_LOAD_COUNT]; - // kPa - // offset 18676 - uint16_t veLoadBins[FUEL_LOAD_COUNT]; - // RPM - // offset 18708 - uint16_t veRpmBins[FUEL_RPM_COUNT]; - // lambda - // offset 18740 - scaled_channel lambdaTable[FUEL_RPM_COUNT][FUEL_LOAD_COUNT]; - // offset 18996 - uint16_t lambdaLoadBins[FUEL_LOAD_COUNT]; - // RPM - // offset 19028 - uint16_t lambdaRpmBins[FUEL_RPM_COUNT]; - // value - // offset 19060 - float tpsTpsAccelTable[TPS_TPS_ACCEL_TABLE][TPS_TPS_ACCEL_TABLE]; - // from - // offset 19316 - float tpsTpsAccelFromRpmBins[TPS_TPS_ACCEL_TABLE]; - // to - // offset 19348 - float tpsTpsAccelToRpmBins[TPS_TPS_ACCEL_TABLE]; - // value - // offset 19380 - float scriptTable1[SCRIPT_TABLE_8][SCRIPT_TABLE_8]; - // L - // offset 19636 - int16_t scriptTable1LoadBins[SCRIPT_TABLE_8]; - // RPM - // offset 19652 - int16_t scriptTable1RpmBins[SCRIPT_TABLE_8]; - // value - // offset 19668 - uint8_t scriptTable2[SCRIPT_TABLE_8][SCRIPT_TABLE_8]; - // L - // offset 19732 - int16_t scriptTable2LoadBins[SCRIPT_TABLE_8]; - // RPM - // offset 19748 - int16_t scriptTable2RpmBins[SCRIPT_TABLE_8]; - // value - // offset 19764 - uint8_t scriptTable3[SCRIPT_TABLE_8][SCRIPT_TABLE_8]; - // L - // offset 19828 - int16_t scriptTable3LoadBins[SCRIPT_TABLE_8]; - // RPM - // offset 19844 - int16_t scriptTable3RpmBins[SCRIPT_TABLE_8]; - // value - // offset 19860 - uint8_t scriptTable4[SCRIPT_TABLE_8][SCRIPT_TABLE_8]; - // L - // offset 19924 - int16_t scriptTable4LoadBins[SCRIPT_TABLE_8]; - // RPM - // offset 19940 - int16_t scriptTable4RpmBins[SCRIPT_TABLE_8]; - // offset 19956 - uint16_t ignTrimLoadBins[TRIM_SIZE]; - // rpm - // offset 19964 - uint16_t ignTrimRpmBins[TRIM_SIZE]; - // offset 19972 - cyl_trim_s ignTrims[12]; - // offset 20164 - uint16_t fuelTrimLoadBins[TRIM_SIZE]; - // rpm - // offset 20172 - uint16_t fuelTrimRpmBins[TRIM_SIZE]; - // offset 20180 - cyl_trim_s fuelTrims[12]; - // ratio - // offset 20372 - scaled_channel crankingFuelCoefE100[CRANKING_CURVE_SIZE]; - // Airmass - // offset 20388 - scaled_channel tcu_pcAirmassBins[TCU_MAGIC_SIZE]; - // % - // offset 20396 - uint8_t tcu_pcValsR[TCU_MAGIC_SIZE]; - // % - // offset 20404 - uint8_t tcu_pcValsN[TCU_MAGIC_SIZE]; - // % - // offset 20412 - uint8_t tcu_pcVals1[TCU_MAGIC_SIZE]; - // % - // offset 20420 - uint8_t tcu_pcVals2[TCU_MAGIC_SIZE]; - // % - // offset 20428 - uint8_t tcu_pcVals3[TCU_MAGIC_SIZE]; - // % - // offset 20436 - uint8_t tcu_pcVals4[TCU_MAGIC_SIZE]; - // % - // offset 20444 - uint8_t tcu_pcVals12[TCU_MAGIC_SIZE]; - // % - // offset 20452 - uint8_t tcu_pcVals23[TCU_MAGIC_SIZE]; - // % - // offset 20460 - uint8_t tcu_pcVals34[TCU_MAGIC_SIZE]; - // % - // offset 20468 - uint8_t tcu_pcVals21[TCU_MAGIC_SIZE]; - // % - // offset 20476 - uint8_t tcu_pcVals32[TCU_MAGIC_SIZE]; - // % - // offset 20484 - uint8_t tcu_pcVals43[TCU_MAGIC_SIZE]; - // TPS - // offset 20492 - uint8_t tcu_tccTpsBins[8]; - // MPH - // offset 20500 - uint8_t tcu_tccLockSpeed[8]; - // MPH - // offset 20508 - uint8_t tcu_tccUnlockSpeed[8]; - // KPH - // offset 20516 - uint8_t tcu_32SpeedBins[8]; - // % - // offset 20524 - uint8_t tcu_32Vals[8]; - // % - // offset 20532 - scaled_channel throttle2TrimTable[6][6]; - // % - // offset 20568 - uint8_t throttle2TrimTpsBins[6]; - // RPM - // offset 20574 - scaled_channel throttle2TrimRpmBins[6]; - // deg - // offset 20580 - scaled_channel maxKnockRetardTable[6][6]; - // % - // offset 20616 - uint8_t maxKnockRetardLoadBins[6]; - // RPM - // offset 20622 - scaled_channel maxKnockRetardRpmBins[6]; - // deg - // offset 20628 - scaled_channel ALSTimingRetardTable[4][4]; - // TPS - // offset 20660 - uint16_t alsIgnRetardLoadBins[4]; - // RPM - // offset 20668 - uint16_t alsIgnRetardrpmBins[4]; - // percent - // offset 20676 - scaled_channel ALSFuelAdjustment[4][4]; - // TPS - // offset 20708 - uint16_t alsFuelAdjustmentLoadBins[4]; - // RPM - // offset 20716 - uint16_t alsFuelAdjustmentrpmBins[4]; - // offset 20724 - blend_table_s ignBlends[IGN_BLEND_COUNT]; - // offset 21476 - blend_table_s veBlends[VE_BLEND_COUNT]; - // % - // offset 22228 - scaled_channel throttleEstimateEffectiveAreaBins[12]; - // In units of g/s normalized to choked flow conditions - // g/s - // offset 22252 - scaled_channel throttleEstimateEffectiveAreaValues[12]; - // offset 22276 - blend_table_s boostOpenLoopBlends[BOOST_BLEND_COUNT]; - // offset 22652 - blend_table_s boostClosedLoopBlends[BOOST_BLEND_COUNT]; - // lambda - // offset 23028 - scaled_channel lambdaMaxDeviationTable[4][4]; - // offset 23044 - uint16_t lambdaMaxDeviationLoadBins[4]; - // RPM - // offset 23052 - uint16_t lambdaMaxDeviationRpmBins[4]; - // % - // offset 23060 - uint8_t injectorStagingTable[6][6]; - // offset 23096 - uint16_t injectorStagingLoadBins[6]; - // RPM - // offset 23108 - uint16_t injectorStagingRpmBins[6]; -}; -static_assert(sizeof(persistent_config_s) == 23120); - diff --git a/firmware/controllers/generated/readme.md b/firmware/controllers/generated/readme.md deleted file mode 100644 index 0ecf0f9793..0000000000 --- a/firmware/controllers/generated/readme.md +++ /dev/null @@ -1,7 +0,0 @@ -# Generated Code - -All the code here was generated by tools. - -See gen_config.bat -See gen_config2.bat -See java_console\models\src\com\rusefi\config\generated diff --git a/firmware/controllers/generated/rusefi_generated.h b/firmware/controllers/generated/rusefi_generated.h deleted file mode 100644 index 2f918e4f55..0000000000 --- a/firmware/controllers/generated/rusefi_generated.h +++ /dev/null @@ -1,1357 +0,0 @@ -#define adc_channel_e_auto_enum 0="EFI_ADC_NONE",1="EFI_ADC_0",2="EFI_ADC_1",11="EFI_ADC_10",12="EFI_ADC_11",13="EFI_ADC_12",14="EFI_ADC_13",15="EFI_ADC_14",16="EFI_ADC_15",17="EFI_ADC_16",18="EFI_ADC_17",19="EFI_ADC_18",20="EFI_ADC_19",3="EFI_ADC_2",21="EFI_ADC_20",22="EFI_ADC_21",23="EFI_ADC_22",24="EFI_ADC_23",25="EFI_ADC_24",26="EFI_ADC_25",27="EFI_ADC_26",28="EFI_ADC_27",29="EFI_ADC_28",30="EFI_ADC_29",4="EFI_ADC_3",31="EFI_ADC_30",32="EFI_ADC_31",5="EFI_ADC_4",6="EFI_ADC_5",7="EFI_ADC_6",8="EFI_ADC_7",9="EFI_ADC_8",10="EFI_ADC_9",50="EFI_ADC_ERROR",33="EFI_ADC_LAST_CHANNEL" -#define adc_channel_e_EFI_ADC_0 1 -#define adc_channel_e_EFI_ADC_1 2 -#define adc_channel_e_EFI_ADC_10 11 -#define adc_channel_e_EFI_ADC_11 12 -#define adc_channel_e_EFI_ADC_12 13 -#define adc_channel_e_EFI_ADC_13 14 -#define adc_channel_e_EFI_ADC_14 15 -#define adc_channel_e_EFI_ADC_15 16 -#define adc_channel_e_EFI_ADC_16 17 -#define adc_channel_e_EFI_ADC_17 18 -#define adc_channel_e_EFI_ADC_18 19 -#define adc_channel_e_EFI_ADC_19 20 -#define adc_channel_e_EFI_ADC_2 3 -#define adc_channel_e_EFI_ADC_20 21 -#define adc_channel_e_EFI_ADC_21 22 -#define adc_channel_e_EFI_ADC_22 23 -#define adc_channel_e_EFI_ADC_23 24 -#define adc_channel_e_EFI_ADC_24 25 -#define adc_channel_e_EFI_ADC_25 26 -#define adc_channel_e_EFI_ADC_26 27 -#define adc_channel_e_EFI_ADC_27 28 -#define adc_channel_e_EFI_ADC_28 29 -#define adc_channel_e_EFI_ADC_29 30 -#define adc_channel_e_EFI_ADC_3 4 -#define adc_channel_e_EFI_ADC_30 31 -#define adc_channel_e_EFI_ADC_31 32 -#define adc_channel_e_EFI_ADC_4 5 -#define adc_channel_e_EFI_ADC_5 6 -#define adc_channel_e_EFI_ADC_6 7 -#define adc_channel_e_EFI_ADC_7 8 -#define adc_channel_e_EFI_ADC_8 9 -#define adc_channel_e_EFI_ADC_9 10 -#define adc_channel_e_EFI_ADC_ERROR 50 -#define adc_channel_e_EFI_ADC_LAST_CHANNEL 33 -#define adc_channel_e_EFI_ADC_NONE 0 -#define adc_channel_e_enum "Disabled", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5" -#define ADC_CHANNEL_NONE 0 -#define afr_sensor_s_size 12 -#define AFTERSTART_DECAY_CURVE_SIZE 8 -#define AFTERSTART_ENRICH_CURVE_SIZE 8 -#define AFTERSTART_HOLD_CURVE_SIZE 8 -#define air_pressure_sensor_config_s_size 12 -#define air_pressure_sensor_type_e_auto_enum 0="MT_CUSTOM",10="MT_BOSCH_2_5",1="MT_DENSO183",4="MT_DODGE_NEON_2003",13="MT_GM_1_BAR",12="MT_GM_2_BAR",6="MT_GM_3_BAR",3="MT_HONDA3BAR",11="MT_MAZDA_1_BAR",7="MT_MPX4100",2="MT_MPX4250",9="MT_MPX4250A",14="MT_MPXH6400",5="MT_SUBY_DENSO",8="MT_TOYOTA_89420_02010" -#define air_pressure_sensor_type_e_MT_BOSCH_2_5 10 -#define air_pressure_sensor_type_e_MT_CUSTOM 0 -#define air_pressure_sensor_type_e_MT_DENSO183 1 -#define air_pressure_sensor_type_e_MT_DODGE_NEON_2003 4 -#define air_pressure_sensor_type_e_MT_GM_1_BAR 13 -#define air_pressure_sensor_type_e_MT_GM_2_BAR 12 -#define air_pressure_sensor_type_e_MT_GM_3_BAR 6 -#define air_pressure_sensor_type_e_MT_HONDA3BAR 3 -#define air_pressure_sensor_type_e_MT_MAZDA_1_BAR 11 -#define air_pressure_sensor_type_e_MT_MPX4100 7 -#define air_pressure_sensor_type_e_MT_MPX4250 2 -#define air_pressure_sensor_type_e_MT_MPX4250A 9 -#define air_pressure_sensor_type_e_MT_MPXH6400 14 -#define air_pressure_sensor_type_e_MT_SUBY_DENSO 5 -#define air_pressure_sensor_type_e_MT_TOYOTA_89420_02010 8 -#define antiLagActivationMode_e_ALWAYS_ON_ANTILAG 1 -#define antiLagActivationMode_e_auto_enum 0="SWITCH_INPUT_ANTILAG",1="ALWAYS_ON_ANTILAG" -#define antiLagActivationMode_e_enum "Switch Input", "Always Active" -#define antiLagActivationMode_e_SWITCH_INPUT_ANTILAG 0 -#define AUX_DIGITAL_VALVE_COUNT 2 -#define BANKS_COUNT 2 -#define BARO_CORR_SIZE 4 -#define bench_mode_e_BENCH_AC_COMPRESSOR_RELAY 5 -#define bench_mode_e_BENCH_CANCEL 14 -#define bench_mode_e_BENCH_CHECK_ENGINE_LIGHT 6 -#define bench_mode_e_BENCH_FAN_RELAY 3 -#define bench_mode_e_BENCH_FAN_RELAY_2 4 -#define bench_mode_e_BENCH_FUEL_PUMP_OFF 16 -#define bench_mode_e_BENCH_FUEL_PUMP_ON 15 -#define bench_mode_e_BENCH_GPPWM1_VALVE 9 -#define bench_mode_e_BENCH_GPPWM2_VALVE 10 -#define bench_mode_e_BENCH_GPPWM3_VALVE 11 -#define bench_mode_e_BENCH_GPPWM4_VALVE 12 -#define bench_mode_e_BENCH_HPFP_VALVE 8 -#define bench_mode_e_BENCH_IDLE_VALVE 7 -#define bench_mode_e_BENCH_MAIN_RELAY 0 -#define bench_mode_e_BENCH_SECOND_IDLE_VALVE 13 -#define bench_mode_e_BENCH_STARTER_DISABLE_RELAY 2 -#define bench_mode_e_BENCH_STARTER_ENABLE_RELAY 1 -#define bench_mode_e_BENCH_VVT_1_TARGET_BUMP 17 -#define bench_mode_e_BENCH_VVT_2_TARGET_BUMP 18 -#define bench_mode_e_BENCH_VVT_3_TARGET_BUMP 19 -#define bench_mode_e_BENCH_VVT_4_TARGET_BUMP 20 -#define blend_table_s_size 188 -#define BLOCKING_FACTOR 750 -#define BOOST_BLEND_COUNT 2 -#define BOOST_LOAD_COUNT 8 -#define BOOST_RPM_COUNT 8 -#define boostType_e_auto_enum 0="OPEN_LOOP",1="CLOSED_LOOP" -#define boostType_e_CLOSED_LOOP 1 -#define boostType_e_OPEN_LOOP 0 -#define brain_input_pin_e_enum "NONE", "INVALID", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PA8", "PA9", "PA10", "PA11", "PA12", "PA13", "PA14", "PA15", "PB0", "PB1", "PB2", "PB3", "PB4", "PB5", "PB6", "PB7", "PB8", "PB9", "PB10", "PB11", "PB12", "PB13", "PB14", "PB15", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5", "PC6", "PC7", "PC8", "PC9", "PC10", "PC11", "PC12", "PC13", "PC14", "PC15", "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PE0", "PE1", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9", "PE10", "PE11", "PE12", "PE13", "PE14", "PE15", "PF0", "PF1", "PF2", "PF3", "PF4", "PF5", "PF6", "PF7", "PF8", "PF9", "PF10", "PF11", "PF12", "PF13", "PF14", "PF15", "PG0", "PG1", "PG2", "PG3", "PG4", "PG5", "PG6", "PG7", "PG8", "PG9", "PG10", "PG11", "PG12", "PG13", "PG14", "PG15", "PH0", "PH1", "PH2", "PH3", "PH4", "PH5", "PH6", "PH7", "PH8", "PH9", "PH10", "PH11", "PH12", "PH13", "PH14", "PH15", "PI0", "PI1", "PI2", "PI3", "PI4", "PI5", "PI6", "PI7", "PI8", "PI9", "PI10", "PI11", "PI12", "PI13", "PI14", "PI15" -#define brain_pin_diag_e_PIN_DRIVER_OFF 0x20 -#define brain_pin_diag_e_PIN_DRIVER_OVERTEMP 0x10 -#define brain_pin_diag_e_PIN_INVALID 0x80 -#define brain_pin_diag_e_PIN_OK 0 -#define brain_pin_diag_e_PIN_OPEN 0x01 -#define brain_pin_diag_e_PIN_OVERLOAD 0x08 -#define brain_pin_diag_e_PIN_SHORT_TO_BAT 0x04 -#define brain_pin_diag_e_PIN_SHORT_TO_GND 0x02 -#define CAM_INPUTS_COUNT 4 -#define CAMS_PER_BANK 2 -#define can_baudrate_e_auto_enum 0="B50KBPS",2="B100KBPS",3="B125KBPS",6="B1MBPS",4="B250KBPS",5="B500KBPS",1="B83KBPS" -#define can_baudrate_e_B100KBPS 2 -#define can_baudrate_e_B125KBPS 3 -#define can_baudrate_e_B1MBPS 6 -#define can_baudrate_e_B250KBPS 4 -#define can_baudrate_e_B500KBPS 5 -#define can_baudrate_e_B50KBPS 0 -#define can_baudrate_e_B83KBPS 1 -#define can_baudrate_e_enum "50kbps", "83.33kbps", "100kbps", "125kbps", "250kbps", "500kbps", "1Mbps" -#define CAN_DEFAULT_BASE 0x200 -#define CAN_ECU_HW_META 0xAB1234 -#define CAN_ECU_SERIAL_RX_ID 0x100 -#define CAN_ECU_SERIAL_TX_ID 0x102 -#define can_nbc_e_auto_enum 0="CAN_BUS_NBC_NONE",12="CAN_AIM_DASH",6="CAN_BUS_BMW_E90",10="CAN_BUS_GENESIS_COUPE",11="CAN_BUS_HONDA_K",7="CAN_BUS_Haltech",3="CAN_BUS_MAZDA_RX8",8="CAN_BUS_MQB",4="CAN_BUS_NBC_BMW",1="CAN_BUS_NBC_FIAT",2="CAN_BUS_NBC_VAG",9="CAN_BUS_NISSAN_VQ",5="CAN_BUS_W202_C180" -#define can_nbc_e_CAN_AIM_DASH 12 -#define can_nbc_e_CAN_BUS_BMW_E90 6 -#define can_nbc_e_CAN_BUS_GENESIS_COUPE 10 -#define can_nbc_e_CAN_BUS_Haltech 7 -#define can_nbc_e_CAN_BUS_HONDA_K 11 -#define can_nbc_e_CAN_BUS_MAZDA_RX8 3 -#define can_nbc_e_CAN_BUS_MQB 8 -#define can_nbc_e_CAN_BUS_NBC_BMW 4 -#define can_nbc_e_CAN_BUS_NBC_FIAT 1 -#define can_nbc_e_CAN_BUS_NBC_NONE 0 -#define can_nbc_e_CAN_BUS_NBC_VAG 2 -#define can_nbc_e_CAN_BUS_NISSAN_VQ 9 -#define can_nbc_e_CAN_BUS_W202_C180 5 -#define CAN_RX_PREFIX "CAN_rx" -#define can_vss_nbc_e_auto_enum 0="BMW_e46",2="BMW_e90",1="W202" -#define can_vss_nbc_e_BMW_e46 0 -#define can_vss_nbc_e_BMW_e90 2 -#define can_vss_nbc_e_W202 1 -#define CLT_CRANKING_CURVE_SIZE 8 -#define CLT_CURVE_SIZE 16 -#define CLT_LIMITER_CURVE_SIZE 4 -#define CLT_TIMING_CURVE_SIZE 8 -#define CMD_AC_RELAY_BENCH "acrelaybench" -#define CMD_ALTERNATOR_PIN "set_alternator_pin" -#define CMD_BOOST_PIN "set_boost_pin" -#define CMD_BURNCONFIG "burnconfig" -#define CMD_DATE "date" -#define CMD_DISABLE "disable" -#define CMD_ECU_UNLOCK "unlock" -#define CMD_ENABLE "enable" -#define CMD_ENGINE_TYPE "engine_type" -#define CMD_ENGINESNIFFERRPMTHRESHOLD "engineSnifferRpmThreshold" -#define CMD_ETB_DUTY "set_etb_duty" -#define CMD_EXTERNAL_STIMULATION "ext_stimulation" -#define CMD_FAN2_BENCH "fan2bench" -#define CMD_FAN_BENCH "fanbench" -#define CMD_FUEL_BENCH "fuelbench" -#define CMD_FUEL_PUMP_BENCH "fuelpumpbench" -#define CMD_FUNCTIONAL_TEST_MODE "test_mode" -#define CMD_GET "get" -#define CMD_HPFP_BENCH "hpfpbench" -#define CMD_IDLE_BENCH "idlebench" -#define CMD_IDLE_PIN "set_idle_pin" -#define CMD_IGNITION "ignition" -#define CMD_IGNITION_PIN "set_ignition_pin" -#define CMD_INJECTION "injection" -#define CMD_INJECTION_PIN "set_injection_pin" -#define CMD_LOGIC_PIN "set_logic_input_pin" -#define CMD_MIL_BENCH "milbench" -#define CMD_PINS "pins" -#define CMD_PWM "pwm" -#define CMD_REBOOT "reboot" -#define CMD_REBOOT_DFU "reboot_dfu" -#define CMD_REBOOT_OPENBLT "reboot_openblt" -#define CMD_RESET_ENGINE_SNIFFER "reset_engine_chart" -#define CMD_RPM "rpm" -#define CMD_SELF_STIMULATION "self_stimulation" -#define CMD_SET "set" -#define CMD_SPARK_BENCH "sparkbench" -#define CMD_STARTER_BENCH "starterbench" -#define CMD_TRIGGER_HW_INPUT "trigger_hw_input" -#define CMD_TRIGGER_PIN "set_trigger_input_pin" -#define CMD_TRIGGER_SIMULATOR_PIN "set_trigger_simulator_pin" -#define CMD_TRIGGERINFO "triggerinfo" -#define CMD_VSS_PIN "vss_pin" -#define CMD_WRITECONFIG "writeconfig" -#define COMPOSITE_PACKET_SIZE 5 -#define CONSOLE_DATA_PROTOCOL_TAG " @" -#define CRANKING_ADVANCE_CURVE_SIZE 4 -#define CRANKING_CLT_IDLE_CURVE_SIZE 8 -#define CRANKING_CURVE_SIZE 8 -#define cranking_parameters_s_size 8 -#define CRITICAL_PREFIX "CRITICAL" -#define cyl_trim_s_size 16 -#define dc_function_e_auto_enum 0="DC_None",1="DC_Throttle1",2="DC_Throttle2",3="DC_Wastegate" -#define dc_function_e_DC_None 0 -#define dc_function_e_DC_Throttle1 1 -#define dc_function_e_DC_Throttle2 2 -#define dc_function_e_DC_Wastegate 3 -#define dc_io_size 8 -#define DC_PER_STEPPER 2 -#define debug_mode_e_auto_enum 0="DBG_0",10="DBG_10",11="DBG_11",12="DBG_12",13="DBG_13",15="DBG_15",16="DBG_16",19="DBG_19",2="DBG_2",20="DBG_20",21="DBG_21",24="DBG_24",25="DBG_25",26="DBG_26",29="DBG_29",32="DBG_32",34="DBG_34",35="DBG_35",36="DBG_36",37="DBG_37",38="DBG_38",43="DBG_43",46="DBG_46",6="DBG_6",7="DBG_7",8="DBG_8",9="DBG_9",40="DBG_COMPOSITE_LOG",33="DBG_DWELL_METRIC",44="DBG_DYNO_VIEW",17="DBG_ELECTRONIC_THROTTLE_PID",4="DBG_EL_ACCEL",39="DBG_ETB_AUTOTUNE",18="DBG_EXECUTOR",22="DBG_INSTANT_RPM",30="DBG_ION",45="DBG_LOGIC_ANALYZER",48="DBG_LUA",27="DBG_MAP",28="DBG_METRICS",14="DBG_SR5_PROTOCOL",3="DBG_STEPPER_IDLE_CONTROL",47="DBG_TCU",31="DBG_TLE8888",1="DBG_TPS_ACCEL",5="DBG_TRIGGER_COUNTERS",41="DBG_UNUSED41",42="DBG_UNUSED_42",23="UNUSED23" -#define debug_mode_e_DBG_0 0 -#define debug_mode_e_DBG_10 10 -#define debug_mode_e_DBG_11 11 -#define debug_mode_e_DBG_12 12 -#define debug_mode_e_DBG_13 13 -#define debug_mode_e_DBG_15 15 -#define debug_mode_e_DBG_16 16 -#define debug_mode_e_DBG_19 19 -#define debug_mode_e_DBG_2 2 -#define debug_mode_e_DBG_20 20 -#define debug_mode_e_DBG_21 21 -#define debug_mode_e_DBG_24 24 -#define debug_mode_e_DBG_25 25 -#define debug_mode_e_DBG_26 26 -#define debug_mode_e_DBG_29 29 -#define debug_mode_e_DBG_32 32 -#define debug_mode_e_DBG_34 34 -#define debug_mode_e_DBG_35 35 -#define debug_mode_e_DBG_36 36 -#define debug_mode_e_DBG_37 37 -#define debug_mode_e_DBG_38 38 -#define debug_mode_e_DBG_43 43 -#define debug_mode_e_DBG_46 46 -#define debug_mode_e_DBG_6 6 -#define debug_mode_e_DBG_7 7 -#define debug_mode_e_DBG_8 8 -#define debug_mode_e_DBG_9 9 -#define debug_mode_e_DBG_COMPOSITE_LOG 40 -#define debug_mode_e_DBG_DWELL_METRIC 33 -#define debug_mode_e_DBG_DYNO_VIEW 44 -#define debug_mode_e_DBG_EL_ACCEL 4 -#define debug_mode_e_DBG_ELECTRONIC_THROTTLE_PID 17 -#define debug_mode_e_DBG_ETB_AUTOTUNE 39 -#define debug_mode_e_DBG_EXECUTOR 18 -#define debug_mode_e_DBG_INSTANT_RPM 22 -#define debug_mode_e_DBG_ION 30 -#define debug_mode_e_DBG_LOGIC_ANALYZER 45 -#define debug_mode_e_DBG_LUA 48 -#define debug_mode_e_DBG_MAP 27 -#define debug_mode_e_DBG_METRICS 28 -#define debug_mode_e_DBG_SR5_PROTOCOL 14 -#define debug_mode_e_DBG_STEPPER_IDLE_CONTROL 3 -#define debug_mode_e_DBG_TCU 47 -#define debug_mode_e_DBG_TLE8888 31 -#define debug_mode_e_DBG_TPS_ACCEL 1 -#define debug_mode_e_DBG_TRIGGER_COUNTERS 5 -#define debug_mode_e_DBG_UNUSED41 41 -#define debug_mode_e_DBG_UNUSED_42 42 -#define debug_mode_e_enum "INVALID", "TPS acceleration enrichment", "INVALID", "Stepper Idle Control", "Engine Load accl enrich", "Trigger Counters", "Soft Spark Cut", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "SD card", "sr5", "Knock", "INVALID", "Electronic Throttle", "Executor", "Bench Test / TS commands", "INVALID", "Analog inputs #1", "INSTANT_RPM", "INVALID", "Status", "INVALID", "INVALID", "MAP", "Metrics", "INVALID", "Ion Sense", "TLE8888", "Analog inputs #2", "Dwell Metric", "INVALID", "INVALID", "Boost Control", "INVALID", "INVALID", "ETB Autotune", "Composite Log", "INVALID", "INVALID", "INVALID", "Dyno_View", "Logic_Analyzer", "INVALID", "TCU", "Lua" -#define debug_mode_e_UNUSED23 23 -#define DWELL_CURVE_SIZE 8 -#define ego_sensor_e_ES_14Point7_Free 2 -#define ego_sensor_e_ES_AEM 6 -#define ego_sensor_e_ES_BPSX_D1 0 -#define ego_sensor_e_ES_Custom 5 -#define ego_sensor_e_ES_Innovate_MTX_L 1 -#define ego_sensor_e_ES_PLX 4 -#define EGT_CHANNEL_COUNT 8 -#define engine_configuration_s_size 4056 -#define engine_load_mode_e_auto_enum 0="LM_SPEED_DENSITY",2="LM_ALPHA_N",3="LM_LUA",100="LM_MOCK",1="LM_REAL_MAF" -#define engine_load_mode_e_enum "Speed Density", "MAF Air Charge", "Alpha-N", "Lua" -#define engine_load_mode_e_LM_ALPHA_N 2 -#define engine_load_mode_e_LM_LUA 3 -#define engine_load_mode_e_LM_MOCK 100 -#define engine_load_mode_e_LM_REAL_MAF 1 -#define engine_load_mode_e_LM_SPEED_DENSITY 0 -#define ENGINE_MAKE_BMW "BMW" -#define ENGINE_MAKE_GM "GM" -#define ENGINE_MAKE_HONDA "Honda" -#define ENGINE_MAKE_Hyundai "Hyundai" -#define ENGINE_MAKE_LADA "Lada" -#define ENGINE_MAKE_MAZDA "Mazda" -#define ENGINE_MAKE_MERCEDES "Mercedes" -#define ENGINE_MAKE_NISSAN "Nissan" -#define ENGINE_MAKE_SUBARU "Subaru" -#define ENGINE_MAKE_TOYOTA "Toyota" -#define ENGINE_MAKE_VAG "VAG" -#define ENGINE_NOISE_CURVE_SIZE 16 -#define ENGINE_SNIFFER_UNIT_US 10 -#define engine_type_e_auto_enum 0="DEFAULT_FRANKENSO",24="BMW_M73_M",50="BMW_M73_MRE",51="BMW_M73_MRE_SLAVE",35="CAMARO_4",65="CITROEN_TU3JP",38="DISCOVERY_PDM",2="DODGE_NEON_1995",46="DODGE_NEON_2003_CRANK",64="DODGE_RAM",58="ETB_BENCH_ENGINE",13="ET_UNUSED_13",15="ET_UNUSED_15",17="ET_UNUSED_17",33="ET_UNUSED_33",43="ET_UNUSED_43",57="ET_UNUSED_57",61="ET_UNUSED_61",92="ET_UNUSED_92",93="ET_UNUSED_93",97="ET_UNUSED_97",98="ET_UNUSED_98",3="FORD_ASPIRE_1996",14="FORD_ESCORT_GT",7="FORD_INLINE_6_1995",40="FRANKENSO_BMW_M73_F",47="FRANKENSO_MAZDA_MIATA_2003",56="FRANKENSO_MAZDA_MIATA_NA8",41="FRANKENSO_MIATA_NA6_MAP",49="FRANKENSO_QA_ENGINE",8="GY6_139QMB",84="HELLEN_121_NISSAN_4_CYL",72="HELLEN_121_NISSAN_6_CYL",85="HELLEN_121_NISSAN_8_CYL",87="HELLEN_121_NISSAN_ALMERA_N16",71="HELLEN_121_VAG_4_CYL",77="HELLEN_121_VAG_5_CYL",81="HELLEN_121_VAG_8_CYL",78="HELLEN_121_VAG_V6_CYL",79="HELLEN_121_VAG_VR6_CYL",36="HELLEN_128_MERCEDES_4_CYL",88="HELLEN_128_MERCEDES_6_CYL",89="HELLEN_128_MERCEDES_8_CYL",75="HELLEN_134_BMW",82="HELLEN_154_HYUNDAI_COUPE_BK1",95="HELLEN_154_HYUNDAI_COUPE_BK2",76="HELLEN_154_VAG",73="HELLEN_55_BMW",74="HELLEN_88_BMW",34="HELLEN_NA6",10="HELLEN_NA8_96",80="HELLEN_NA94",83="HELLEN_NB1",94="HELLEN_NB1_36",69="HELLEN_NB2",86="HELLEN_NB2_36",60="L9779_BENCH_ENGINE",55="MAZDA_MIATA_2003_BOARD_TEST",54="MAZDA_MIATA_2003_NA_RAIL",21="MIATA_1996",1="MIATA_PROTEUS_TCU",99="MINIMAL_PINS",16="MITSU_4G93",31="MRE_BOARD_NEW_TEST",23="MRE_BODY_CONTROL",68="MRE_M111",20="MRE_MIATA_94_MAP",66="MRE_MIATA_NA6_MAP",37="MRE_SUBARU_EJ18",62="MRE_VW_B6",5="NISSAN_PRIMERA",12="POLYGONUS_MIATA_MSM",4="POLYGONUS_MIATA_NA6",11="POLYGONUS_MIATA_NB1",67="POLYGONUS_MIATA_NB2",30="PROTEUS_ANALOG_PWM_TEST",63="PROTEUS_BMW_M73",9="PROTEUS_E65_6H_MAN_IN_THE_MIDDLE",27="PROTEUS_GM_LS_4",6="PROTEUS_HARLEY",90="PROTEUS_HONDA_K",91="PROTEUS_HONDA_OBD2A",25="PROTEUS_LUA_DEMO",42="PROTEUS_QC_TEST_BOARD",39="PROTEUS_VW_B6",29="SACHS",70="SUBARUEG33_DEFAULTS",22="SUBARU_2003_WRX",100="TEST_100",101="TEST_101",102="TEST_102",18="TEST_33816",28="TEST_CRANK_ENGINE",48="TEST_DC_WASTEGATE_DISCOVERY",26="TEST_ENGINE",45="TEST_ENGINE_VVT",52="TEST_ISSUE_366_BOTH",53="TEST_ISSUE_366_RISE",19="TEST_ROTARY",59="TLE8888_BENCH_ENGINE",44="TOYOTA_2JZ_GTE_VVTi",32="VW_ABA",96="WASTEGATE_PROTEUS_TEST" -#define engine_type_e_BMW_M73_M 24 -#define engine_type_e_BMW_M73_MRE 50 -#define engine_type_e_BMW_M73_MRE_SLAVE 51 -#define engine_type_e_CAMARO_4 35 -#define engine_type_e_CITROEN_TU3JP 65 -#define engine_type_e_DEFAULT_FRANKENSO 0 -#define engine_type_e_DISCOVERY_PDM 38 -#define engine_type_e_DODGE_NEON_1995 2 -#define engine_type_e_DODGE_NEON_2003_CRANK 46 -#define engine_type_e_DODGE_RAM 64 -#define engine_type_e_ET_UNUSED_13 13 -#define engine_type_e_ET_UNUSED_15 15 -#define engine_type_e_ET_UNUSED_17 17 -#define engine_type_e_ET_UNUSED_33 33 -#define engine_type_e_ET_UNUSED_43 43 -#define engine_type_e_ET_UNUSED_57 57 -#define engine_type_e_ET_UNUSED_61 61 -#define engine_type_e_ET_UNUSED_92 92 -#define engine_type_e_ET_UNUSED_93 93 -#define engine_type_e_ET_UNUSED_97 97 -#define engine_type_e_ET_UNUSED_98 98 -#define engine_type_e_ETB_BENCH_ENGINE 58 -#define engine_type_e_FORD_ASPIRE_1996 3 -#define engine_type_e_FORD_ESCORT_GT 14 -#define engine_type_e_FORD_INLINE_6_1995 7 -#define engine_type_e_FRANKENSO_BMW_M73_F 40 -#define engine_type_e_FRANKENSO_MAZDA_MIATA_2003 47 -#define engine_type_e_FRANKENSO_MAZDA_MIATA_NA8 56 -#define engine_type_e_FRANKENSO_MIATA_NA6_MAP 41 -#define engine_type_e_FRANKENSO_QA_ENGINE 49 -#define engine_type_e_GY6_139QMB 8 -#define engine_type_e_HELLEN_121_NISSAN_4_CYL 84 -#define engine_type_e_HELLEN_121_NISSAN_6_CYL 72 -#define engine_type_e_HELLEN_121_NISSAN_8_CYL 85 -#define engine_type_e_HELLEN_121_NISSAN_ALMERA_N16 87 -#define engine_type_e_HELLEN_121_VAG_4_CYL 71 -#define engine_type_e_HELLEN_121_VAG_5_CYL 77 -#define engine_type_e_HELLEN_121_VAG_8_CYL 81 -#define engine_type_e_HELLEN_121_VAG_V6_CYL 78 -#define engine_type_e_HELLEN_121_VAG_VR6_CYL 79 -#define engine_type_e_HELLEN_128_MERCEDES_4_CYL 36 -#define engine_type_e_HELLEN_128_MERCEDES_6_CYL 88 -#define engine_type_e_HELLEN_128_MERCEDES_8_CYL 89 -#define engine_type_e_HELLEN_134_BMW 75 -#define engine_type_e_HELLEN_154_HYUNDAI_COUPE_BK1 82 -#define engine_type_e_HELLEN_154_HYUNDAI_COUPE_BK2 95 -#define engine_type_e_HELLEN_154_VAG 76 -#define engine_type_e_HELLEN_55_BMW 73 -#define engine_type_e_HELLEN_88_BMW 74 -#define engine_type_e_HELLEN_NA6 34 -#define engine_type_e_HELLEN_NA8_96 10 -#define engine_type_e_HELLEN_NA94 80 -#define engine_type_e_HELLEN_NB1 83 -#define engine_type_e_HELLEN_NB1_36 94 -#define engine_type_e_HELLEN_NB2 69 -#define engine_type_e_HELLEN_NB2_36 86 -#define engine_type_e_L9779_BENCH_ENGINE 60 -#define engine_type_e_MAZDA_MIATA_2003_BOARD_TEST 55 -#define engine_type_e_MAZDA_MIATA_2003_NA_RAIL 54 -#define engine_type_e_MIATA_1996 21 -#define engine_type_e_MIATA_PROTEUS_TCU 1 -#define engine_type_e_MINIMAL_PINS 99 -#define engine_type_e_MITSU_4G93 16 -#define engine_type_e_MRE_BOARD_NEW_TEST 31 -#define engine_type_e_MRE_BODY_CONTROL 23 -#define engine_type_e_MRE_M111 68 -#define engine_type_e_MRE_MIATA_94_MAP 20 -#define engine_type_e_MRE_MIATA_NA6_MAP 66 -#define engine_type_e_MRE_SUBARU_EJ18 37 -#define engine_type_e_MRE_VW_B6 62 -#define engine_type_e_NISSAN_PRIMERA 5 -#define engine_type_e_POLYGONUS_MIATA_MSM 12 -#define engine_type_e_POLYGONUS_MIATA_NA6 4 -#define engine_type_e_POLYGONUS_MIATA_NB1 11 -#define engine_type_e_POLYGONUS_MIATA_NB2 67 -#define engine_type_e_PROTEUS_ANALOG_PWM_TEST 30 -#define engine_type_e_PROTEUS_BMW_M73 63 -#define engine_type_e_PROTEUS_E65_6H_MAN_IN_THE_MIDDLE 9 -#define engine_type_e_PROTEUS_GM_LS_4 27 -#define engine_type_e_PROTEUS_HARLEY 6 -#define engine_type_e_PROTEUS_HONDA_K 90 -#define engine_type_e_PROTEUS_HONDA_OBD2A 91 -#define engine_type_e_PROTEUS_LUA_DEMO 25 -#define engine_type_e_PROTEUS_QC_TEST_BOARD 42 -#define engine_type_e_PROTEUS_VW_B6 39 -#define engine_type_e_SACHS 29 -#define engine_type_e_SUBARU_2003_WRX 22 -#define engine_type_e_SUBARUEG33_DEFAULTS 70 -#define engine_type_e_TEST_100 100 -#define engine_type_e_TEST_101 101 -#define engine_type_e_TEST_102 102 -#define engine_type_e_TEST_33816 18 -#define engine_type_e_TEST_CRANK_ENGINE 28 -#define engine_type_e_TEST_DC_WASTEGATE_DISCOVERY 48 -#define engine_type_e_TEST_ENGINE 26 -#define engine_type_e_TEST_ENGINE_VVT 45 -#define engine_type_e_TEST_ISSUE_366_BOTH 52 -#define engine_type_e_TEST_ISSUE_366_RISE 53 -#define engine_type_e_TEST_ROTARY 19 -#define engine_type_e_TLE8888_BENCH_ENGINE 59 -#define engine_type_e_TOYOTA_2JZ_GTE_VVTi 44 -#define engine_type_e_VW_ABA 32 -#define engine_type_e_WASTEGATE_PROTEUS_TEST 96 -#define engineSyncCam_enum "Intake First Bank", "Exhaust First Bank", "Intake Second Bank", "Exhaust Second Bank" -#define ERROR_BUFFER_SIZE 120 -#define ETB_BIAS_CURVE_LENGTH 8 -#define ETB_COUNT 2 -#define ETB_HW_MAX_FREQUENCY 3000 -#define FLASH_DATA_VERSION 20014 -#define FUEL_LEVEL_TABLE_COUNT 8 -#define FUEL_LOAD_COUNT 16 -#define fuel_pressure_sensor_mode_e_auto_enum 0="FPM_Absolute",2="FPM_Differential",1="FPM_Gauge" -#define fuel_pressure_sensor_mode_e_enum "Absolute", "Gauge", "Differential", "INVALID" -#define fuel_pressure_sensor_mode_e_FPM_Absolute 0 -#define fuel_pressure_sensor_mode_e_FPM_Differential 2 -#define fuel_pressure_sensor_mode_e_FPM_Gauge 1 -#define FUEL_RPM_COUNT 16 -#define GAP_TRACKING_LENGTH 18 -#define GAUGE_CATEGORY_ETB "ETB more" -#define GAUGE_COIL_DWELL_TIME "Ign: Dwell" -#define GAUGE_NAME_ACCEL_LAT "Accel: Lateral" -#define GAUGE_NAME_ACCEL_LON "Accel: Longitudinal" -#define GAUGE_NAME_ACCEL_VERT "Accel: Vertical" -#define GAUGE_NAME_AFR "Air/Fuel Ratio" -#define GAUGE_NAME_AFR2 "Air/Fuel Ratio 2" -#define GAUGE_NAME_AFR2_GAS_SCALE "Air/Fuel Ratio 2 (Gas Scale)" -#define GAUGE_NAME_AFR_GAS_SCALE "Air/Fuel Ratio (Gas Scale)" -#define GAUGE_NAME_AIR_FLOW_ESTIMATE "Air: Flow estimate" -#define GAUGE_NAME_AIR_FLOW_MEASURED "MAF" -#define GAUGE_NAME_AIR_FLOW_MEASURED_2 "MAF #2" -#define GAUGE_NAME_AIR_MASS "Air: Cylinder airmass" -#define GAUGE_NAME_AUX_LINEAR_1 "Aux linear #1" -#define GAUGE_NAME_AUX_LINEAR_2 "Aux linear #2" -#define GAUGE_NAME_AUX_TEMP1 "Aux temp 1" -#define GAUGE_NAME_AUX_TEMP2 "Aux temp 2" -#define GAUGE_NAME_BARO_PRESSURE "Barometric pressure" -#define GAUGE_NAME_BOOST_CLOSED_LOOP "Boost: Closed loop" -#define GAUGE_NAME_BOOST_OPEN_LOOP "Boost: Open loop" -#define GAUGE_NAME_BOOST_OUTPUT "Boost: Output" -#define GAUGE_NAME_BOOST_TARGET "Boost: Target" -#define GAUGE_NAME_CLT "CLT" -#define GAUGE_NAME_CURRENT_GEAR "Current Gear" -#define GAUGE_NAME_DEBUG_F1 "debug f1" -#define GAUGE_NAME_DEBUG_F2 "debug f2: iTerm" -#define GAUGE_NAME_DEBUG_F3 "debug f3: prevError" -#define GAUGE_NAME_DEBUG_F4 "debug f4: iParam" -#define GAUGE_NAME_DEBUG_F5 "debug f5: dParam" -#define GAUGE_NAME_DEBUG_F6 "debug f6: dTerm" -#define GAUGE_NAME_DEBUG_F7 "debug f7" -#define GAUGE_NAME_DEBUG_I1 "debug i1: pParam" -#define GAUGE_NAME_DEBUG_I2 "debug i2: offset" -#define GAUGE_NAME_DEBUG_I3 "debug i3" -#define GAUGE_NAME_DEBUG_I4 "debug i4" -#define GAUGE_NAME_DEBUG_I5 "debug i5" -#define GAUGE_NAME_DESIRED_GEAR "TCU: Desired Gear" -#define GAUGE_NAME_DETECTED_GEAR "Detected Gear" -#define GAUGE_NAME_DWELL_DUTY "Ign: Coil duty cycle" -#define GAUGE_NAME_ECU_TEMPERATURE "ECU temperature" -#define GAUGE_NAME_ENGINE_CRC16 "Engine CRC16" -#define GAUGE_NAME_ETB_DUTY "ETB: Duty" -#define GAUGE_NAME_ETB_ERROR "ETB: position error" -#define GAUGE_NAME_ETB_TARGET "ETB: position target" -#define GAUGE_NAME_FLEX "Flex Ethanol %" -#define GAUGE_NAME_FUEL_BARO_CORR "Fuel: Barometric pressure mult" -#define GAUGE_NAME_FUEL_BASE "Fuel: base cycle mass" -#define GAUGE_NAME_FUEL_CHARGE_TEMP "Fuel: Estimated charge temperature" -#define GAUGE_NAME_FUEL_CLT_CORR "Fuel: CLT correction" -#define GAUGE_NAME_FUEL_CONSUMPTION "Fuel: Total consumed" -#define GAUGE_NAME_FUEL_CRANKING "Fuel: cranking" -#define GAUGE_NAME_FUEL_FLOW "Fuel: Flow rate" -#define GAUGE_NAME_FUEL_IAT_CORR "Fuel: IAT correction" -#define GAUGE_NAME_FUEL_INJ_DUTY "Fuel: injector duty cycle" -#define GAUGE_NAME_FUEL_INJ_DUTY_STAGE_2 "Fuel: injector duty cycle stage 2" -#define GAUGE_NAME_FUEL_INJECTION_TIMING "Fuel: Injection timing SOI" -#define GAUGE_NAME_FUEL_LAST_INJECTION "Fuel: Last inj pulse width" -#define GAUGE_NAME_FUEL_LAST_INJECTION_STAGE_2 "Fuel: Last inj pulse width stg 2" -#define GAUGE_NAME_FUEL_LEVEL "Fuel level" -#define GAUGE_NAME_FUEL_LOAD "Fuel: Load" -#define GAUGE_NAME_FUEL_PRESSURE_HIGH "Fuel pressure (high)" -#define GAUGE_NAME_FUEL_PRESSURE_HIGH_UNITS "bar" -#define GAUGE_NAME_FUEL_PRESSURE_LOW "Fuel pressure (low)" -#define GAUGE_NAME_FUEL_PRESSURE_LOW_UNITS "kPa" -#define GAUGE_NAME_FUEL_RUNNING "Fuel: running" -#define GAUGE_NAME_FUEL_TPS_EXTRA "Fuel: TPS AE add fuel ms" -#define GAUGE_NAME_FUEL_TRIM "Fuel: fuel trim" -#define GAUGE_NAME_FUEL_TRIM_2 "Fuel: fuel trim 2" -#define GAUGE_NAME_FUEL_VE "Fuel: VE" -#define GAUGE_NAME_FUEL_WALL_AMOUNT "Fuel: wall amount" -#define GAUGE_NAME_FUEL_WALL_CORRECTION "Fuel: wall correction" -#define GAUGE_NAME_FW_VERSION "ECU Software Version" -#define GAUGE_NAME_GEAR_RATIO "Gearbox Ratio" -#define GAUGE_NAME_GYRO_YAW "Gyro: Yaw rate" -#define GAUGE_NAME_IAC "Idle: Position" -#define GAUGE_NAME_IAT "IAT" -#define GAUGE_NAME_IDLE_POSITION "Idle: Position sensor" -#define GAUGE_NAME_IGNITION_LOAD "Ign: Load" -#define GAUGE_NAME_IGNITION_MODE "Ign: Mode" -#define GAUGE_NAME_INJECTION_MODE "Fuel: Injection mode" -#define GAUGE_NAME_INJECTOR_LAG "Fuel: injector lag" -#define GAUGE_NAME_ISS "TCU: Input Shaft Speed" -#define GAUGE_NAME_KNOCK_COUNTER "Knock: Count" -#define GAUGE_NAME_KNOCK_LEVEL "Knock: Current level" -#define GAUGE_NAME_KNOCK_RETARD "Knock: Retard" -#define GAUGE_NAME_LAMBDA "Lambda" -#define GAUGE_NAME_LAMBDA2 "Lambda 2" -#define GAUGE_NAME_LAST_ERROR "Last error" -#define GAUGE_NAME_MAF "MAF" -#define GAUGE_NAME_MAP "MAP" -#define GAUGE_NAME_OIL_PRESSURE "Oil Pressure" -#define GAUGE_NAME_OIL_TEMPERATURE "Oil Temperature" -#define GAUGE_NAME_RAW_FUEL_PRESSURE_HIGH "Fuel pressure raw (high)" -#define GAUGE_NAME_RAW_FUEL_PRESSURE_LOW "Fuel pressure raw (low)" -#define GAUGE_NAME_RPM "RPM" -#define GAUGE_NAME_TARGET_AFR "Fuel: target AFR" -#define GAUGE_NAME_TARGET_LAMBDA "Fuel: target lambda" -#define GAUGE_NAME_TC_RATIO "TCU: Torque Converter Ratio" -#define GAUGE_NAME_TCHARGE "Air: SD tCharge" -#define GAUGE_NAME_THROTTLE_PEDAL "Throttle pedal position" -#define GAUGE_NAME_TIME "Time" -#define GAUGE_NAME_TIMING_ADVANCE "Ign: Timing Base" -#define GAUGE_NAME_TPS "TPS" -#define GAUGE_NAME_TPS2 "TPS2" -#define GAUGE_NAME_TRG_ERR "Trigger Error Counter" -#define GAUGE_NAME_TRG_GAP "Trigger Sync Latest Ratio" -#define GAUGE_NAME_TUNE_CRC16 "Tune CRC16" -#define GAUGE_NAME_TURBO_SPEED "Turbocharger Speed" -#define GAUGE_NAME_UPTIME "Uptime" -#define GAUGE_NAME_VBAT "VBatt" -#define GAUGE_NAME_VERSION "firmware" -#define GAUGE_NAME_VVS "Vehicle Speed" -#define GAUGE_NAME_VVT_B1E "VVT: bank 1 exhaust" -#define GAUGE_NAME_VVT_B1I "VVT: bank 1 intake" -#define GAUGE_NAME_VVT_B2E "VVT: bank 2 exhaust" -#define GAUGE_NAME_VVT_B2I "VVT: bank 2 intake" -#define GAUGE_NAME_VVT_TARGET_B1E "VVT: bank 1 exhaust target" -#define GAUGE_NAME_VVT_TARGET_B1I "VVT: bank 1 intake target" -#define GAUGE_NAME_VVT_TARGET_B2E "VVT: bank 2 exhaust target" -#define GAUGE_NAME_VVT_TARGET_B2I "VVT: bank 2 intake target" -#define GAUGE_NAME_WARNING_COUNTER "Warning: counter" -#define GAUGE_NAME_WARNING_LAST "Warning: last" -#define GAUGE_NAME_WG_POSITION "Wastegate position sensor" -#define gear_controller_e_enum "None", "Button Shift" -#define gear_e_GEAR_1 1 -#define gear_e_GEAR_2 2 -#define gear_e_GEAR_3 3 -#define gear_e_GEAR_4 4 -#define gear_e_NEUTRAL 0 -#define gear_e_REVERSE -1 -#define GearControllerMode_auto_enum 0="None",1="ButtonShift",2="Generic" -#define GearControllerMode_ButtonShift 1 -#define GearControllerMode_Generic 2 -#define GearControllerMode_None 0 -#define GEARS_COUNT 8 -#define Gpio_A0 2 -#define Gpio_A1 3 -#define Gpio_A10 12 -#define Gpio_A11 13 -#define Gpio_A12 14 -#define Gpio_A13 15 -#define Gpio_A14 16 -#define Gpio_A15 17 -#define Gpio_A2 4 -#define Gpio_A3 5 -#define Gpio_A4 6 -#define Gpio_A5 7 -#define Gpio_A6 8 -#define Gpio_A7 9 -#define Gpio_A8 10 -#define Gpio_A9 11 -#define Gpio_auto_enum 0="Unassigned",2="A0",3="A1",12="A10",13="A11",14="A12",15="A13",16="A14",17="A15",4="A2",5="A3",6="A4",7="A5",8="A6",9="A7",10="A8",11="A9",18="B0",19="B1",28="B10",29="B11",30="B12",31="B13",32="B14",33="B15",20="B2",21="B3",22="B4",23="B5",24="B6",25="B7",26="B8",27="B9",34="C0",35="C1",44="C10",45="C11",46="C12",47="C13",48="C14",49="C15",36="C2",37="C3",38="C4",39="C5",40="C6",41="C7",42="C8",43="C9",249="CAN_PIN_0",250="CAN_PIN_1",251="CAN_PIN_2",252="CAN_PIN_3",253="CAN_PIN_4",254="CAN_PIN_5",255="CAN_PIN_6",256="CAN_PIN_7",50="D0",51="D1",60="D10",61="D11",62="D12",63="D13",64="D14",65="D15",52="D2",53="D3",54="D4",55="D5",56="D6",57="D7",58="D8",59="D9",66="E0",67="E1",76="E10",77="E11",78="E12",79="E13",80="E14",81="E15",68="E2",69="E3",70="E4",71="E5",72="E6",73="E7",74="E8",75="E9",82="F0",83="F1",92="F10",93="F11",94="F12",95="F13",96="F14",97="F15",84="F2",85="F3",86="F4",87="F5",88="F6",89="F7",90="F8",91="F9",98="G0",99="G1",108="G10",109="G11",110="G12",111="G13",112="G14",113="G15",100="G2",101="G3",102="G4",103="G5",104="G6",105="G7",106="G8",107="G9",114="H0",115="H1",124="H10",125="H11",126="H12",127="H13",128="H14",129="H15",116="H2",117="H3",118="H4",119="H5",120="H6",121="H7",122="H8",123="H9",130="I0",131="I1",140="I10",141="I11",142="I12",143="I13",144="I14",145="I15",132="I2",133="I3",134="I4",135="I5",136="I6",137="I7",138="I8",139="I9",1="Invalid",215="L9779_IGN_1",216="L9779_IGN_2",217="L9779_IGN_3",218="L9779_IGN_4",219="L9779_OUT_1",228="L9779_OUT_10",229="L9779_OUT_11",230="L9779_OUT_12",231="L9779_OUT_13",232="L9779_OUT_14",233="L9779_OUT_15",234="L9779_OUT_16",235="L9779_OUT_17",236="L9779_OUT_18",237="L9779_OUT_19",220="L9779_OUT_2",238="L9779_OUT_20",243="L9779_OUT_25",244="L9779_OUT_26",245="L9779_OUT_27",246="L9779_OUT_28",221="L9779_OUT_3",222="L9779_OUT_4",223="L9779_OUT_5",224="L9779_OUT_6",225="L9779_OUT_7",226="L9779_OUT_8",227="L9779_OUT_9",239="L9779_OUT_A",240="L9779_OUT_B",241="L9779_OUT_C",242="L9779_OUT_D",247="L9779_OUT_MRD",248="L9779_PIN_KEY",146="MC33972_PIN_1",166="MC33972_PIN_21",167="MC33972_PIN_22",257="PROTECTED_PIN_0",258="PROTECTED_PIN_1",267="PROTECTED_PIN_10",268="PROTECTED_PIN_11",269="PROTECTED_PIN_12",270="PROTECTED_PIN_13",271="PROTECTED_PIN_14",272="PROTECTED_PIN_15",259="PROTECTED_PIN_2",260="PROTECTED_PIN_3",261="PROTECTED_PIN_4",262="PROTECTED_PIN_5",263="PROTECTED_PIN_6",264="PROTECTED_PIN_7",265="PROTECTED_PIN_8",266="PROTECTED_PIN_9",199="TLE6240_PIN_1",208="TLE6240_PIN_10",209="TLE6240_PIN_11",210="TLE6240_PIN_12",211="TLE6240_PIN_13",212="TLE6240_PIN_14",213="TLE6240_PIN_15",214="TLE6240_PIN_16",200="TLE6240_PIN_2",201="TLE6240_PIN_3",202="TLE6240_PIN_4",203="TLE6240_PIN_5",204="TLE6240_PIN_6",205="TLE6240_PIN_7",206="TLE6240_PIN_8",207="TLE6240_PIN_9",168="TLE8888_PIN_1",177="TLE8888_PIN_10",178="TLE8888_PIN_11",179="TLE8888_PIN_12",180="TLE8888_PIN_13",181="TLE8888_PIN_14",182="TLE8888_PIN_15",183="TLE8888_PIN_16",184="TLE8888_PIN_17",185="TLE8888_PIN_18",186="TLE8888_PIN_19",169="TLE8888_PIN_2",187="TLE8888_PIN_20",188="TLE8888_PIN_21",189="TLE8888_PIN_22",190="TLE8888_PIN_23",191="TLE8888_PIN_24",192="TLE8888_PIN_25",193="TLE8888_PIN_26",194="TLE8888_PIN_27",195="TLE8888_PIN_28",170="TLE8888_PIN_3",171="TLE8888_PIN_4",172="TLE8888_PIN_5",173="TLE8888_PIN_6",174="TLE8888_PIN_7",175="TLE8888_PIN_8",176="TLE8888_PIN_9",197="TLE8888_PIN_KEY",196="TLE8888_PIN_MR",198="TLE8888_PIN_WAKE" -#define Gpio_B0 18 -#define Gpio_B1 19 -#define Gpio_B10 28 -#define Gpio_B11 29 -#define Gpio_B12 30 -#define Gpio_B13 31 -#define Gpio_B14 32 -#define Gpio_B15 33 -#define Gpio_B2 20 -#define Gpio_B3 21 -#define Gpio_B4 22 -#define Gpio_B5 23 -#define Gpio_B6 24 -#define Gpio_B7 25 -#define Gpio_B8 26 -#define Gpio_B9 27 -#define Gpio_C0 34 -#define Gpio_C1 35 -#define Gpio_C10 44 -#define Gpio_C11 45 -#define Gpio_C12 46 -#define Gpio_C13 47 -#define Gpio_C14 48 -#define Gpio_C15 49 -#define Gpio_C2 36 -#define Gpio_C3 37 -#define Gpio_C4 38 -#define Gpio_C5 39 -#define Gpio_C6 40 -#define Gpio_C7 41 -#define Gpio_C8 42 -#define Gpio_C9 43 -#define Gpio_CAN_PIN_0 249 -#define Gpio_CAN_PIN_1 250 -#define Gpio_CAN_PIN_2 251 -#define Gpio_CAN_PIN_3 252 -#define Gpio_CAN_PIN_4 253 -#define Gpio_CAN_PIN_5 254 -#define Gpio_CAN_PIN_6 255 -#define Gpio_CAN_PIN_7 256 -#define Gpio_D0 50 -#define Gpio_D1 51 -#define Gpio_D10 60 -#define Gpio_D11 61 -#define Gpio_D12 62 -#define Gpio_D13 63 -#define Gpio_D14 64 -#define Gpio_D15 65 -#define Gpio_D2 52 -#define Gpio_D3 53 -#define Gpio_D4 54 -#define Gpio_D5 55 -#define Gpio_D6 56 -#define Gpio_D7 57 -#define Gpio_D8 58 -#define Gpio_D9 59 -#define Gpio_E0 66 -#define Gpio_E1 67 -#define Gpio_E10 76 -#define Gpio_E11 77 -#define Gpio_E12 78 -#define Gpio_E13 79 -#define Gpio_E14 80 -#define Gpio_E15 81 -#define Gpio_E2 68 -#define Gpio_E3 69 -#define Gpio_E4 70 -#define Gpio_E5 71 -#define Gpio_E6 72 -#define Gpio_E7 73 -#define Gpio_E8 74 -#define Gpio_E9 75 -#define Gpio_enum "NONE", "INVALID", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PA8", "PA9", "PA10", "PA11", "PA12", "PA13", "PA14", "PA15", "PB0", "PB1", "PB2", "PB3", "PB4", "PB5", "PB6", "PB7", "PB8", "PB9", "PB10", "PB11", "PB12", "PB13", "PB14", "PB15", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5", "PC6", "PC7", "PC8", "PC9", "PC10", "PC11", "PC12", "PC13", "PC14", "PC15", "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PE0", "PE1", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9", "PE10", "PE11", "PE12", "PE13", "PE14", "PE15", "PF0", "PF1", "PF2", "PF3", "PF4", "PF5", "PF6", "PF7", "PF8", "PF9", "PF10", "PF11", "PF12", "PF13", "PF14", "PF15", "PG0", "PG1", "PG2", "PG3", "PG4", "PG5", "PG6", "PG7", "PG8", "PG9", "PG10", "PG11", "PG12", "PG13", "PG14", "PG15", "PH0", "PH1", "PH2", "PH3", "PH4", "PH5", "PH6", "PH7", "PH8", "PH9", "PH10", "PH11", "PH12", "PH13", "PH14", "PH15", "PI0", "PI1", "PI2", "PI3", "PI4", "PI5", "PI6", "PI7", "PI8", "PI9", "PI10", "PI11", "PI12", "PI13", "PI14", "PI15" -#define Gpio_F0 82 -#define Gpio_F1 83 -#define Gpio_F10 92 -#define Gpio_F11 93 -#define Gpio_F12 94 -#define Gpio_F13 95 -#define Gpio_F14 96 -#define Gpio_F15 97 -#define Gpio_F2 84 -#define Gpio_F3 85 -#define Gpio_F4 86 -#define Gpio_F5 87 -#define Gpio_F6 88 -#define Gpio_F7 89 -#define Gpio_F8 90 -#define Gpio_F9 91 -#define Gpio_G0 98 -#define Gpio_G1 99 -#define Gpio_G10 108 -#define Gpio_G11 109 -#define Gpio_G12 110 -#define Gpio_G13 111 -#define Gpio_G14 112 -#define Gpio_G15 113 -#define Gpio_G2 100 -#define Gpio_G3 101 -#define Gpio_G4 102 -#define Gpio_G5 103 -#define Gpio_G6 104 -#define Gpio_G7 105 -#define Gpio_G8 106 -#define Gpio_G9 107 -#define Gpio_H0 114 -#define Gpio_H1 115 -#define Gpio_H10 124 -#define Gpio_H11 125 -#define Gpio_H12 126 -#define Gpio_H13 127 -#define Gpio_H14 128 -#define Gpio_H15 129 -#define Gpio_H2 116 -#define Gpio_H3 117 -#define Gpio_H4 118 -#define Gpio_H5 119 -#define Gpio_H6 120 -#define Gpio_H7 121 -#define Gpio_H8 122 -#define Gpio_H9 123 -#define Gpio_I0 130 -#define Gpio_I1 131 -#define Gpio_I10 140 -#define Gpio_I11 141 -#define Gpio_I12 142 -#define Gpio_I13 143 -#define Gpio_I14 144 -#define Gpio_I15 145 -#define Gpio_I2 132 -#define Gpio_I3 133 -#define Gpio_I4 134 -#define Gpio_I5 135 -#define Gpio_I6 136 -#define Gpio_I7 137 -#define Gpio_I8 138 -#define Gpio_I9 139 -#define Gpio_Invalid 1 -#define Gpio_L9779_IGN_1 215 -#define Gpio_L9779_IGN_2 216 -#define Gpio_L9779_IGN_3 217 -#define Gpio_L9779_IGN_4 218 -#define Gpio_L9779_OUT_1 219 -#define Gpio_L9779_OUT_10 228 -#define Gpio_L9779_OUT_11 229 -#define Gpio_L9779_OUT_12 230 -#define Gpio_L9779_OUT_13 231 -#define Gpio_L9779_OUT_14 232 -#define Gpio_L9779_OUT_15 233 -#define Gpio_L9779_OUT_16 234 -#define Gpio_L9779_OUT_17 235 -#define Gpio_L9779_OUT_18 236 -#define Gpio_L9779_OUT_19 237 -#define Gpio_L9779_OUT_2 220 -#define Gpio_L9779_OUT_20 238 -#define Gpio_L9779_OUT_25 243 -#define Gpio_L9779_OUT_26 244 -#define Gpio_L9779_OUT_27 245 -#define Gpio_L9779_OUT_28 246 -#define Gpio_L9779_OUT_3 221 -#define Gpio_L9779_OUT_4 222 -#define Gpio_L9779_OUT_5 223 -#define Gpio_L9779_OUT_6 224 -#define Gpio_L9779_OUT_7 225 -#define Gpio_L9779_OUT_8 226 -#define Gpio_L9779_OUT_9 227 -#define Gpio_L9779_OUT_A 239 -#define Gpio_L9779_OUT_B 240 -#define Gpio_L9779_OUT_C 241 -#define Gpio_L9779_OUT_D 242 -#define Gpio_L9779_OUT_MRD 247 -#define Gpio_L9779_PIN_KEY 248 -#define Gpio_MC33972_PIN_1 146 -#define Gpio_MC33972_PIN_21 166 -#define Gpio_MC33972_PIN_22 167 -#define Gpio_PROTECTED_PIN_0 257 -#define Gpio_PROTECTED_PIN_1 258 -#define Gpio_PROTECTED_PIN_10 267 -#define Gpio_PROTECTED_PIN_11 268 -#define Gpio_PROTECTED_PIN_12 269 -#define Gpio_PROTECTED_PIN_13 270 -#define Gpio_PROTECTED_PIN_14 271 -#define Gpio_PROTECTED_PIN_15 272 -#define Gpio_PROTECTED_PIN_2 259 -#define Gpio_PROTECTED_PIN_3 260 -#define Gpio_PROTECTED_PIN_4 261 -#define Gpio_PROTECTED_PIN_5 262 -#define Gpio_PROTECTED_PIN_6 263 -#define Gpio_PROTECTED_PIN_7 264 -#define Gpio_PROTECTED_PIN_8 265 -#define Gpio_PROTECTED_PIN_9 266 -#define Gpio_TLE6240_PIN_1 199 -#define Gpio_TLE6240_PIN_10 208 -#define Gpio_TLE6240_PIN_11 209 -#define Gpio_TLE6240_PIN_12 210 -#define Gpio_TLE6240_PIN_13 211 -#define Gpio_TLE6240_PIN_14 212 -#define Gpio_TLE6240_PIN_15 213 -#define Gpio_TLE6240_PIN_16 214 -#define Gpio_TLE6240_PIN_2 200 -#define Gpio_TLE6240_PIN_3 201 -#define Gpio_TLE6240_PIN_4 202 -#define Gpio_TLE6240_PIN_5 203 -#define Gpio_TLE6240_PIN_6 204 -#define Gpio_TLE6240_PIN_7 205 -#define Gpio_TLE6240_PIN_8 206 -#define Gpio_TLE6240_PIN_9 207 -#define Gpio_TLE8888_PIN_1 168 -#define Gpio_TLE8888_PIN_10 177 -#define Gpio_TLE8888_PIN_11 178 -#define Gpio_TLE8888_PIN_12 179 -#define Gpio_TLE8888_PIN_13 180 -#define Gpio_TLE8888_PIN_14 181 -#define Gpio_TLE8888_PIN_15 182 -#define Gpio_TLE8888_PIN_16 183 -#define Gpio_TLE8888_PIN_17 184 -#define Gpio_TLE8888_PIN_18 185 -#define Gpio_TLE8888_PIN_19 186 -#define Gpio_TLE8888_PIN_2 169 -#define Gpio_TLE8888_PIN_20 187 -#define Gpio_TLE8888_PIN_21 188 -#define Gpio_TLE8888_PIN_22 189 -#define Gpio_TLE8888_PIN_23 190 -#define Gpio_TLE8888_PIN_24 191 -#define Gpio_TLE8888_PIN_25 192 -#define Gpio_TLE8888_PIN_26 193 -#define Gpio_TLE8888_PIN_27 194 -#define Gpio_TLE8888_PIN_28 195 -#define Gpio_TLE8888_PIN_3 170 -#define Gpio_TLE8888_PIN_4 171 -#define Gpio_TLE8888_PIN_5 172 -#define Gpio_TLE8888_PIN_6 173 -#define Gpio_TLE8888_PIN_7 174 -#define Gpio_TLE8888_PIN_8 175 -#define Gpio_TLE8888_PIN_9 176 -#define Gpio_TLE8888_PIN_KEY 197 -#define Gpio_TLE8888_PIN_MR 196 -#define Gpio_TLE8888_PIN_WAKE 198 -#define Gpio_Unassigned 0 -#define gppwm_channel_e_auto_enum 0="GPPWM_Zero",9="GPPWM_AccelPedal",16="GPPWM_AuxLinear1",17="GPPWM_AuxLinear2",7="GPPWM_AuxTemp1",8="GPPWM_AuxTemp2",26="GPPWM_BaroPressure",3="GPPWM_Clt",25="GPPWM_DetectedGear",15="GPPWM_EthanolPercent",5="GPPWM_FuelLoad",18="GPPWM_GppwmOutput1",19="GPPWM_GppwmOutput2",20="GPPWM_GppwmOutput3",21="GPPWM_GppwmOutput4",4="GPPWM_Iat",6="GPPWM_IgnLoad",22="GPPWM_LuaGauge1",23="GPPWM_LuaGauge2",2="GPPWM_Map",24="GPPWM_Rpm",1="GPPWM_Tps",12="GPPWM_VVT_1E",11="GPPWM_VVT_1I",14="GPPWM_VVT_2E",13="GPPWM_VVT_2I",10="GPPWM_Vbatt" -#define gppwm_channel_e_enum "Zero", "TPS", "MAP", "CLT", "IAT", "Fuel Load", "Ignition Load", "Aux Temp 1", "Aux Temp 2", "Accel Pedal", "Battery Voltage", "VVT 1 I", "VVT 1 E", "VVT 2 I", "VVT 2 E", "Ethanol (Flex) %", "Aux Linear 1", "Aux Linear 2", "GPPWM Output 1", "GPPWM Output 2", "GPPWM Output 3", "GPPWM Output 4", "Lua Gauge 1", "Lua Gauge 2", "RPM", "Gear (detected)", "Baro pressure" -#define gppwm_channel_e_GPPWM_AccelPedal 9 -#define gppwm_channel_e_GPPWM_AuxLinear1 16 -#define gppwm_channel_e_GPPWM_AuxLinear2 17 -#define gppwm_channel_e_GPPWM_AuxTemp1 7 -#define gppwm_channel_e_GPPWM_AuxTemp2 8 -#define gppwm_channel_e_GPPWM_BaroPressure 26 -#define gppwm_channel_e_GPPWM_Clt 3 -#define gppwm_channel_e_GPPWM_DetectedGear 25 -#define gppwm_channel_e_GPPWM_EthanolPercent 15 -#define gppwm_channel_e_GPPWM_FuelLoad 5 -#define gppwm_channel_e_GPPWM_GppwmOutput1 18 -#define gppwm_channel_e_GPPWM_GppwmOutput2 19 -#define gppwm_channel_e_GPPWM_GppwmOutput3 20 -#define gppwm_channel_e_GPPWM_GppwmOutput4 21 -#define gppwm_channel_e_GPPWM_Iat 4 -#define gppwm_channel_e_GPPWM_IgnLoad 6 -#define gppwm_channel_e_GPPWM_LuaGauge1 22 -#define gppwm_channel_e_GPPWM_LuaGauge2 23 -#define gppwm_channel_e_GPPWM_Map 2 -#define gppwm_channel_e_GPPWM_Rpm 24 -#define gppwm_channel_e_GPPWM_Tps 1 -#define gppwm_channel_e_GPPWM_Vbatt 10 -#define gppwm_channel_e_GPPWM_VVT_1E 12 -#define gppwm_channel_e_GPPWM_VVT_1I 11 -#define gppwm_channel_e_GPPWM_VVT_2E 14 -#define gppwm_channel_e_GPPWM_VVT_2I 13 -#define gppwm_channel_e_GPPWM_Zero 0 -#define gppwm_channel_size 108 -#define GPPWM_CHANNELS 4 -#define gppwm_compare_mode_e_GPPWM_GreaterThan 0 -#define gppwm_compare_mode_e_GPPWM_LessThan 1 -#define GPPWM_LOAD_COUNT 8 -#define GPPWM_NOTE_SIZE 16 -#define GPPWM_RPM_COUNT 8 -#define hpfp_cam_e_auto_enum 0="HPFP_CAM_NONE",2="HPFP_CAM_EX1",4="HPFP_CAM_EX2",1="HPFP_CAM_IN1",3="HPFP_CAM_IN2" -#define hpfp_cam_e_enum "NONE", "Intake 1", "Exhaust 1", "Intake 2", "Exhaust 2" -#define hpfp_cam_e_HPFP_CAM_EX1 2 -#define hpfp_cam_e_HPFP_CAM_EX2 4 -#define hpfp_cam_e_HPFP_CAM_IN1 1 -#define hpfp_cam_e_HPFP_CAM_IN2 3 -#define hpfp_cam_e_HPFP_CAM_NONE 0 -#define HPFP_COMPENSATION_SIZE 10 -#define HPFP_DEADTIME_SIZE 8 -#define HPFP_LOBE_PROFILE_SIZE 16 -#define HPFP_TARGET_SIZE 10 -#define HW_MAX_ADC_INDEX 17 -#define IAC_PID_MULT_SIZE 8 -#define IAT_CURVE_SIZE 16 -#define IDLE_ADVANCE_CURVE_SIZE 8 -#define idle_hardware_s_size 12 -#define idle_mode_e_auto_enum 0="IM_AUTO",1="IM_MANUAL" -#define idle_mode_e_IM_AUTO 0 -#define idle_mode_e_IM_MANUAL 1 -#define idle_state_e_BLIP 64 -#define idle_state_e_INIT 0 -#define idle_state_e_PID_UPPER 16 -#define idle_state_e_PID_VALUE 4 -#define idle_state_e_RPM_DEAD_ZONE 2 -#define idle_state_e_TPS_THRESHOLD 1 -#define IDLE_VE_SIZE 4 -#define IGN_BLEND_COUNT 4 -#define IGN_LOAD_COUNT 16 -#define IGN_RPM_COUNT 16 -#define ignition_mode_e_auto_enum 0="IM_ONE_COIL",1="IM_INDIVIDUAL_COILS",3="IM_TWO_COILS",2="IM_WASTED_SPARK" -#define ignition_mode_e_IM_INDIVIDUAL_COILS 1 -#define ignition_mode_e_IM_ONE_COIL 0 -#define ignition_mode_e_IM_TWO_COILS 3 -#define ignition_mode_e_IM_WASTED_SPARK 2 -#define imu_type_e_auto_enum 0="IMU_NONE",2="IMU_MM5_10",3="IMU_TYPE_3",4="IMU_TYPE_4",5="IMU_TYPE_MB_A0065422618",1="IMU_VAG" -#define imu_type_e_IMU_MM5_10 2 -#define imu_type_e_IMU_NONE 0 -#define imu_type_e_IMU_TYPE_3 3 -#define imu_type_e_IMU_TYPE_4 4 -#define imu_type_e_IMU_TYPE_MB_A0065422618 5 -#define imu_type_e_IMU_VAG 1 -#define INDICATOR_NAME_AC_SWITCH "AC switch" -#define INDICATOR_NAME_BRAKE_DOWN "Brake switch" -#define INDICATOR_NAME_CLUTCH_DOWN "Clutch: down" -#define INDICATOR_NAME_CLUTCH_UP "Clutch: up" -#define injection_mode_e_auto_enum 0="IM_SIMULTANEOUS",2="IM_BATCH",1="IM_SEQUENTIAL",3="IM_SINGLE_POINT" -#define injection_mode_e_IM_BATCH 2 -#define injection_mode_e_IM_SEQUENTIAL 1 -#define injection_mode_e_IM_SIMULTANEOUS 0 -#define injection_mode_e_IM_SINGLE_POINT 3 -#define InjectionTimingMode_auto_enum 0="End",2="Center",1="Start" -#define InjectionTimingMode_Center 2 -#define InjectionTimingMode_End 0 -#define InjectionTimingMode_Start 1 -#define injector_compensation_mode_e_auto_enum 0="ICM_None",1="ICM_FixedRailPressure",2="ICM_SensedRailPressure" -#define injector_compensation_mode_e_ICM_FixedRailPressure 1 -#define injector_compensation_mode_e_ICM_None 0 -#define injector_compensation_mode_e_ICM_SensedRailPressure 2 -#define injector_pressure_type_e_auto_enum 0="IPT_Low",1="IPT_High" -#define injector_pressure_type_e_IPT_High 1 -#define injector_pressure_type_e_IPT_Low 0 -#define injector_s_size 36 -#define InjectorNonlinearMode_auto_enum 0="INJ_None",2="INJ_FordModel",1="INJ_PolynomialAdder" -#define InjectorNonlinearMode_INJ_FordModel 2 -#define InjectorNonlinearMode_INJ_None 0 -#define InjectorNonlinearMode_INJ_PolynomialAdder 1 -#define launchActivationMode_e_ALWAYS_ACTIVE_LAUNCH 2 -#define launchActivationMode_e_auto_enum 0="SWITCH_INPUT_LAUNCH",2="ALWAYS_ACTIVE_LAUNCH",1="CLUTCH_INPUT_LAUNCH" -#define launchActivationMode_e_CLUTCH_INPUT_LAUNCH 1 -#define launchActivationMode_e_enum "Launch Button", "Clutch Down Switch", "Always Active(Disabled By Speed)" -#define launchActivationMode_e_SWITCH_INPUT_LAUNCH 0 -#define linear_sensor_s_size 20 -#define load_override_e_AFR_AccPedal 3 -#define load_override_e_AFR_CylFilling 4 -#define load_override_e_AFR_MAP 1 -#define load_override_e_AFR_None 0 -#define load_override_e_AFR_Tps 2 -#define load_override_e_auto_enum 0="AFR_None",3="AFR_AccPedal",4="AFR_CylFilling",1="AFR_MAP",2="AFR_Tps" -#define load_override_e_enum "None", "MAP", "TPS", "Acc Pedal", "Cyl Filling %" -#define LOG_DELIMITER "`" -#define LOGIC_ANALYZER_CHANNEL_COUNT 4 -#define LUA_ANALOG_INPUT_COUNT 8 -#define LUA_DIGITAL_INPUT_COUNT 8 -#define LUA_GAUGE_COUNT 2 -#define LUA_PWM_COUNT 8 -#define LUA_SCRIPT_SIZE 8000 -#define MAF_DECODING_COUNT 256 -#define MAIN_HELP_URL "https://wiki.fome.tech/" -#define MAP_ANGLE_SIZE 8 -#define MAP_sensor_config_s_size 140 -#define MAP_WINDOW_SIZE 8 -#define MAX_CYLINDER_COUNT 12 -#define MLQ_FIELD_HEADER_SIZE 89 -#define MLQ_HEADER_SIZE 24 -#define MOCK_PPS_POSITION_COMMAND "mock_pps_position" -#define MOCK_PPS_VOLTAGE_COMMAND "mock_pps_voltage" -#define operation_mode_e_FOUR_STROKE_CAM_SENSOR 2 -#define operation_mode_e_FOUR_STROKE_CRANK_SENSOR 1 -#define operation_mode_e_FOUR_STROKE_SYMMETRICAL_CRANK_SENSOR 4 -#define operation_mode_e_FOUR_STROKE_THREE_TIMES_CRANK_SENSOR 5 -#define operation_mode_e_FOUR_STROKE_TWELVE_TIMES_CRANK_SENSOR 6 -#define operation_mode_e_OM_NONE 0 -#define operation_mode_e_TWO_STROKE 3 -#define output_pin_e_enum "NONE", "INVALID", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PA8", "PA9", "PA10", "PA11", "PA12", "PA13", "PA14", "PA15", "PB0", "PB1", "PB2", "PB3", "PB4", "PB5", "PB6", "PB7", "PB8", "PB9", "PB10", "PB11", "PB12", "PB13", "PB14", "PB15", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5", "PC6", "PC7", "PC8", "PC9", "PC10", "PC11", "PC12", "PC13", "PC14", "PC15", "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PE0", "PE1", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9", "PE10", "PE11", "PE12", "PE13", "PE14", "PE15", "PF0", "PF1", "PF2", "PF3", "PF4", "PF5", "PF6", "PF7", "PF8", "PF9", "PF10", "PF11", "PF12", "PF13", "PF14", "PF15", "PG0", "PG1", "PG2", "PG3", "PG4", "PG5", "PG6", "PG7", "PG8", "PG9", "PG10", "PG11", "PG12", "PG13", "PG14", "PG15", "PH0", "PH1", "PH2", "PH3", "PH4", "PH5", "PH6", "PH7", "PH8", "PH9", "PH10", "PH11", "PH12", "PH13", "PH14", "PH15", "PI0", "PI1", "PI2", "PI3", "PI4", "PI5", "PI6", "PI7", "PI8", "PI9", "PI10", "PI11", "PI12", "PI13", "PI14", "PI15", "MC33972_1", "MC33972_2", "MC33972_3", "MC33972_4", "MC33972_5", "MC33972_6", "MC33972_7", "MC33972_8", "MC33972_9", "MC33972_10", "MC33972_11", "MC33972_12", "MC33972_13", "MC33972_14", "MC33972_15", "MC33972_16", "MC33972_17", "MC33972_18", "MC33972_19", "MC33972_20", "MC33972_21", "MC33972_22", "TLE8888_1", "TLE8888_2", "TLE8888_3", "TLE8888_4", "TLE8888_5", "TLE8888_6", "TLE8888_7", "TLE8888_8", "TLE8888_9", "TLE8888_10", "TLE8888_11", "TLE8888_12", "TLE8888_13", "TLE8888_14", "TLE8888_15", "TLE8888_16", "TLE8888_17", "TLE8888_18", "TLE8888_19", "TLE8888_20", "TLE8888_21", "TLE8888_22", "TLE8888_23", "TLE8888_24", "TLE8888_25", "TLE8888_26", "TLE8888_27", "TLE8888_28", "INVALID", "INVALID", "INVALID", "TLE6240_1", "TLE6240_2", "TLE6240_3", "TLE6240_4", "TLE6240_5", "TLE6240_6", "TLE6240_7", "TLE6240_8", "TLE6240_9", "TLE6240_10", "TLE6240_11", "TLE6240_12", "TLE6240_13", "TLE6240_14", "TLE6240_15", "TLE6240_16" -#define PACK_ADD_TEMPERATURE 40 -#define PACK_MULT_AFR 1000 -#define PACK_MULT_AFR_CFG 10 -#define PACK_MULT_ANGLE 50 -#define PACK_MULT_FUEL_FLOW 200 -#define PACK_MULT_FUEL_MASS 100 -#define PACK_MULT_HIGH_PRESSURE 10 -#define PACK_MULT_LAMBDA 10000 -#define PACK_MULT_LAMBDA_CFG 147 -#define PACK_MULT_MASS_FLOW 10 -#define PACK_MULT_MS 300 -#define PACK_MULT_PERCENT 100 -#define PACK_MULT_PRESSURE 30 -#define PACK_MULT_TEMPERATURE 100 -#define PACK_MULT_VOLTAGE 1000 -#define PACK_PERCENT_BYTE_MULT 100.0 -#define PEDAL_TO_TPS_SIZE 8 -#define PERCENT_TRIM_BYTE_PACKING_DIV 0.02 -#define persistent_config_s_size 23120 -#define pid_s_size 20 -#define pin_input_mode_e_auto_enum 0="PI_DEFAULT",2="PI_PULLDOWN",1="PI_PULLUP" -#define pin_input_mode_e_enum "DEFAULT", "PULLUP", "PULLDOWN" -#define pin_input_mode_e_PI_DEFAULT 0 -#define pin_input_mode_e_PI_PULLDOWN 2 -#define pin_input_mode_e_PI_PULLUP 1 -#define pin_mode_e_auto_enum 0="PO_DEFAULT",4="PO_OPENDRAIN",64="PO_PULLDOWN",32="PO_PULLUP" -#define pin_mode_e_enum "default", "INVALID", "INVALID", "INVALID", "opendrain", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "PULLUP", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "PULLDOWN" -#define pin_mode_e_PO_DEFAULT 0 -#define pin_mode_e_PO_OPENDRAIN 4 -#define pin_mode_e_PO_PULLDOWN 64 -#define pin_mode_e_PO_PULLUP 32 -#define pin_output_mode_e_auto_enum 0="OM_DEFAULT",1="OM_INVERTED",2="OM_OPENDRAIN",3="OM_OPENDRAIN_INVERTED" -#define pin_output_mode_e_enum "default", "default inverted", "open collector", "open collector inverted" -#define pin_output_mode_e_OM_DEFAULT 0 -#define pin_output_mode_e_OM_INVERTED 1 -#define pin_output_mode_e_OM_OPENDRAIN 2 -#define pin_output_mode_e_OM_OPENDRAIN_INVERTED 3 -#define PROTOCOL_ANALOG_CHART "analog_chart" -#define PROTOCOL_COIL1_SHORT_NAME "c1" -#define PROTOCOL_CRANK1 "t1" -#define PROTOCOL_CRANK2 "t2" -#define PROTOCOL_ENGINE_SNIFFER "wave_chart" -#define PROTOCOL_ES_DOWN "d" -#define PROTOCOL_ES_UP "u" -#define PROTOCOL_HELLO_PREFIX "***" -#define PROTOCOL_HPFP_NAME "hpfp" -#define PROTOCOL_INJ1_SHORT_NAME "i1" -#define PROTOCOL_INJ1_STAGE2_SHORT_NAME "j1" -#define PROTOCOL_MSG "msg" -#define PROTOCOL_OUTPIN "outpin" -#define PROTOCOL_SIGNATURE_PREFIX "rusEFI " -#define PROTOCOL_TEST_RESPONSE_TAG "ts_p_alive" -#define PROTOCOL_VERSION_TAG "fomeVersion" -#define PROTOCOL_VVT1_NAME "VVT1" -#define PROTOCOL_VVT2_NAME "VVT2" -#define PROTOCOL_VVT3_NAME "VVT3" -#define PROTOCOL_VVT4_NAME "VVT4" -#define PROTOCOL_WA_CHANNEL_1 "input1" -#define PROTOCOL_WA_CHANNEL_2 "input2" -#define PROTOCOL_WA_CHANNEL_3 "input3" -#define PROTOCOL_WA_CHANNEL_4 "input4" -#define SCRIPT_CURVE_16 16 -#define SCRIPT_CURVE_8 8 -#define SCRIPT_CURVE_COUNT 6 -#define SCRIPT_SETTING_COUNT 8 -#define SCRIPT_TABLE_8 8 -#define SCRIPT_TABLE_COUNT 4 -#define SelectedGear_Drive 6 -#define SelectedGear_Invalid 0 -#define SelectedGear_Low 11 -#define SelectedGear_Manual 7 -#define SelectedGear_Manual1 10 -#define SelectedGear_Manual2 9 -#define SelectedGear_Manual3 8 -#define SelectedGear_ManualMinus 2 -#define SelectedGear_ManualPlus 1 -#define SelectedGear_Neutral 5 -#define SelectedGear_Park 3 -#define SelectedGear_Reverse 4 -#define sensor_chart_e_auto_enum 0="SC_OFF",5="SC_AUX_FAST1",4="SC_DETAILED_RPM",3="SC_RPM_ACCEL",1="SC_TRIGGER" -#define sensor_chart_e_enum "none", "trigger", "INVALID", "RPM ACCEL", "DETAILED RPM", "Fast Aux1" -#define sensor_chart_e_SC_AUX_FAST1 5 -#define sensor_chart_e_SC_DETAILED_RPM 4 -#define sensor_chart_e_SC_OFF 0 -#define sensor_chart_e_SC_RPM_ACCEL 3 -#define sensor_chart_e_SC_TRIGGER 1 -#define SENT_INPUT_COUNT 1 -#define SentEtbType_auto_enum 0="NONE",2="FORD_TYPE_1",1="GM_TYPE_1" -#define SentEtbType_enum "None", "GM type 1", "Ford type 1" -#define SentEtbType_FORD_TYPE_1 2 -#define SentEtbType_GM_TYPE_1 1 -#define SentEtbType_NONE 0 -#define show_Frankenso_presets true -#define show_test_presets true -#define SIGNATURE_HASH 4155893268 -#define spi_device_e_auto_enum 0="SPI_NONE",1="SPI_DEVICE_1",2="SPI_DEVICE_2",3="SPI_DEVICE_3",4="SPI_DEVICE_4" -#define spi_device_e_SPI_DEVICE_1 1 -#define spi_device_e_SPI_DEVICE_2 2 -#define spi_device_e_SPI_DEVICE_3 3 -#define spi_device_e_SPI_DEVICE_4 4 -#define spi_device_e_SPI_NONE 0 -#define spi_speed_e__150KHz 3 -#define spi_speed_e__1_25MHz 2 -#define spi_speed_e__2_5MHz 1 -#define spi_speed_e__5MHz 0 -#define stepper_num_micro_steps_e_auto_enum 0="STEPPER_FULL",8="STEPPER_EIGHTH",4="STEPPER_FOURTH",2="STEPPER_HALF" -#define stepper_num_micro_steps_e_enum "Full-Step (Default)", "INVALID", "Half-Step", "INVALID", "1/4 Micro-Step", "INVALID", "INVALID", "INVALID", "1/8 Micro-Step" -#define stepper_num_micro_steps_e_STEPPER_EIGHTH 8 -#define stepper_num_micro_steps_e_STEPPER_FOURTH 4 -#define stepper_num_micro_steps_e_STEPPER_FULL 0 -#define stepper_num_micro_steps_e_STEPPER_HALF 2 -#define STFT_BANK_COUNT 2 -#define stft_cell_cfg_s_size 4 -#define STFT_CELL_COUNT 4 -#define stft_s_size 24 -#define switch_input_pin_e_enum "NONE", "INVALID", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PA8", "PA9", "PA10", "PA11", "PA12", "PA13", "PA14", "PA15", "PB0", "PB1", "PB2", "PB3", "PB4", "PB5", "PB6", "PB7", "PB8", "PB9", "PB10", "PB11", "PB12", "PB13", "PB14", "PB15", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5", "PC6", "PC7", "PC8", "PC9", "PC10", "PC11", "PC12", "PC13", "PC14", "PC15", "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PE0", "PE1", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9", "PE10", "PE11", "PE12", "PE13", "PE14", "PE15", "PF0", "PF1", "PF2", "PF3", "PF4", "PF5", "PF6", "PF7", "PF8", "PF9", "PF10", "PF11", "PF12", "PF13", "PF14", "PF15", "PG0", "PG1", "PG2", "PG3", "PG4", "PG5", "PG6", "PG7", "PG8", "PG9", "PG10", "PG11", "PG12", "PG13", "PG14", "PG15", "PH0", "PH1", "PH2", "PH3", "PH4", "PH5", "PH6", "PH7", "PH8", "PH9", "PH10", "PH11", "PH12", "PH13", "PH14", "PH15", "PI0", "PI1", "PI2", "PI3", "PI4", "PI5", "PI6", "PI7", "PI8", "PI9", "PI10", "PI11", "PI12", "PI13", "PI14", "PI15" -#define tChargeMode_e_auto_enum 0="TCHARGE_MODE_RPM_TPS",1="TCHARGE_MODE_AIR_INTERP",2="TCHARGE_MODE_AIR_INTERP_TABLE" -#define tChargeMode_e_enum "RPM+TPS (Default)", "Air Mass Interpolation", "Table" -#define tChargeMode_e_TCHARGE_MODE_AIR_INTERP 1 -#define tChargeMode_e_TCHARGE_MODE_AIR_INTERP_TABLE 2 -#define tChargeMode_e_TCHARGE_MODE_RPM_TPS 0 -#define TCU_GEAR_COUNT 10 -#define TCU_MAGIC_SIZE 8 -#define TCU_SOLENOID_COUNT 6 -#define thermistor_conf_s_size 28 -#define ThermistorConf_size 32 -#define timing_mode_e_auto_enum 0="TM_DYNAMIC",1="TM_FIXED" -#define timing_mode_e_TM_DYNAMIC 0 -#define timing_mode_e_TM_FIXED 1 -#define tle8888_mode_e_auto_enum 0="TL_AUTO",3="TL_HALL",2="TL_MANUAL",1="TL_SEMI_AUTO" -#define tle8888_mode_e_TL_AUTO 0 -#define tle8888_mode_e_TL_HALL 3 -#define tle8888_mode_e_TL_MANUAL 2 -#define tle8888_mode_e_TL_SEMI_AUTO 1 -#define TOOTH_DATA_LENGTH 2000 -#define TOOTH_PACKET_COUNT 1000 -#define TOOTH_PACKET_SIZE 2 -#define TOP_DEAD_CENTER_MESSAGE "r" -#define TORQUE_CURVE_SIZE 6 -#define TOTAL_CONFIG_SIZE 23120 -#define TPS_2_BYTE_PACKING_MULT 100 -#define TPS_TPS_ACCEL_CLT_CORR_TABLE 4 -#define TPS_TPS_ACCEL_TABLE 8 -#define transmission_controller_e_enum "None", "Simple Transmission", "GM 4L6X" -#define TransmissionControllerMode_auto_enum 0="None",2="Gm4l6x",1="SimpleTransmissionController" -#define TransmissionControllerMode_Gm4l6x 2 -#define TransmissionControllerMode_None 0 -#define TransmissionControllerMode_SimpleTransmissionController 1 -#define TRIGGER_COMMENT "#" -#define trigger_config_s_size 12 -#define TRIGGER_CRANK_BASED trigger_type == 2 || trigger_type == 5 || trigger_type == 10 || trigger_type == 12 || trigger_type == 20 || trigger_type == 21 || trigger_type == 26 || trigger_type == 27 || trigger_type == 33 || trigger_type == 38 || trigger_type == 39 || trigger_type == 44 || trigger_type == 45 || trigger_type == 46 || trigger_type == 53 || trigger_type == 55 || trigger_type == 57 || trigger_type == 58 || trigger_type == 61 || trigger_type == 62 || trigger_type == 68 || trigger_type == 70 || trigger_type == 71 || trigger_type == 72 || trigger_type == 74 -#define TRIGGER_CYCLE_DURATION "cycleDuration" -#define TRIGGER_GAP_FROM "gapFrom" -#define TRIGGER_GAP_TO "gapTo" -#define TRIGGER_GAPS_COUNT "gapsCount" -#define TRIGGER_HARDCODED_OPERATION_MODE "knownOperationMode" -#define TRIGGER_HAS_SECOND_CHANNEL "hasSecondChannel" -#define TRIGGER_INPUT_PIN_COUNT 2 -#define TRIGGER_IS_CRANK_KEY "crankBased" -#define TRIGGER_IS_SECOND_WHEEL_CAM "isSecondWheelCam" -#define TRIGGER_SIMULATOR_PIN_COUNT 2 -#define trigger_type_e_auto_enum 0="TT_TOOTHED_WHEEL",38="TT_12_TOOTH_CRANK",50="TT_1_16",25="TT_2JZ_3_34",70="TT_36_2_1",71="TT_36_2_1_1",23="TT_36_2_2_2",31="TT_3_1_CAM",20="TT_60_2_VW",21="TT_BENELLI_TRE",30="TT_CHRYSLER_NGC_36_2_2",6="TT_DAIHATSU",2="TT_DODGE_NEON_1995",39="TT_DODGE_NEON_1995_ONLY_CRANK",14="TT_DODGE_NEON_2003_CAM",32="TT_DODGE_NEON_2003_CRANK",19="TT_DODGE_RAM",22="TT_DODGE_STRATUS",41="TT_FIAT_IAW_P8",1="TT_FORD_ASPIRE",42="TT_FORD_ST170",65="TT_FORD_TFI_PIP",27="TT_GM_24x",74="TT_GM_24x_2",54="TT_GM_60_2_2_2",5="TT_GM_7X",28="TT_HONDA_CBR_600",67="TT_HONDA_K_CAM_4_1",46="TT_HONDA_K_CRANK_12_1",37="TT_JEEP_18_2_2_2",40="TT_JEEP_4_CYL",57="TT_KAWA_KX450F",15="TT_MAZDA_DOHC_1_4",3="TT_MAZDA_MIATA_NA",35="TT_MAZDA_MIATA_VVT_TEST",7="TT_MAZDA_SOHC_4",10="TT_MERCEDES_2_SEGMENT",33="TT_MIATA_VVT",11="TT_MITSUBISHI_4G93",4="TT_MITSUBISHI_MESS",34="TT_MITSU_4G63_CAM",29="TT_MITSU_4G9x_CAM",52="TT_NISSAN_MR18_CAM_VVT",68="TT_NISSAN_MR18_CRANK",61="TT_NISSAN_QR25",24="TT_NISSAN_SR20VE",60="TT_NISSAN_VQ30",58="TT_NISSAN_VQ35",18="TT_ONE",16="TT_ONE_PLUS_ONE",44="TT_RENIX_44_2_2",45="TT_RENIX_66_2_2_2",26="TT_ROVER_K",55="TT_SKODA_FAVORIT",36="TT_SUBARU_7_6",51="TT_SUBARU_7_WITHOUT_6",12="TT_SUBARU_EZ30",49="TT_SUBARU_SVX",64="TT_SUBARU_SVX_CAM_VVT",63="TT_SUBARU_SVX_CRANK_1",66="TT_SUZUKI_G13B",69="TT_TOOTHED_WHEEL_32_2",9="TT_TOOTHED_WHEEL_36_1",48="TT_TOOTHED_WHEEL_36_2",8="TT_TOOTHED_WHEEL_60_2",53="TT_TRI_TACH",75="TT_UNUSED",56="TT_VVT_BARRA_3_PLUS_1",47="TT_VVT_BOSCH_QUICK_START",13="TT_VVT_MAZDA_SKYACTIV",43="TT_VVT_MIATA_NB",62="TT_VVT_MITSUBISHI_3A92",72="TT_VVT_MITSUBISHI_6G75",59="TT_VVT_NISSAN_VQ35",17="TT_VVT_TOYOTA_3_TOOTH",73="TT_VVT_TOYOTA_4_1" -#define trigger_type_e_enum "custom toothed wheel", "Ford Aspire", "Dodge Neon 1995", "Miata NA", "Mitsubishi Mess 4", "GM_7X", "Cooper R50", "Mazda SOHC 4", "60/2", "36/1", "Mercedes Two Segment", "Mitsubishi 4G93 11", "EZ30", "INVALID", "Dodge Neon 2003", "Mazda DOHC 1+4", "1+1", "INVALID", "Single Tooth", "Dodge Ram 1+16", "60/2 VW", "Benelli Tre", "Dodge Stratus", "36_2_2_2", "Nissan Primera", "dev 2JZ 3/34 simulator", "Rover K", "GM 24x 5 degree", "Honda CBR 600", "Mitsubishi 4G92/93/94 Cam 29", "Honda CBR 600 custom", "3/1 skipped", "Dodge Neon 2003 crank", "Miata NB", "Mitsubishi 4G63 Cam 34", "INVALID", "Subaru 7+6", "Jeep 18-2-2-2", "12 tooth crank", "Dodge Neon 1995 crank only", "Jeep XJ 4 cyl", "FiatIAQ_P8", "Mazda Z5", "INVALID", "Renix 44-2-2", "Renix 66-2-2-2", "Honda K 12+1", "INVALID", "36/2", "Subaru SVX", "1+16", "Subaru 7 without 6", "INVALID", "TriTach", "GM 60/2/2/2", "Skoda Favorit", "Barra 3+1 Cam", "Kawa KX450F", "Nissan VQ35", "INVALID", "Nissan VQ30", "Nissan QR25", "Mitsubishi 3A92", "Subaru SVX Crank 1", "Subaru SVX Cam VVT", "Ford PIP", "Suzuki G13B", "Honda K 4+1", "Nissan MR18 Crank", "32/2", "36-2-1", "36-2-1-1", "INVALID", "INVALID", "GM 24x 3 degree", "trg75" -#define trigger_type_e_TT_12_TOOTH_CRANK 38 -#define trigger_type_e_TT_1_16 50 -#define trigger_type_e_TT_2JZ_3_34 25 -#define trigger_type_e_TT_36_2_1 70 -#define trigger_type_e_TT_36_2_1_1 71 -#define trigger_type_e_TT_36_2_2_2 23 -#define trigger_type_e_TT_3_1_CAM 31 -#define trigger_type_e_TT_60_2_VW 20 -#define trigger_type_e_TT_BENELLI_TRE 21 -#define trigger_type_e_TT_CHRYSLER_NGC_36_2_2 30 -#define trigger_type_e_TT_DAIHATSU 6 -#define trigger_type_e_TT_DODGE_NEON_1995 2 -#define trigger_type_e_TT_DODGE_NEON_1995_ONLY_CRANK 39 -#define trigger_type_e_TT_DODGE_NEON_2003_CAM 14 -#define trigger_type_e_TT_DODGE_NEON_2003_CRANK 32 -#define trigger_type_e_TT_DODGE_RAM 19 -#define trigger_type_e_TT_DODGE_STRATUS 22 -#define trigger_type_e_TT_FIAT_IAW_P8 41 -#define trigger_type_e_TT_FORD_ASPIRE 1 -#define trigger_type_e_TT_FORD_ST170 42 -#define trigger_type_e_TT_FORD_TFI_PIP 65 -#define trigger_type_e_TT_GM_24x 27 -#define trigger_type_e_TT_GM_24x_2 74 -#define trigger_type_e_TT_GM_60_2_2_2 54 -#define trigger_type_e_TT_GM_7X 5 -#define trigger_type_e_TT_HONDA_CBR_600 28 -#define trigger_type_e_TT_HONDA_K_CAM_4_1 67 -#define trigger_type_e_TT_HONDA_K_CRANK_12_1 46 -#define trigger_type_e_TT_JEEP_18_2_2_2 37 -#define trigger_type_e_TT_JEEP_4_CYL 40 -#define trigger_type_e_TT_KAWA_KX450F 57 -#define trigger_type_e_TT_MAZDA_DOHC_1_4 15 -#define trigger_type_e_TT_MAZDA_MIATA_NA 3 -#define trigger_type_e_TT_MAZDA_MIATA_VVT_TEST 35 -#define trigger_type_e_TT_MAZDA_SOHC_4 7 -#define trigger_type_e_TT_MERCEDES_2_SEGMENT 10 -#define trigger_type_e_TT_MIATA_VVT 33 -#define trigger_type_e_TT_MITSU_4G63_CAM 34 -#define trigger_type_e_TT_MITSU_4G9x_CAM 29 -#define trigger_type_e_TT_MITSUBISHI_4G93 11 -#define trigger_type_e_TT_MITSUBISHI_MESS 4 -#define trigger_type_e_TT_NISSAN_MR18_CAM_VVT 52 -#define trigger_type_e_TT_NISSAN_MR18_CRANK 68 -#define trigger_type_e_TT_NISSAN_QR25 61 -#define trigger_type_e_TT_NISSAN_SR20VE 24 -#define trigger_type_e_TT_NISSAN_VQ30 60 -#define trigger_type_e_TT_NISSAN_VQ35 58 -#define trigger_type_e_TT_ONE 18 -#define trigger_type_e_TT_ONE_PLUS_ONE 16 -#define trigger_type_e_TT_RENIX_44_2_2 44 -#define trigger_type_e_TT_RENIX_66_2_2_2 45 -#define trigger_type_e_TT_ROVER_K 26 -#define trigger_type_e_TT_SKODA_FAVORIT 55 -#define trigger_type_e_TT_SUBARU_7_6 36 -#define trigger_type_e_TT_SUBARU_7_WITHOUT_6 51 -#define trigger_type_e_TT_SUBARU_EZ30 12 -#define trigger_type_e_TT_SUBARU_SVX 49 -#define trigger_type_e_TT_SUBARU_SVX_CAM_VVT 64 -#define trigger_type_e_TT_SUBARU_SVX_CRANK_1 63 -#define trigger_type_e_TT_SUZUKI_G13B 66 -#define trigger_type_e_TT_TOOTHED_WHEEL 0 -#define trigger_type_e_TT_TOOTHED_WHEEL_32_2 69 -#define trigger_type_e_TT_TOOTHED_WHEEL_36_1 9 -#define trigger_type_e_TT_TOOTHED_WHEEL_36_2 48 -#define trigger_type_e_TT_TOOTHED_WHEEL_60_2 8 -#define trigger_type_e_TT_TRI_TACH 53 -#define trigger_type_e_TT_UNUSED 75 -#define trigger_type_e_TT_VVT_BARRA_3_PLUS_1 56 -#define trigger_type_e_TT_VVT_BOSCH_QUICK_START 47 -#define trigger_type_e_TT_VVT_MAZDA_SKYACTIV 13 -#define trigger_type_e_TT_VVT_MIATA_NB 43 -#define trigger_type_e_TT_VVT_MITSUBISHI_3A92 62 -#define trigger_type_e_TT_VVT_MITSUBISHI_6G75 72 -#define trigger_type_e_TT_VVT_NISSAN_VQ35 59 -#define trigger_type_e_TT_VVT_TOYOTA_3_TOOTH 17 -#define trigger_type_e_TT_VVT_TOYOTA_4_1 73 -#define TRIGGER_TYPE_WITH_SECOND_WHEEL trigger_type == 1 || trigger_type == 3 || trigger_type == 11 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 25 || trigger_type == 28 || trigger_type == 31 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64 -#define TRIGGER_TYPE_WITHOUT_KNOWN_LOCATION trigger_type == 8 || trigger_type == 9 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69 || trigger_type == 73 -#define TRIGGER_WITH_SYNC "isSynchronizationNeeded" -#define TRIGGERS_FILE_NAME "triggers.txt" -#define TRIM_SIZE 4 -#define TS_BLOCK_READ_TIMEOUT 3000 -#define TS_BURN_COMMAND 'B' -#define TS_BURN_COMMAND_char B -#define TS_CHUNK_WRITE_COMMAND 'C' -#define TS_CHUNK_WRITE_COMMAND_char C -#define ts_command_e_TS_BENCH_CATEGORY 22 -#define ts_command_e_TS_CLEAR_WARNINGS 17 -#define ts_command_e_TS_COMMAND_1 1 -#define ts_command_e_TS_COMMAND_11 11 -#define ts_command_e_TS_COMMAND_12 12 -#define ts_command_e_TS_COMMAND_13 13 -#define ts_command_e_TS_COMMAND_14 14 -#define ts_command_e_TS_COMMAND_15 15 -#define ts_command_e_TS_COMMAND_16 16 -#define ts_command_e_TS_COMMAND_4 4 -#define ts_command_e_TS_COMMAND_5 5 -#define ts_command_e_TS_COMMAND_9 9 -#define ts_command_e_TS_DEBUG_MODE 0 -#define ts_command_e_TS_GRAB_PEDAL_UP 6 -#define ts_command_e_TS_GRAB_PEDAL_WOT 7 -#define ts_command_e_TS_GRAB_TPS_CLOSED 2 -#define ts_command_e_TS_GRAB_TPS_WOT 3 -#define ts_command_e_TS_IGNITION_CATEGORY 18 -#define ts_command_e_TS_INJECTOR_CATEGORY 19 -#define ts_command_e_TS_LUA_OUTPUT_CATEGORY 32 -#define ts_command_e_TS_RESET_TLE8888 8 -#define ts_command_e_TS_SET_DEFAULT_ENGINE 31 -#define ts_command_e_TS_SET_ENGINE_TYPE 30 -#define ts_command_e_TS_SOLENOID_CATEGORY 25 -#define ts_command_e_TS_UNUSED_23 23 -#define ts_command_e_TS_UNUSED_24 24 -#define ts_command_e_TS_UNUSED_26 26 -#define ts_command_e_TS_UNUSED_27 27 -#define ts_command_e_TS_UNUSED_28 28 -#define ts_command_e_TS_UNUSED_29 29 -#define ts_command_e_TS_WIDEBAND 21 -#define ts_command_e_TS_WRITE_FLASH 10 -#define ts_command_e_TS_X14 20 -#define TS_COMMAND_F 'F' -#define TS_COMMAND_F_char F -#define TS_COMPOSITE_DISABLE 2 -#define TS_COMPOSITE_ENABLE 1 -#define TS_COMPOSITE_READ 3 -#define TS_CRC_CHECK_COMMAND 'k' -#define TS_CRC_CHECK_COMMAND_char k -#define TS_EXECUTE 'E' -#define TS_EXECUTE_char E -#define TS_FILE_VERSION 20210312 -#define TS_FILE_VERSION_OFFSET 124 -#define TS_GET_CONFIG_ERROR 'e' -#define TS_GET_CONFIG_ERROR_char e -#define TS_GET_FIRMWARE_VERSION 'V' -#define TS_GET_FIRMWARE_VERSION_char V -#define TS_GET_PROTOCOL_VERSION_COMMAND_F 'F' -#define TS_GET_PROTOCOL_VERSION_COMMAND_F_char F -#define TS_GET_TEXT 'G' -#define TS_GET_TEXT_char G -#define TS_HELLO_COMMAND 'S' -#define TS_HELLO_COMMAND_char S -#define TS_IO_TEST_COMMAND 'Z' -#define TS_IO_TEST_COMMAND_char Z -#define TS_ONLINE_PROTOCOL 'z' -#define TS_ONLINE_PROTOCOL_char z -#define TS_OUTPUT_COMMAND 'O' -#define TS_OUTPUT_COMMAND_char O -#define TS_PAGE_COMMAND 'P' -#define TS_PAGE_COMMAND_char P -#define TS_PERF_TRACE_BEGIN '_' -#define TS_PERF_TRACE_BEGIN_char _ -#define TS_PERF_TRACE_GET_BUFFER 'b' -#define TS_PERF_TRACE_GET_BUFFER_char b -#define TS_PROTOCOL "001" -#define TS_QUERY_BOOTLOADER 'L' -#define TS_QUERY_BOOTLOADER_char L -#define TS_QUERY_BOOTLOADER_NONE 0 -#define TS_QUERY_BOOTLOADER_OPENBLT 1 -#define TS_QUERY_COMMAND 'Q' -#define TS_QUERY_COMMAND_char Q -#define TS_READ_COMMAND 'R' -#define TS_READ_COMMAND_char R -#define TS_RESPONSE_BURN_OK 4 -#define TS_RESPONSE_COMMAND_OK 7 -#define TS_RESPONSE_CRC_FAILURE 0x82 -#define TS_RESPONSE_FRAMING_ERROR 0x8D -#define TS_RESPONSE_OK 0 -#define TS_RESPONSE_OUT_OF_RANGE 0x84 -#define TS_RESPONSE_UNDERRUN 0x80 -#define TS_RESPONSE_UNRECOGNIZED_COMMAND 0x83 -#define TS_SET_LOGGER_SWITCH 'l' -#define TS_SET_LOGGER_SWITCH_char l -#define ts_show_analog_divider true -#define ts_show_auxserial_pins true -#define ts_show_can2 true -#define ts_show_can_pins true -#define ts_show_clt_iat_pullup true -#define ts_show_critical_led true -#define ts_show_egt true -#define ts_show_etb true -#define ts_show_etb_pins true -#define ts_show_full_pinout true -#define ts_show_hardware_simulator true -#define ts_show_ign_fault false -#define ts_show_ignitionPinMode true -#define ts_show_inj_fault false -#define ts_show_injectionPinMode true -#define ts_show_joystick true -#define ts_show_lcd true -#define ts_show_main_relay true -#define ts_show_main_relay_microRusEFI_message false -#define ts_show_sd_card true -#define ts_show_sd_pins true -#define ts_show_software_knock true -#define ts_show_spi true -#define ts_show_trigger_comparator false -#define ts_show_tunerstudio_port true -#define ts_show_vbatt true -#define ts_show_vr_threshold_2 true -#define ts_show_vr_threshold_all true -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.f407-discovery.4155893268" -#define TS_SINGLE_WRITE_COMMAND 'W' -#define TS_SINGLE_WRITE_COMMAND_char W -#define TS_TEST_COMMAND 't' -#define TS_TEST_COMMAND_char t -#define TS_TOTAL_OUTPUT_SIZE 1384 -#define TS_TRIGGER_SCOPE_CHANNEL_1_NAME "Channel 1" -#define TS_TRIGGER_SCOPE_CHANNEL_2_NAME "Channel 2" -#define TS_TRIGGER_SCOPE_DISABLE 5 -#define TS_TRIGGER_SCOPE_ENABLE 4 -#define TS_TRIGGER_SCOPE_READ 6 -#define TsCalMode_EtbKd 5 -#define TsCalMode_EtbKi 4 -#define TsCalMode_EtbKp 3 -#define TsCalMode_None 0 -#define TsCalMode_PedalMax 13 -#define TsCalMode_PedalMin 12 -#define TsCalMode_Tps1Max 1 -#define TsCalMode_Tps1Min 2 -#define TsCalMode_Tps1SecondaryMax 6 -#define TsCalMode_Tps1SecondaryMin 7 -#define TsCalMode_Tps2Max 8 -#define TsCalMode_Tps2Min 9 -#define TsCalMode_Tps2SecondaryMax 10 -#define TsCalMode_Tps2SecondaryMin 11 -#define uart_device_e_auto_enum 0="UART_NONE",1="UART_DEVICE_1",2="UART_DEVICE_2",3="UART_DEVICE_3",4="UART_DEVICE_4" -#define uart_device_e_UART_DEVICE_1 1 -#define uart_device_e_UART_DEVICE_2 2 -#define uart_device_e_UART_DEVICE_3 3 -#define uart_device_e_UART_DEVICE_4 4 -#define uart_device_e_UART_NONE 0 -#define VBAT_INJECTOR_CURVE_SIZE 8 -#define VE_BLEND_COUNT 4 -#define ve_override_e_auto_enum 0="VE_None",1="VE_MAP",2="VE_TPS" -#define ve_override_e_enum "None", "MAP", "TPS" -#define ve_override_e_VE_MAP 1 -#define ve_override_e_VE_None 0 -#define ve_override_e_VE_TPS 2 -#define VEHICLE_INFO_SIZE 32 -#define VIN_NUMBER_SIZE 17 -#define VOLTAGE_1_BYTE_PACKING_DIV 0.02 -#define VR_THRESHOLD_COUNT 2 -#define vr_threshold_s_size 16 -#define vvt_mode_e_auto_enum 0="VVT_INACTIVE",8="VVT_BARRA_3_PLUS_1",5="VVT_BOSCH_QUICK_START",7="VVT_FORD_ST170",16="VVT_HONDA_K_EXHAUST",10="VVT_HONDA_K_INTAKE",13="VVT_MAP_V_TWIN",15="VVT_MAZDA_SKYACTIV",3="VVT_MIATA_NB",12="VVT_MITSUBISHI_3A92",18="VVT_MITSUBISHI_4G63",17="VVT_MITSUBISHI_4G9x",14="VVT_MITSUBISHI_6G75",11="VVT_NISSAN_MR",9="VVT_NISSAN_VQ",1="VVT_SINGLE_TOOTH",2="VVT_TOYOTA_3_TOOTH",6="VVT_TOYOTA_4_1" -#define vvt_mode_e_enum "Inactive", "Single Tooth", "Toyota 3 Tooth", "Miata NB2", "INVALID", "Bosch Quick Start", "4/1", "ST 170", "Ford Barra 3+1", "Nissan VQ", "Honda K Intake", "Nissan MR18", "Mitsu 3A92", "VTwin by MAP", "Mitsu 6G75", "Mazda Skyactiv", "Honda K Exhaust", "Mitsubishi 4G92/93/94", "Mitsubishi 4G63" -#define vvt_mode_e_VVT_BARRA_3_PLUS_1 8 -#define vvt_mode_e_VVT_BOSCH_QUICK_START 5 -#define vvt_mode_e_VVT_FORD_ST170 7 -#define vvt_mode_e_VVT_HONDA_K_EXHAUST 16 -#define vvt_mode_e_VVT_HONDA_K_INTAKE 10 -#define vvt_mode_e_VVT_INACTIVE 0 -#define vvt_mode_e_VVT_MAP_V_TWIN 13 -#define vvt_mode_e_VVT_MAZDA_SKYACTIV 15 -#define vvt_mode_e_VVT_MIATA_NB 3 -#define vvt_mode_e_VVT_MITSUBISHI_3A92 12 -#define vvt_mode_e_VVT_MITSUBISHI_4G63 18 -#define vvt_mode_e_VVT_MITSUBISHI_4G9x 17 -#define vvt_mode_e_VVT_MITSUBISHI_6G75 14 -#define vvt_mode_e_VVT_NISSAN_MR 11 -#define vvt_mode_e_VVT_NISSAN_VQ 9 -#define vvt_mode_e_VVT_SINGLE_TOOTH 1 -#define vvt_mode_e_VVT_TOYOTA_3_TOOTH 2 -#define vvt_mode_e_VVT_TOYOTA_4_1 6 -#define WWAE_TABLE_SIZE 8 diff --git a/firmware/controllers/generated/signature_48way.h b/firmware/controllers/generated/signature_48way.h deleted file mode 100644 index 4c36b389f9..0000000000 --- a/firmware/controllers/generated/signature_48way.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 3033175398 -#define TS_SIGNATURE "rusEFI (FOME) master.2023.10.25.48way.3033175398" diff --git a/firmware/controllers/generated/signature_alphax-2chan.h b/firmware/controllers/generated/signature_alphax-2chan.h deleted file mode 100644 index 188e315a0f..0000000000 --- a/firmware/controllers/generated/signature_alphax-2chan.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 2395479334 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.alphax-2chan.2395479334" diff --git a/firmware/controllers/generated/signature_alphax-4chan.h b/firmware/controllers/generated/signature_alphax-4chan.h deleted file mode 100644 index 989cefbdc7..0000000000 --- a/firmware/controllers/generated/signature_alphax-4chan.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 67116871 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.alphax-4chan.67116871" diff --git a/firmware/controllers/generated/signature_alphax-8chan.h b/firmware/controllers/generated/signature_alphax-8chan.h deleted file mode 100644 index 87a0efacd6..0000000000 --- a/firmware/controllers/generated/signature_alphax-8chan.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 2092636606 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.alphax-8chan.2092636606" diff --git a/firmware/controllers/generated/signature_atlas.h b/firmware/controllers/generated/signature_atlas.h deleted file mode 100644 index f1951aa784..0000000000 --- a/firmware/controllers/generated/signature_atlas.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 3076386758 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.atlas.3076386758" diff --git a/firmware/controllers/generated/signature_core48.h b/firmware/controllers/generated/signature_core48.h deleted file mode 100644 index fbd5815efa..0000000000 --- a/firmware/controllers/generated/signature_core48.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 385782074 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.core48.385782074" diff --git a/firmware/controllers/generated/signature_core8.h b/firmware/controllers/generated/signature_core8.h deleted file mode 100644 index b6f942cc41..0000000000 --- a/firmware/controllers/generated/signature_core8.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 2477791063 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.core8.2477791063" diff --git a/firmware/controllers/generated/signature_f407-discovery.h b/firmware/controllers/generated/signature_f407-discovery.h deleted file mode 100644 index 3bee935187..0000000000 --- a/firmware/controllers/generated/signature_f407-discovery.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 4155893268 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.f407-discovery.4155893268" diff --git a/firmware/controllers/generated/signature_f429-discovery.h b/firmware/controllers/generated/signature_f429-discovery.h deleted file mode 100644 index b0be5cd7fc..0000000000 --- a/firmware/controllers/generated/signature_f429-discovery.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 2878806753 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.f429-discovery.2878806753" diff --git a/firmware/controllers/generated/signature_frankenso_na6.h b/firmware/controllers/generated/signature_frankenso_na6.h deleted file mode 100644 index aba7680e0d..0000000000 --- a/firmware/controllers/generated/signature_frankenso_na6.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 2311453227 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.frankenso_na6.2311453227" diff --git a/firmware/controllers/generated/signature_haba208.h b/firmware/controllers/generated/signature_haba208.h deleted file mode 100644 index 3ffc76a15f..0000000000 --- a/firmware/controllers/generated/signature_haba208.h +++ /dev/null @@ -1,6 +0,0 @@ -// -// was NOT generated automatically -// - -#define SIGNATURE_HASH 1047060009 -#define TS_SIGNATURE "rusEFI 2022.10.14.f407-discovery.1047060009" diff --git a/firmware/controllers/generated/signature_harley81.h b/firmware/controllers/generated/signature_harley81.h deleted file mode 100644 index 8138a63aef..0000000000 --- a/firmware/controllers/generated/signature_harley81.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 570565275 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.harley81.570565275" diff --git a/firmware/controllers/generated/signature_hellen-gm-e67.h b/firmware/controllers/generated/signature_hellen-gm-e67.h deleted file mode 100644 index 9d98327551..0000000000 --- a/firmware/controllers/generated/signature_hellen-gm-e67.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 3271439410 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.hellen-gm-e67.3271439410" diff --git a/firmware/controllers/generated/signature_hellen-honda-k.h b/firmware/controllers/generated/signature_hellen-honda-k.h deleted file mode 100644 index 6c11981750..0000000000 --- a/firmware/controllers/generated/signature_hellen-honda-k.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 1500510835 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.hellen-honda-k.1500510835" diff --git a/firmware/controllers/generated/signature_hellen-nb1.h b/firmware/controllers/generated/signature_hellen-nb1.h deleted file mode 100644 index 5cca115ff9..0000000000 --- a/firmware/controllers/generated/signature_hellen-nb1.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 1555041117 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.hellen-nb1.1555041117" diff --git a/firmware/controllers/generated/signature_hellen121nissan.h b/firmware/controllers/generated/signature_hellen121nissan.h deleted file mode 100644 index 2be7dba83e..0000000000 --- a/firmware/controllers/generated/signature_hellen121nissan.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 745252631 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.hellen121nissan.745252631" diff --git a/firmware/controllers/generated/signature_hellen121vag.h b/firmware/controllers/generated/signature_hellen121vag.h deleted file mode 100644 index ca47cce028..0000000000 --- a/firmware/controllers/generated/signature_hellen121vag.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 2154342596 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.hellen121vag.2154342596" diff --git a/firmware/controllers/generated/signature_hellen128.h b/firmware/controllers/generated/signature_hellen128.h deleted file mode 100644 index d509a4943b..0000000000 --- a/firmware/controllers/generated/signature_hellen128.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 721779526 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.hellen128.721779526" diff --git a/firmware/controllers/generated/signature_hellen154hyundai.h b/firmware/controllers/generated/signature_hellen154hyundai.h deleted file mode 100644 index 91ba65c374..0000000000 --- a/firmware/controllers/generated/signature_hellen154hyundai.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 3220331431 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.hellen154hyundai.3220331431" diff --git a/firmware/controllers/generated/signature_hellen72.h b/firmware/controllers/generated/signature_hellen72.h deleted file mode 100644 index 045e216b89..0000000000 --- a/firmware/controllers/generated/signature_hellen72.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 1512276822 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.hellen72.1512276822" diff --git a/firmware/controllers/generated/signature_hellen81.h b/firmware/controllers/generated/signature_hellen81.h deleted file mode 100644 index 7cd2848104..0000000000 --- a/firmware/controllers/generated/signature_hellen81.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 4138334676 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.hellen81.4138334676" diff --git a/firmware/controllers/generated/signature_hellen88bmw.h b/firmware/controllers/generated/signature_hellen88bmw.h deleted file mode 100644 index ed562ad31d..0000000000 --- a/firmware/controllers/generated/signature_hellen88bmw.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 4036095719 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.hellen88bmw.4036095719" diff --git a/firmware/controllers/generated/signature_hellenNA6.h b/firmware/controllers/generated/signature_hellenNA6.h deleted file mode 100644 index b86d6f4c46..0000000000 --- a/firmware/controllers/generated/signature_hellenNA6.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 3089587046 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.hellenNA6.3089587046" diff --git a/firmware/controllers/generated/signature_hellenNA8_96.h b/firmware/controllers/generated/signature_hellenNA8_96.h deleted file mode 100644 index 405cf811c5..0000000000 --- a/firmware/controllers/generated/signature_hellenNA8_96.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 75705558 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.hellenNA8_96.75705558" diff --git a/firmware/controllers/generated/signature_mre_f4.h b/firmware/controllers/generated/signature_mre_f4.h deleted file mode 100644 index 807db1b1bb..0000000000 --- a/firmware/controllers/generated/signature_mre_f4.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 1276739417 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.mre_f4.1276739417" diff --git a/firmware/controllers/generated/signature_mre_f7.h b/firmware/controllers/generated/signature_mre_f7.h deleted file mode 100644 index 21c155aee1..0000000000 --- a/firmware/controllers/generated/signature_mre_f7.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 1276739417 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.mre_f7.1276739417" diff --git a/firmware/controllers/generated/signature_prometheus_405.h b/firmware/controllers/generated/signature_prometheus_405.h deleted file mode 100644 index 835da198be..0000000000 --- a/firmware/controllers/generated/signature_prometheus_405.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 2600720241 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.prometheus_405.2600720241" diff --git a/firmware/controllers/generated/signature_prometheus_469.h b/firmware/controllers/generated/signature_prometheus_469.h deleted file mode 100644 index 114806c880..0000000000 --- a/firmware/controllers/generated/signature_prometheus_469.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 2600720241 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.prometheus_469.2600720241" diff --git a/firmware/controllers/generated/signature_proteus_f4.h b/firmware/controllers/generated/signature_proteus_f4.h deleted file mode 100644 index d37ec1c22c..0000000000 --- a/firmware/controllers/generated/signature_proteus_f4.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 984209674 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.proteus_f4.984209674" diff --git a/firmware/controllers/generated/signature_proteus_f7.h b/firmware/controllers/generated/signature_proteus_f7.h deleted file mode 100644 index 79a671f489..0000000000 --- a/firmware/controllers/generated/signature_proteus_f7.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 984209674 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.proteus_f7.984209674" diff --git a/firmware/controllers/generated/signature_proteus_h7.h b/firmware/controllers/generated/signature_proteus_h7.h deleted file mode 100644 index 9c9347f62d..0000000000 --- a/firmware/controllers/generated/signature_proteus_h7.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 984209674 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.proteus_h7.984209674" diff --git a/firmware/controllers/generated/signature_small-can-board.h b/firmware/controllers/generated/signature_small-can-board.h deleted file mode 100644 index 6181750b10..0000000000 --- a/firmware/controllers/generated/signature_small-can-board.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 1140526463 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.small-can-board.1140526463" diff --git a/firmware/controllers/generated/signature_subaru_eg33_f7.h b/firmware/controllers/generated/signature_subaru_eg33_f7.h deleted file mode 100644 index e5bcbaf6d6..0000000000 --- a/firmware/controllers/generated/signature_subaru_eg33_f7.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 784075886 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.subaru_eg33_f7.784075886" diff --git a/firmware/controllers/generated/signature_tdg-pdm8.h b/firmware/controllers/generated/signature_tdg-pdm8.h deleted file mode 100644 index 2e2a6bb54a..0000000000 --- a/firmware/controllers/generated/signature_tdg-pdm8.h +++ /dev/null @@ -1,2 +0,0 @@ -#define SIGNATURE_HASH 557397699 -#define TS_SIGNATURE "rusEFI (FOME) master.2024.01.17.tdg-pdm8.557397699" diff --git a/firmware/controllers/lua/generated/output_lookup_generated.cpp b/firmware/controllers/lua/generated/output_lookup_generated.cpp deleted file mode 100644 index 213fa2ad9f..0000000000 --- a/firmware/controllers/lua/generated/output_lookup_generated.cpp +++ /dev/null @@ -1,726 +0,0 @@ -#if !EFI_UNIT_TEST -#include "pch.h" -#include "value_lookup.h" -float getOutputValueByName(const char *name) { - int hash = djb2lowerCase(name); - switch(hash) { - case -230533156: - return engine->outputChannels.sd_present; - case 708639006: - return engine->outputChannels.sd_logging_internal; - case -770506808: - return engine->outputChannels.triggerScopeReady; - case 1155330306: - return engine->outputChannels.antilagTriggered; - case -1441751117: - return engine->outputChannels.isFanOn; - case 438683128: - return engine->outputChannels.isO2HeaterOn; - case -1790051911: - return engine->outputChannels.checkEngine; - case 1368986296: - return engine->outputChannels.needBurn; - case 459787871: - return engine->outputChannels.sd_msd; - case -333212891: - return engine->outputChannels.isFan2On; - case -1548941801: - return engine->outputChannels.acrActive; - case -1662199734: - return engine->outputChannels.toothLogReady; - case 14587330: - return engine->outputChannels.isTpsError; - case 518760558: - return engine->outputChannels.isCltError; - case 23640681: - return engine->outputChannels.isMapError; - case 1505102185: - return engine->outputChannels.isIatError; - case -1746157889: - return engine->outputChannels.isTriggerError; - case -2015383594: - return engine->outputChannels.hasCriticalError; - case -1919072851: - return engine->outputChannels.isWarnNow; - case -2035612655: - return engine->outputChannels.isPedalError; - case -52473827: - return engine->outputChannels.launchTriggered; - case -1529936844: - return engine->outputChannels.isTps2Error; - case 1608791711: - return engine->outputChannels.injectorFault; - case -1158382750: - return engine->outputChannels.ignitionFault; - case -822552576: - return engine->outputChannels.isMainRelayOn; - case 1836976702: - return engine->outputChannels.isUsbConnected; - case -622949795: - return engine->outputChannels.dfcoActive; - case 1699696209: - return engine->outputChannels.RPMValue; - case -968092482: - return engine->outputChannels.rpmAcceleration; - case -685727673: - return engine->outputChannels.speedToRpmRatio; - case -1925174695: - return engine->outputChannels.vehicleSpeedKph; - case -871891659: - return engine->outputChannels.internalMcuTemperature; - case -746111499: - return engine->outputChannels.coolant; - case 81034497: - return engine->outputChannels.intake; - case 1331305978: - return engine->outputChannels.auxTemp1; - case 1331305979: - return engine->outputChannels.auxTemp2; - case 1272048601: - return engine->outputChannels.TPSValue; - case -84435626: - return engine->outputChannels.throttlePedalPosition; - case 513859492: - return engine->outputChannels.tpsADC; - case 417956611: - return engine->outputChannels.rawMaf; - case -2032003569: - return engine->outputChannels.mafMeasured; - case 1281101952: - return engine->outputChannels.MAPValue; - case -2066867294: - return engine->outputChannels.baroPressure; - case -1119268893: - return engine->outputChannels.lambdaValue; - case 277722310: - return engine->outputChannels.VBatt; - case 598268994: - return engine->outputChannels.oilPressure; - case 1384666006: - return engine->outputChannels.vvtPositionB1I; - case 681043126: - return engine->outputChannels.actualLastInjection; - case -354325031: - return engine->outputChannels.injectorDutyCycle; - case 1933507837: - return engine->outputChannels.veValue; - case -243031057: - return engine->outputChannels.injectionOffset; - case 1726931380: - return engine->outputChannels.engineMakeCodeNameCrc16; - case 115540725: - return engine->outputChannels.wallFuelAmount; - case -1511514122: - return engine->outputChannels.wallFuelCorrectionValue; - case -1555114948: - return engine->outputChannels.revolutionCounterSinceStart; - case 1247316691: - return engine->outputChannels.canReadCounter; - case -384925312: - return engine->outputChannels.tpsAccelFuel; - case -802608648: - return engine->outputChannels.ignitionAdvance; - case -3603666: - return engine->outputChannels.currentIgnitionMode; - case -921867120: - return engine->outputChannels.currentInjectionMode; - case 1029096098: - return engine->outputChannels.coilDutyCycle; - case -2105094009: - return engine->outputChannels.etbTarget; - case 1021133095: - return engine->outputChannels.etb1DutyCycle; - case 543832183: - return engine->outputChannels.fuelTankLevel; - case 1417905588: - return engine->outputChannels.totalFuelConsumption; - case 822501973: - return engine->outputChannels.fuelFlowRate; - case 686191307: - return engine->outputChannels.TPS2Value; - case -1158359776: - return engine->outputChannels.tuneCrc16; - case -1962923820: - return engine->outputChannels.seconds; - case -2073424832: - return engine->outputChannels.engineMode; - case 799075048: - return engine->outputChannels.firmwareVersion; - case 2039421097: - return engine->outputChannels.rawWastegatePosition; - case -2133047664: - return engine->outputChannels.accelerationLat; - case -2133047208: - return engine->outputChannels.accelerationLon; - case 283558758: - return engine->outputChannels.detectedGear; - case -1595441102: - return engine->outputChannels.maxTriggerReentrant; - case -148455898: - return engine->outputChannels.rawLowFuelPressure; - case 990714516: - return engine->outputChannels.rawHighFuelPressure; - case -628741220: - return engine->outputChannels.lowFuelPressure; - case -1973799222: - return engine->outputChannels.highFuelPressure; - case -1798336054: - return engine->outputChannels.rawPpsSecondary; - case 471298448: - return engine->outputChannels.tcuDesiredGear; - case 404628421: - return engine->outputChannels.flexPercent; - case 53406649: - return engine->outputChannels.wastegatePositionSensor; - case -1560670902: - return engine->outputChannels.calibrationValue; - case 1774505810: - return engine->outputChannels.calibrationMode; - case 356548450: - return engine->outputChannels.idleStepperTargetPosition; - case 1299611400: - return engine->outputChannels.tsConfigVersion; - case 2018173863: - return engine->outputChannels.totalTriggerErrorCounter; - case -1326404407: - return engine->outputChannels.orderingErrorCounter; - case 1492724763: - return engine->outputChannels.warningCounter; - case -1346040258: - return engine->outputChannels.lastErrorCode; - case 1240443767: - return engine->outputChannels.debugFloatField1; - case 1240443768: - return engine->outputChannels.debugFloatField2; - case 1240443769: - return engine->outputChannels.debugFloatField3; - case 1240443770: - return engine->outputChannels.debugFloatField4; - case 1240443771: - return engine->outputChannels.debugFloatField5; - case 1240443772: - return engine->outputChannels.debugFloatField6; - case 1240443773: - return engine->outputChannels.debugFloatField7; - case -183564276: - return engine->outputChannels.debugIntField1; - case -183564275: - return engine->outputChannels.debugIntField2; - case -183564274: - return engine->outputChannels.debugIntField3; - case -183564273: - return engine->outputChannels.debugIntField4; - case -183564272: - return engine->outputChannels.debugIntField5; - case -1051397637: - return engine->outputChannels.rawTps1Primary; - case -347083354: - return engine->outputChannels.rawPpsPrimary; - case 417946098: - return engine->outputChannels.rawClt; - case 417952269: - return engine->outputChannels.rawIat; - case 2070002124: - return engine->outputChannels.rawOilPressure; - case 1342844099: - return engine->outputChannels.fuelClosedLoopBinIdx; - case -559761101: - return engine->outputChannels.tcuCurrentGear; - case -1093429509: - return engine->outputChannels.AFRValue; - case -513494613: - return engine->outputChannels.VssAcceleration; - case 1718832245: - return engine->outputChannels.lambdaValue2; - case -1723435379: - return engine->outputChannels.AFRValue2; - case 1384666002: - return engine->outputChannels.vvtPositionB1E; - case 1384666039: - return engine->outputChannels.vvtPositionB2I; - case 1384666035: - return engine->outputChannels.vvtPositionB2E; - case 2555743: - return engine->outputChannels.rawTps1Secondary; - case -1382627620: - return engine->outputChannels.rawTps2Primary; - case 70357120: - return engine->outputChannels.rawTps2Secondary; - case -1670732400: - return engine->outputChannels.accelerationVert; - case 519838295: - return engine->outputChannels.gyroYaw; - case -4187390: - return engine->outputChannels.turboSpeed; - case 644036825: - return engine->outputChannels.tps1Split; - case 683172218: - return engine->outputChannels.tps2Split; - case 1533250027: - return engine->outputChannels.tps12Split; - case 864210494: - return engine->outputChannels.accPedalSplit; - case -56739846: - return engine->outputChannels.sparkCutReason; - case -1225000603: - return engine->outputChannels.fuelCutReason; - case -2045040875: - return engine->outputChannels.mafEstimate; - case -658597643: - return engine->outputChannels.instantRpm; - case 417956621: - return engine->outputChannels.rawMap; - case 417943720: - return engine->outputChannels.rawAfr; - case 37467836: - return engine->outputChannels.calibrationValue2; - case 1766132801: - return engine->outputChannels.luaInvocationCounter; - case 823476017: - return engine->outputChannels.luaLastCycleDuration; - case -518694176: - return engine->outputChannels.tcu_currentRange; - case -732434245: - return engine->outputChannels.tcRatio; - case 174310950: - return engine->outputChannels.lastShiftTime; - case 385418550: - return engine->outputChannels.vssEdgeCounter; - case 347478025: - return engine->outputChannels.issEdgeCounter; - case 803810399: - return engine->outputChannels.auxLinear1; - case 803810400: - return engine->outputChannels.auxLinear2; - case -940825965: - return engine->outputChannels.fallbackMap; - case -1162308767: - return engine->outputChannels.instantMAPValue; - case -558968637: - return engine->outputChannels.maxLockedDuration; - case 1193280444: - return engine->outputChannels.canWriteOk; - case 1964920685: - return engine->outputChannels.canWriteNotOk; - case 248437820: - return engine->outputChannels.triggerPrimaryFall; - case 248878000: - return engine->outputChannels.triggerPrimaryRise; - case 1016089632: - return engine->outputChannels.triggerSecondaryFall; - case 1016529812: - return engine->outputChannels.triggerSecondaryRise; - case 1537196344: - return engine->outputChannels.triggerVvtFall; - case 1537636524: - return engine->outputChannels.triggerVvtRise; - case -1438648277: - return engine->outputChannels.starterState; - case 1286045659: - return engine->outputChannels.starterRelayDisable; - case 680091441: - return engine->outputChannels.multiSparkCounter; - case 1630166812: - return engine->outputChannels.extiOverflowCount; - case -1097329029: - return engine->outputChannels.alternatorStatus.pTerm; - case -1105630476: - return engine->outputChannels.alternatorStatus.iTerm; - case -1111560081: - return engine->outputChannels.alternatorStatus.dTerm; - case -1889531804: - return engine->outputChannels.alternatorStatus.output; - case -1110431971: - return engine->outputChannels.alternatorStatus.error; - case -1254008074: - return engine->outputChannels.alternatorStatus.resetCounter; - case -1798819555: - return engine->outputChannels.idleStatus.pTerm; - case -1807121002: - return engine->outputChannels.idleStatus.iTerm; - case -1813050607: - return engine->outputChannels.idleStatus.dTerm; - case 731084614: - return engine->outputChannels.idleStatus.output; - case -1811922497: - return engine->outputChannels.idleStatus.error; - case -424088744: - return engine->outputChannels.idleStatus.resetCounter; - case -41846406: - return engine->outputChannels.etbStatus.pTerm; - case -50147853: - return engine->outputChannels.etbStatus.iTerm; - case -56077458: - return engine->outputChannels.etbStatus.dTerm; - case -1418343613: - return engine->outputChannels.etbStatus.output; - case -54949348: - return engine->outputChannels.etbStatus.error; - case 2098956565: - return engine->outputChannels.etbStatus.resetCounter; - case 407130790: - return engine->outputChannels.boostStatus.pTerm; - case 398829343: - return engine->outputChannels.boostStatus.iTerm; - case 392899738: - return engine->outputChannels.boostStatus.dTerm; - case 513001967: - return engine->outputChannels.boostStatus.output; - case 394027848: - return engine->outputChannels.boostStatus.error; - case 308336833: - return engine->outputChannels.boostStatus.resetCounter; - case 1569192907: - return engine->outputChannels.wastegateDcStatus.pTerm; - case 1560891460: - return engine->outputChannels.wastegateDcStatus.iTerm; - case 1554961855: - return engine->outputChannels.wastegateDcStatus.dTerm; - case 206346164: - return engine->outputChannels.wastegateDcStatus.output; - case 1556089965: - return engine->outputChannels.wastegateDcStatus.error; - case 156247622: - return engine->outputChannels.wastegateDcStatus.resetCounter; - case 957036309: - return engine->outputChannels.auxSpeed1; - case 957036310: - return engine->outputChannels.auxSpeed2; - case 200047729: - return engine->outputChannels.ISSValue; - case 1520918538: - return engine->outputChannels.rawBattery; - case -1124698530: - return engine->outputChannels.coilState1; - case -1124698529: - return engine->outputChannels.coilState2; - case -1124698528: - return engine->outputChannels.coilState3; - case -1124698527: - return engine->outputChannels.coilState4; - case -1124698526: - return engine->outputChannels.coilState5; - case -1124698525: - return engine->outputChannels.coilState6; - case -1124698524: - return engine->outputChannels.coilState7; - case -1124698523: - return engine->outputChannels.coilState8; - case -1124698522: - return engine->outputChannels.coilState9; - case 1539654222: - return engine->outputChannels.coilState10; - case 1539654223: - return engine->outputChannels.coilState11; - case 1539654224: - return engine->outputChannels.coilState12; - case 2081101045: - return engine->outputChannels.injectorState1; - case 2081101046: - return engine->outputChannels.injectorState2; - case 2081101047: - return engine->outputChannels.injectorState3; - case 2081101048: - return engine->outputChannels.injectorState4; - case 2081101049: - return engine->outputChannels.injectorState5; - case 2081101050: - return engine->outputChannels.injectorState6; - case 2081101051: - return engine->outputChannels.injectorState7; - case 2081101052: - return engine->outputChannels.injectorState8; - case 2081101053: - return engine->outputChannels.injectorState9; - case -43142203: - return engine->outputChannels.injectorState10; - case -43142202: - return engine->outputChannels.injectorState11; - case -43142201: - return engine->outputChannels.injectorState12; - case 1894184322: - return engine->outputChannels.outputRequestPeriod; - case -1263258735: - return engine->outputChannels.mapFast; - case 907666325: - return engine->outputChannels.rawMaf2; - case 1663359009: - return engine->outputChannels.mafMeasured2; - case 967311941: - return engine->outputChannels.schedulingUsedCount; - case 2090288615: - return engine->outputChannels.Gego; - case 1092959609: - return engine->outputChannels.testBenchIter; - case 1628523935: - return engine->outputChannels.oilTemp; - case -1077373465: - return engine->outputChannels.fuelTemp; - case 309572379: - return engine->outputChannels.ambientTemp; - case 553570450: - return engine->outputChannels.compressorDischargeTemp; - case 1404346549: - return engine->outputChannels.compressorDischargePressure; - case 769340240: - return engine->outputChannels.throttleInletPressure; - case 795671090: - return engine->outputChannels.ignitionOnTime; - case -1165835361: - return engine->outputChannels.engineRunTime; - case -1357387481: - return engine->outputChannels.distanceTraveled; - case 111403416: - return engine->outputChannels.afrGasolineScale; - case 2029444810: - return engine->outputChannels.afr2GasolineScale; - case -1434098660: - return engine->outputChannels.actualLastInjectionStage2; - case -1337459841: - return engine->outputChannels.injectorDutyCycleStage2; - case -1779658835: - return engine->fuelComputer.totalFuelCorrection; - case -1288205717: - return engine->fuelComputer.running.postCrankingFuelCorrection; - case 197173469: - return engine->fuelComputer.running.intakeTemperatureCoefficient; - case 1822238385: - return engine->fuelComputer.running.coolantTemperatureCoefficient; - case 526786951: - return engine->fuelComputer.running.timeSinceCrankingInSecs; - case -42886021: - return engine->fuelComputer.running.baseFuel; - case -794283008: - return engine->fuelComputer.running.fuel; - case 995190836: - return engine->fuelComputer.afrTableYAxis; - case -734904659: - return engine->fuelComputer.targetLambda; - case 2122891301: - return engine->fuelComputer.targetAFR; - case 341978922: - return engine->fuelComputer.stoichiometricRatio; - case 1417236183: - return engine->fuelComputer.sdTcharge_coff; - case 1650433343: - return engine->fuelComputer.sdAirMassInOneCylinder; - case 1599780729: - return engine->fuelComputer.normalizedCylinderFilling; - case -1777838088: - return engine->ignitionState.baseDwell; - case -903101570: - return engine->ignitionState.sparkDwell; - case -1573373756: - return engine->ignitionState.dwellAngle; - case 256951528: - return engine->ignitionState.cltTimingCorrection; - case -1886479485: - return engine->ignitionState.timingIatCorrection; - case -319326974: - return engine->ignitionState.timingPidCorrection; - case -80612537: - return engine->ignitionState.dwellVoltageCorrection; - case -309610760: - return engine->ignitionState.luaTimingAdd; - case -1626770351: - return engine->ignitionState.luaTimingMult; - case -1571781441: - return ___engine.module()->m_knockLevel; - case -94443575: - return ___engine.module()->m_knockRetard; - case -504596140: - return ___engine.module()->m_knockThreshold; - case -1582096144: - return ___engine.module()->m_knockCount; - case 164334513: - return ___engine.module()->m_maximumRetard; -#if EFI_BOOST_CONTROL - case -575666209: - return ___engine.module()->isTpsInvalid; -#endif -#if EFI_BOOST_CONTROL - case 1846215200: - return ___engine.module()->m_shouldResetPid; -#endif -#if EFI_BOOST_CONTROL - case 1826317915: - return ___engine.module()->isBelowClosedLoopThreshold; -#endif -#if EFI_BOOST_CONTROL - case -1642402810: - return ___engine.module()->isNotClosedLoop; -#endif -#if EFI_BOOST_CONTROL - case 2111912944: - return ___engine.module()->isZeroRpm; -#endif -#if EFI_BOOST_CONTROL - case -2011570052: - return ___engine.module()->hasInitBoost; -#endif -#if EFI_BOOST_CONTROL - case 193830616: - return ___engine.module()->rpmTooLow; -#endif -#if EFI_BOOST_CONTROL - case -1033638560: - return ___engine.module()->tpsTooLow; -#endif -#if EFI_BOOST_CONTROL - case -734877977: - return ___engine.module()->mapTooLow; -#endif -#if EFI_BOOST_CONTROL - case 119157463: - return ___engine.module()->luaTargetAdd; -#endif -#if EFI_BOOST_CONTROL - case 1239062717: - return ___engine.module()->boostOutput; -#endif -#if EFI_BOOST_CONTROL - case -362320880: - return ___engine.module()->luaTargetMult; -#endif -#if EFI_BOOST_CONTROL - case -1481117304: - return ___engine.module()->openLoopPart; -#endif -#if EFI_BOOST_CONTROL - case 1944984220: - return ___engine.module()->luaOpenLoopAdd; -#endif -#if EFI_BOOST_CONTROL - case -707712709: - return ___engine.module()->boostControllerClosedLoopPart; -#endif -#if EFI_BOOST_CONTROL - case -1712045196: - return ___engine.module()->boostControlTarget; -#endif - case 182391090: - return ___engine.module()->cranking; - case -496961865: - return ___engine.module()->notRunning; - case 142778571: - return ___engine.module()->disabledWhileEngineStopped; - case 545954889: - return ___engine.module()->brokenClt; - case 291043035: - return ___engine.module()->enabledForAc; - case 193494032: - return ___engine.module()->hot; - case 2090155911: - return ___engine.module()->cold; - case 1649801578: - return engine->engineState.lua.fuelAdd; - case -1390672637: - return engine->engineState.lua.fuelMult; - case -427776066: - return engine->engineState.lua.clutchUpState; - case -1296201087: - return engine->engineState.lua.brakePedalState; - case 1517904291: - return engine->engineState.lua.acRequestState; - case 2055342630: - return engine->engineState.lua.luaDisableEtb; - case -802271455: - return engine->engineState.lua.luaIgnCut; - case -893334680: - return engine->engineState.sd.tCharge; - case 584726739: - return engine->engineState.sd.tChargeK; - case -1206067863: - return engine->engineState.crankingFuel.coolantTemperatureCoefficient; - case 20251202: - return engine->engineState.crankingFuel.tpsCoefficient; - case 1541006353: - return engine->engineState.crankingFuel.durationCoefficient; - case -180401224: - return engine->engineState.crankingFuel.fuel; - case -281693247: - return engine->engineState.baroCorrection; - case -295556270: - return engine->engineState.hellenBoardId; - case -797965330: - return engine->engineState.clutchUpState; - case 724244513: - return engine->engineState.clutchDownState; - case -705383759: - return engine->engineState.brakePedalState; - case 897099930: - return engine->engineState.startStopState; - case -960645892: - return engine->engineState.startStopStateToggleCounter; - case -244414221: - return engine->engineState.egtValue1; - case -244414220: - return engine->engineState.egtValue2; - case -505351565: - return engine->engineState.desiredRpmLimit; - case -1839290700: - return engine->engineState.fuelInjectionCounter; - case -1515591290: - return engine->engineState.sparkCounter; - case 583799407: - return engine->engineState.fuelingLoad; - case 1136482406: - return engine->engineState.ignitionLoad; - case 1568071542: - return engine->engineState.veTableYAxis; -#if EFI_SHAFT_POSITION_INPUT - case 477303734: - return engine->triggerCentral.vvtCamCounter; -#endif -#if EFI_SHAFT_POSITION_INPUT - case -1727829859: - return engine->triggerCentral.mapVvt_MAP_AT_SPECIAL_POINT; -#endif -#if EFI_SHAFT_POSITION_INPUT - case -1585778708: - return engine->triggerCentral.mapVvt_MAP_AT_DIFF; -#endif -#if EFI_SHAFT_POSITION_INPUT - case 1637661099: - return engine->triggerCentral.mapVvt_MAP_AT_CYCLE_COUNT; -#endif -#if EFI_SHAFT_POSITION_INPUT - case 845799744: - return engine->triggerCentral.mapVvt_map_peak; -#endif -#if EFI_SHAFT_POSITION_INPUT - case 162105111: - return engine->triggerCentral.currentEngineDecodedPhase; -#endif -#if EFI_SHAFT_POSITION_INPUT - case -280624712: - return engine->triggerCentral.triggerToothAngleError; -#endif -#if EFI_SHAFT_POSITION_INPUT - case 989545496: - return engine->triggerCentral.triggerIgnoredToothCount; -#endif - case 1242329357: - return engine->dc_motors.dcOutput0; - case -1236599226: - return engine->dc_motors.isEnabled0_int; - case 1691876092: - return engine->dc_motors.isEnabled0; -#if EFI_VVT_PID - case -2132393748: - return ___engine.module()->vvtTarget; -#endif -#if EFI_VVT_PID - case 1990697206: - return ___engine.module()->vvtOutput; -#endif - case 350535927: - return ___engine.lambdaMonitor.lambdaCurrentlyGood; - case 1849938842: - return ___engine.lambdaMonitor.lambdaMonitorCut; - case 481450608: - return ___engine.lambdaMonitor.lambdaTimeSinceGood; - } - return EFI_ERROR_CODE; -} -#endif diff --git a/firmware/controllers/lua/generated/value_lookup_generated.cpp b/firmware/controllers/lua/generated/value_lookup_generated.cpp deleted file mode 100644 index 7e4c7f5359..0000000000 --- a/firmware/controllers/lua/generated/value_lookup_generated.cpp +++ /dev/null @@ -1,3751 +0,0 @@ -#include "pch.h" -#include "value_lookup.h" -float getConfigValueByName(const char *name) { - int hash = djb2lowerCase(name); - switch(hash) { - case -920133784: - return engineConfiguration->sensorSnifferRpmThreshold; - case -776106289: - return engineConfiguration->launchRpm; - case 1176614802: - return engineConfiguration->rpmHardLimit; - case 46918724: - return engineConfiguration->engineSnifferRpmThreshold; - case -775882810: - return engineConfiguration->multisparkMaxRpm; - case 1569359006: - return engineConfiguration->maxAcRpm; - case 1569361190: - return engineConfiguration->maxAcTps; - case 1569342546: - return engineConfiguration->maxAcClt; - case 402092253: - return engineConfiguration->multisparkMaxSparkingAngle; - case 726613349: - return engineConfiguration->multisparkMaxExtraSparkCount; - case 1542550121: - return engineConfiguration->injector.flow; - case -289303407: - return engineConfiguration->injectorSecondary.flow; - case -617915487: - return engineConfiguration->isForcedInduction; - case -1284354759: - return engineConfiguration->useFordRedundantTps; - case 1451020756: - return engineConfiguration->lambdaProtectionEnable; - case 1362186948: - return engineConfiguration->overrideTriggerGaps; - case -298185774: - return engineConfiguration->enableFan1WithAc; - case 993282195: - return engineConfiguration->enableFan2WithAc; - case -1132710384: - return engineConfiguration->disableFan1WhenStopped; - case -311454863: - return engineConfiguration->disableFan2WhenStopped; - case -1409016614: - return engineConfiguration->enableTrailingSparks; - case -1334689362: - return engineConfiguration->etb_use_two_wires; - case 1097520823: - return engineConfiguration->isDoubleSolenoidIdle; - case 1160459527: - return engineConfiguration->enableStagedInjection; - case -1279270887: - return engineConfiguration->useTLE8888_cranking_hack; - case 1156367906: - return engineConfiguration->kickStartCranking; - case -418454384: - return engineConfiguration->useSeparateIdleTablesForCrankingTaper; - case -338157684: - return engineConfiguration->launchControlEnabled; - case 240251894: - return engineConfiguration->doNotFilterTriggerEdgeNoise; - case -933524784: - return engineConfiguration->antiLagEnabled; - case -54973711: - return engineConfiguration->useRunningMathForCranking; - case -647008743: - return engineConfiguration->useTLE8888_stepper; - case 671821024: - return engineConfiguration->usescriptTableForCanSniffingFiltering; - case -1073210355: - return engineConfiguration->verboseCan; - case -1528619572: - return engineConfiguration->artificialTestMisfire; - case -1284359115: - return engineConfiguration->useFordRedundantPps; - case 1925843479: - return engineConfiguration->cltSensorPulldown; - case 1570551154: - return engineConfiguration->iatSensorPulldown; - case 445194564: - return engineConfiguration->allowIdenticalPps; - case 513872736: - return engineConfiguration->tpsMin; - case 513872482: - return engineConfiguration->tpsMax; - case 625338761: - return engineConfiguration->tpsErrorDetectionTooLow; - case -838808073: - return engineConfiguration->tpsErrorDetectionTooHigh; - case -781044761: - return engineConfiguration->cranking.baseFuel; - case -1717336209: - return engineConfiguration->cranking.rpm; - case -589710926: - return engineConfiguration->ignitionDwellForCrankingMs; - case 401321850: - return engineConfiguration->etbRevLimitStart; - case 399466905: - return engineConfiguration->etbRevLimitRange; - case -1307181880: - return engineConfiguration->map.sensor.lowValue; - case -1434278346: - return engineConfiguration->map.sensor.highValue; - case -1832527325: - return engineConfiguration->clt.config.tempC_1; - case -1832527324: - return engineConfiguration->clt.config.tempC_2; - case -1832527323: - return engineConfiguration->clt.config.tempC_3; - case -5328869: - return engineConfiguration->clt.config.resistance_1; - case -5328868: - return engineConfiguration->clt.config.resistance_2; - case -5328867: - return engineConfiguration->clt.config.resistance_3; - case -653172717: - return engineConfiguration->clt.config.bias_resistor; - case -672272162: - return engineConfiguration->iat.config.tempC_1; - case -672272161: - return engineConfiguration->iat.config.tempC_2; - case -672272160: - return engineConfiguration->iat.config.tempC_3; - case -1014418506: - return engineConfiguration->iat.config.resistance_1; - case -1014418505: - return engineConfiguration->iat.config.resistance_2; - case -1014418504: - return engineConfiguration->iat.config.resistance_3; - case 406607630: - return engineConfiguration->iat.config.bias_resistor; - case 1226423210: - return engineConfiguration->launchTimingRetard; - case -1738843157: - return engineConfiguration->knockBandCustom; - case -1227821282: - return engineConfiguration->displacement; - case 2122875976: - return engineConfiguration->triggerSimulatorRpm; - case -1578655365: - return engineConfiguration->cylindersCount; - case -107085459: - return engineConfiguration->vvtBumpAmount; - case -1992436143: - return engineConfiguration->benchTestOnTime; - case 1425664391: - return engineConfiguration->cylinderBore; - case 1523832034: - return engineConfiguration->ALSMaxTPS; - case -1976636992: - return engineConfiguration->boostControlMinRpm; - case -1976634808: - return engineConfiguration->boostControlMinTps; - case -1976642929: - return engineConfiguration->boostControlMinMap; - case -204721234: - return engineConfiguration->benchTestCount; - case 2071041633: - return engineConfiguration->crankingTimingAngle; - case -2079960526: - return engineConfiguration->gapTrackingLengthOverride; - case 1408421157: - return engineConfiguration->maxIdleVss; - case -855687130: - return engineConfiguration->minOilPressureAfterStart; - case -1965056926: - return engineConfiguration->fixedModeTiming; - case -295413160: - return engineConfiguration->globalTriggerAngleOffset; - case 1779689293: - return engineConfiguration->analogInputDividerCoefficient; - case -1311217456: - return engineConfiguration->vbattDividerCoeff; - case -853358747: - return engineConfiguration->fanOnTemperature; - case 4686563: - return engineConfiguration->fanOffTemperature; - case 991724096: - return engineConfiguration->driveWheelRevPerKm; - case 296563315: - return engineConfiguration->canSleepPeriodMs; - case 171869155: - return engineConfiguration->byFirmwareVersion; - case -1269130308: - return engineConfiguration->idle_derivativeFilterLoss; - case 274318471: - return engineConfiguration->trailingSparkAngle; - case 1212570205: - return engineConfiguration->trigger.customTotalToothCount; - case 387956265: - return engineConfiguration->trigger.customSkippedToothCount; - case 2070727975: - return engineConfiguration->airByRpmTaper; - case -1965075262: - return engineConfiguration->boostControlSafeDutyCycle; - case -1373423899: - return engineConfiguration->acrRevolutions; - case 1371979578: - return engineConfiguration->globalFuelCorrection; - case -244496183: - return engineConfiguration->adcVcc; - case 1958105647: - return engineConfiguration->mapCamDetectionAnglePosition; - case -241663117: - return engineConfiguration->afr.v1; - case 1273287930: - return engineConfiguration->afr.value1; - case -241663116: - return engineConfiguration->afr.v2; - case 1273287931: - return engineConfiguration->afr.value2; - case 1474689568: - return engineConfiguration->baroSensor.lowValue; - case 173166222: - return engineConfiguration->baroSensor.highValue; - case -568903712: - return engineConfiguration->idle.solenoidFrequency; - case 1401746228: - return engineConfiguration->manIdlePosition; - case 1989648303: - return engineConfiguration->knockRetardAggression; - case -938609466: - return engineConfiguration->knockRetardReapplyRate; - case -495855925: - return engineConfiguration->vssFilterReciprocal; - case -213773345: - return engineConfiguration->vssGearRatio; - case -1958312328: - return engineConfiguration->vssToothCount; - case -524949197: - return engineConfiguration->idle_antiwindupFreq; - case 1129109559: - return engineConfiguration->mc33_t_min_boost; - case 1933500210: - return engineConfiguration->acIdleExtraOffset; - case -869432403: - return engineConfiguration->finalGearRatio; - case -2116746650: - return engineConfiguration->tcuInputSpeedSensorTeeth; - case 2097342691: - return engineConfiguration->wastegatePositionMin; - case 2097342437: - return engineConfiguration->wastegatePositionMax; - case 1467553180: - return engineConfiguration->tunerStudioSerialSpeed; - case 355839382: - return engineConfiguration->compressionRatio; - case -1465119085: - return engineConfiguration->fordInjectorSmallPulseSlope; - case 1758659040: - return engineConfiguration->lambdaProtectionMinRpm; - case -2094010831: - return engineConfiguration->lambdaProtectionMinLoad; - case -722238362: - return engineConfiguration->is_enabled_spi_1; - case -722238361: - return engineConfiguration->is_enabled_spi_2; - case -722238360: - return engineConfiguration->is_enabled_spi_3; - case -1603423011: - return engineConfiguration->isSdCardEnabled; - case 2043354390: - return engineConfiguration->rusefiVerbose29b; - case -920116109: - return engineConfiguration->useStepperIdle; - case -2068213709: - return engineConfiguration->enabledStep1Limiter; - case -1251676000: - return engineConfiguration->verboseTLE8888; - case 1643181024: - return engineConfiguration->enableVerboseCanTx; - case -432676169: - return engineConfiguration->etb1configured; - case 1804769272: - return engineConfiguration->etb2configured; - case -1236202550: - return engineConfiguration->measureMapOnlyInOneCylinder; - case -2104625325: - return engineConfiguration->stepperForceParkingEveryRestart; - case 2048390406: - return engineConfiguration->isFasterEngineSpinUpEnabled; - case 1570088896: - return engineConfiguration->coastingFuelCutEnabled; - case -2101952506: - return engineConfiguration->useIacTableForCoasting; - case 11736566: - return engineConfiguration->useIdleTimingPidControl; - case -2096650725: - return engineConfiguration->disableEtbWhenEngineStopped; - case -722238359: - return engineConfiguration->is_enabled_spi_4; - case -24313313: - return engineConfiguration->pauseEtbControl; - case 1836072195: - return engineConfiguration->alignEngineSnifferAtTDC; - case 259909218: - return engineConfiguration->enableAemXSeries; - case 6238478: - return engineConfiguration->verboseCanBaseAddress; - case 1182499943: - return engineConfiguration->mc33_hvolt; - case 596585178: - return engineConfiguration->minimumBoostClosedLoopMap; - case 1549866701: - return engineConfiguration->vehicleWeight; - case 1962548154: - return engineConfiguration->idlePidRpmUpperLimit; - case 119460051: - return engineConfiguration->applyNonlinearBelowPulse; - case 1945443830: - return engineConfiguration->stoichRatioSecondary; - case -786901709: - return engineConfiguration->etbMaximumPosition; - case -773841334: - return engineConfiguration->sdCardLogFrequency; - case -561715997: - return engineConfiguration->mapMinBufferLength; - case 1490213215: - return engineConfiguration->idlePidDeactivationTpsThreshold; - case -509113657: - return engineConfiguration->stepperParkingExtraSteps; - case -1312968487: - return engineConfiguration->tps1SecondaryMin; - case -1312968741: - return engineConfiguration->tps1SecondaryMax; - case -47392967: - return engineConfiguration->antiLagRpmTreshold; - case 644409862: - return engineConfiguration->startCrankingDuration; - case 1758661224: - return engineConfiguration->lambdaProtectionMinTps; - case -1645106444: - return engineConfiguration->lambdaProtectionTimeout; - case 872435040: - return engineConfiguration->lambdaProtectionRestoreRpm; - case -1171325035: - return engineConfiguration->clutchUpPinInverted; - case -675074552: - return engineConfiguration->clutchDownPinInverted; - case 13806936: - return engineConfiguration->useHbridgesToDriveIdleStepper; - case -1074393096: - return engineConfiguration->multisparkEnable; - case -1583589783: - return engineConfiguration->enableLaunchRetard; - case 245947066: - return engineConfiguration->enableCanVss; - case 1382521617: - return engineConfiguration->enableInnovateLC2; - case 1838375282: - return engineConfiguration->stftIgnoreErrorMagnitude; - case -1724873939: - return engineConfiguration->enableSoftwareKnock; - case 1540420600: - return engineConfiguration->verboseVVTDecoding; - case 1081026348: - return engineConfiguration->invertCamVVTSignal; - case -253720028: - return engineConfiguration->alphaNUseIat; - case 1509355728: - return engineConfiguration->knockBankCyl1; - case 1509355729: - return engineConfiguration->knockBankCyl2; - case 1509355730: - return engineConfiguration->knockBankCyl3; - case 1509355731: - return engineConfiguration->knockBankCyl4; - case 1509355732: - return engineConfiguration->knockBankCyl5; - case 1509355733: - return engineConfiguration->knockBankCyl6; - case 1509355734: - return engineConfiguration->knockBankCyl7; - case 1509355735: - return engineConfiguration->knockBankCyl8; - case 1509355736: - return engineConfiguration->knockBankCyl9; - case -1730868480: - return engineConfiguration->knockBankCyl10; - case -1730868479: - return engineConfiguration->knockBankCyl11; - case -1730868478: - return engineConfiguration->knockBankCyl12; - case 1997663388: - return engineConfiguration->tcuEnabled; - case 1181153770: - return engineConfiguration->canBroadcastUseChannelTwo; - case 839486731: - return engineConfiguration->useRawOutputToDriveIdleStepper; - case -1056203297: - return engineConfiguration->verboseCan2; - case 1421783686: - return engineConfiguration->boostPid.pFactor; - case 971442495: - return engineConfiguration->boostPid.iFactor; - case -1190930054: - return engineConfiguration->boostPid.dFactor; - case 1435801342: - return engineConfiguration->boostPid.offset; - case -945021094: - return engineConfiguration->boostPid.periodMs; - case 777954680: - return engineConfiguration->boostPid.minValue; - case -572500550: - return engineConfiguration->boostPid.maxValue; - case -1990709262: - return engineConfiguration->boostPwmFrequency; - case -1743747394: - return engineConfiguration->launchSpeedThreshold; - case 906908772: - return engineConfiguration->launchTimingRpmRange; - case 975838686: - return engineConfiguration->launchFuelAdded; - case -232786835: - return engineConfiguration->launchBoostDuty; - case -163078708: - return engineConfiguration->hardCutRpmRange; - case 983814707: - return engineConfiguration->turbochargerFilter; - case -1340834204: - return engineConfiguration->launchTpsThreshold; - case -1153051360: - return engineConfiguration->launchActivateDelay; - case 1887120139: - return engineConfiguration->stft.maxIdleRegionRpm; - case 1673018859: - return engineConfiguration->stft.maxOverrunLoad; - case -1942479387: - return engineConfiguration->stft.minPowerLoad; - case -1157123369: - return engineConfiguration->stft.deadband; - case -81412933: - return engineConfiguration->stft.minClt; - case -81415311: - return engineConfiguration->stft.minAfr; - case -90543309: - return engineConfiguration->stft.maxAfr; - case 1028902582: - return engineConfiguration->stft.startupDelay; - case 18659930: - return engineConfiguration->tps2SecondaryMin; - case 18659676: - return engineConfiguration->tps2SecondaryMax; - case 1445062086: - return engineConfiguration->widebandOnSecondBus; - case 1611799720: - return engineConfiguration->fuelClosedLoopCorrectionEnabled; - case 885690524: - return engineConfiguration->boardUseTachPullUp; - case -1457484942: - return engineConfiguration->boardUseTempPullUp; - case -1985448683: - return engineConfiguration->yesUnderstandLocking; - case 582390322: - return engineConfiguration->silentTriggerError; - case -1816997974: - return engineConfiguration->useLinearCltSensor; - case -528008450: - return engineConfiguration->canReadEnabled; - case 2104472173: - return engineConfiguration->canWriteEnabled; - case 667504645: - return engineConfiguration->useLinearIatSensor; - case -1470758947: - return engineConfiguration->boardUse2stepPullDown; - case 99110078: - return engineConfiguration->tachPulseDurationAsDutyCycle; - case -1771449111: - return engineConfiguration->isAlternatorControlEnabled; - case -587700301: - return engineConfiguration->invertPrimaryTriggerSignal; - case -1944260329: - return engineConfiguration->invertSecondaryTriggerSignal; - case -794334344: - return engineConfiguration->cutFuelOnHardLimit; - case -1087585075: - return engineConfiguration->cutSparkOnHardLimit; - case -980843809: - return engineConfiguration->launchFuelCutEnable; - case -1829995308: - return engineConfiguration->launchSparkCutEnable; - case 1280316843: - return engineConfiguration->boardUseCrankPullUp; - case 1304425152: - return engineConfiguration->boardUseCamPullDown; - case -94892331: - return engineConfiguration->boardUseCamVrPullUp; - case 1868156805: - return engineConfiguration->boardUseD2PullDown; - case -472498042: - return engineConfiguration->boardUseD3PullDown; - case 1481814407: - return engineConfiguration->boardUseD4PullDown; - case -858840440: - return engineConfiguration->boardUseD5PullDown; - case -487204662: - return engineConfiguration->verboseIsoTp; - case 465982216: - return engineConfiguration->engineSnifferFocusOnInputs; - case -1884116782: - return engineConfiguration->launchActivateInverted; - case 38719415: - return engineConfiguration->twoStroke; - case 1538579992: - return engineConfiguration->skippedWheelOnCam; - case 1664668368: - return engineConfiguration->etbNeutralPosition; - case 1917301199: - return engineConfiguration->isInjectionEnabled; - case -1354884979: - return engineConfiguration->isIgnitionEnabled; - case -1491889938: - return engineConfiguration->isCylinderCleanupEnabled; - case -2018683234: - return engineConfiguration->complexWallModel; - case -1934896346: - return engineConfiguration->alwaysInstantRpm; - case 285726462: - return engineConfiguration->isMapAveragingEnabled; - case -1500666851: - return engineConfiguration->overrideCrankingIacSetting; - case 216872574: - return engineConfiguration->useSeparateAdvanceForIdle; - case -726159643: - return engineConfiguration->isWaveAnalyzerEnabled; - case -1997438905: - return engineConfiguration->useSeparateVeForIdle; - case -325018342: - return engineConfiguration->verboseTriggerSynchDetails; - case -795241238: - return engineConfiguration->isManualSpinningMode; - case 240697653: - return engineConfiguration->neverInstantRpm; - case 201676494: - return engineConfiguration->useFixedBaroCorrFromMap; - case 685453869: - return engineConfiguration->useSeparateAdvanceForCranking; - case 1060606307: - return engineConfiguration->useAdvanceCorrectionsForCranking; - case -563973567: - return engineConfiguration->flexCranking; - case -364626778: - return engineConfiguration->useIacPidMultTable; - case -1832431020: - return engineConfiguration->isBoostControlEnabled; - case -954321508: - return engineConfiguration->launchSmoothRetard; - case -1543452424: - return engineConfiguration->isPhaseSyncRequiredForIgnition; - case 939816194: - return engineConfiguration->useCltBasedRpmLimit; - case -389678699: - return engineConfiguration->forceO2Heating; - case 755512282: - return engineConfiguration->invertVvtControlIntake; - case -1331668704: - return engineConfiguration->invertVvtControlExhaust; - case 1486014321: - return engineConfiguration->useBiQuadOnAuxSpeedSensors; - case -105464622: - return engineConfiguration->sdTriggerLog; - case -1027820105: - return engineConfiguration->ALSActivateInverted; - case -1492464952: - return engineConfiguration->engineChartSize; - case -1056007485: - return engineConfiguration->turboSpeedSensorMultiplier; - case 1683471850: - return engineConfiguration->acIdleRpmBump; - case 1322924702: - return engineConfiguration->warningPeriod; - case -339821344: - return engineConfiguration->knockDetectionWindowStart; - case -1562133783: - return engineConfiguration->knockDetectionWindowEnd; - case 1145888170: - return engineConfiguration->idleStepperReactionTime; - case -1077032999: - return engineConfiguration->idleStepperTotalSteps; - case -66405381: - return engineConfiguration->noAccelAfterHardLimitPeriodSecs; - case 1556302698: - return engineConfiguration->mapAveragingSchedulingAtIndex; - case 58931511: - return engineConfiguration->tachPulseDuractionMs; - case -390306941: - return engineConfiguration->wwaeTau; - case -1993968289: - return engineConfiguration->alternatorControl.pFactor; - case 1850657816: - return engineConfiguration->alternatorControl.iFactor; - case -311714733: - return engineConfiguration->alternatorControl.dFactor; - case 1983046327: - return engineConfiguration->alternatorControl.offset; - case -1995686573: - return engineConfiguration->alternatorControl.periodMs; - case -272710799: - return engineConfiguration->alternatorControl.minValue; - case -1623166029: - return engineConfiguration->alternatorControl.maxValue; - case 196797309: - return engineConfiguration->etb.pFactor; - case -253543882: - return engineConfiguration->etb.iFactor; - case 1879050865: - return engineConfiguration->etb.dFactor; - case -423426795: - return engineConfiguration->etb.offset; - case 1580101425: - return engineConfiguration->etb.periodMs; - case -991890097: - return engineConfiguration->etb.minValue; - case 1952621969: - return engineConfiguration->etb.maxValue; - case -174866119: - return engineConfiguration->airTaperRpmRange; - case -224184878: - return engineConfiguration->tps2Min; - case -224185132: - return engineConfiguration->tps2Max; - case -2142425790: - return engineConfiguration->tachPulsePerRev; - case 9388880: - return engineConfiguration->mapErrorDetectionTooLow; - case 309682334: - return engineConfiguration->mapErrorDetectionTooHigh; - case 48235288: - return engineConfiguration->multisparkSparkDuration; - case 617337449: - return engineConfiguration->multisparkDwell; - case -2146434132: - return engineConfiguration->idleRpmPid.pFactor; - case 1698191973: - return engineConfiguration->idleRpmPid.iFactor; - case -464180576: - return engineConfiguration->idleRpmPid.dFactor; - case -103982236: - return engineConfiguration->idleRpmPid.offset; - case 1562875200: - return engineConfiguration->idleRpmPid.periodMs; - case -1009116322: - return engineConfiguration->idleRpmPid.minValue; - case 1935395744: - return engineConfiguration->idleRpmPid.maxValue; - case 4130389: - return engineConfiguration->wwaeBeta; - case -2130836456: - return engineConfiguration->throttlePedalUpVoltage; - case 2099527693: - return engineConfiguration->throttlePedalWOTVoltage; - case -664540020: - return engineConfiguration->startUpFuelPumpDuration; - case -528043591: - return engineConfiguration->idlePidRpmDeadZone; - case 1160967565: - return engineConfiguration->targetVBatt; - case 671504531: - return engineConfiguration->afterCrankingIACtaperDuration; - case -2065814304: - return engineConfiguration->iacByTpsTaper; - case -1164331270: - return engineConfiguration->tpsAccelLookback; - case 329016035: - return engineConfiguration->coastingFuelCutVssLow; - case -2027523439: - return engineConfiguration->coastingFuelCutVssHigh; - case 1286770247: - return engineConfiguration->noFuelTrimAfterDfcoTime; - case -763118033: - return engineConfiguration->ignTestOnTime; - case 1313479950: - return engineConfiguration->tpsAccelEnrichmentThreshold; - case -2114430012: - return engineConfiguration->totalGearsCount; - case 1397079021: - return engineConfiguration->fan1ExtraIdle; - case -999870619: - return engineConfiguration->uartConsoleSerialSpeed; - case -965453331: - return engineConfiguration->tpsDecelEnleanmentThreshold; - case 1164012327: - return engineConfiguration->tpsDecelEnleanmentMultiplier; - case 781749924: - return engineConfiguration->auxSerialSpeed; - case -1564912640: - return engineConfiguration->throttlePedalSecondaryUpVoltage; - case -699822859: - return engineConfiguration->throttlePedalSecondaryWOTVoltage; - case 578933872: - return engineConfiguration->mc33_hpfp_i_peak; - case 578657622: - return engineConfiguration->mc33_hpfp_i_hold; - case 944657936: - return engineConfiguration->mc33_hpfp_i_hold_off; - case 663037299: - return engineConfiguration->mc33_hpfp_max_hold; - case 337194154: - return engineConfiguration->stepperDcInvertedPins; - case -631762165: - return engineConfiguration->canOpenBLT; - case -1514354211: - return engineConfiguration->can2OpenBLT; - case 444648859: - return engineConfiguration->injectorFlowAsMassFlow; - case -1655178001: - return engineConfiguration->benchTestOffTime; - case 872437224: - return engineConfiguration->lambdaProtectionRestoreTps; - case -1274631759: - return engineConfiguration->lambdaProtectionRestoreLoad; - case -1992945039: - return engineConfiguration->boostCutPressure; - case -1359134883: - return engineConfiguration->fixedTiming; - case -137390524: - return engineConfiguration->mapLowValueVoltage; - case -1084262094: - return engineConfiguration->mapHighValueVoltage; - case 280323355: - return engineConfiguration->egoValueShift; - case -224532684: - return engineConfiguration->crankingIACposition; - case -557658095: - return engineConfiguration->tChargeMinRpmMinTps; - case -566786093: - return engineConfiguration->tChargeMinRpmMaxTps; - case -599338669: - return engineConfiguration->tChargeMaxRpmMinTps; - case -608466667: - return engineConfiguration->tChargeMaxRpmMaxTps; - case 298649674: - return engineConfiguration->minimumIgnitionTiming; - case -1726245940: - return engineConfiguration->maximumIgnitionTiming; - case 799798215: - return engineConfiguration->alternatorPwmFrequency; - case 1464880398: - return engineConfiguration->fan2ExtraIdle; - case 1506446058: - return engineConfiguration->primingDelay; - case -395416807: - return engineConfiguration->fuelReferencePressure; - case -1297058729: - return engineConfiguration->postCrankingFactor; - case 1183263609: - return engineConfiguration->postCrankingDurationSec; - case -1104834801: - return engineConfiguration->auxTempSensor1.config.tempC_1; - case -1104834800: - return engineConfiguration->auxTempSensor1.config.tempC_2; - case -1104834799: - return engineConfiguration->auxTempSensor1.config.tempC_3; - case 629168263: - return engineConfiguration->auxTempSensor1.config.resistance_1; - case 629168264: - return engineConfiguration->auxTempSensor1.config.resistance_2; - case 629168265: - return engineConfiguration->auxTempSensor1.config.resistance_3; - case -1189603841: - return engineConfiguration->auxTempSensor1.config.bias_resistor; - case -900025104: - return engineConfiguration->auxTempSensor2.config.tempC_1; - case -900025103: - return engineConfiguration->auxTempSensor2.config.tempC_2; - case -900025102: - return engineConfiguration->auxTempSensor2.config.tempC_3; - case 1988973320: - return engineConfiguration->auxTempSensor2.config.resistance_1; - case 1988973321: - return engineConfiguration->auxTempSensor2.config.resistance_2; - case 1988973322: - return engineConfiguration->auxTempSensor2.config.resistance_3; - case 734290080: - return engineConfiguration->auxTempSensor2.config.bias_resistor; - case -430252676: - return engineConfiguration->knockSamplingDuration; - case 2016887022: - return engineConfiguration->etbFreq; - case 1746193407: - return engineConfiguration->etbWastegatePid.pFactor; - case 1295852216: - return engineConfiguration->etbWastegatePid.iFactor; - case -866520333: - return engineConfiguration->etbWastegatePid.dFactor; - case 794879319: - return engineConfiguration->etbWastegatePid.offset; - case 1170565107: - return engineConfiguration->etbWastegatePid.periodMs; - case -1401426415: - return engineConfiguration->etbWastegatePid.minValue; - case 1543085651: - return engineConfiguration->etbWastegatePid.maxValue; - case -1147263902: - return engineConfiguration->stepperMinDutyCycle; - case -1188944476: - return engineConfiguration->stepperMaxDutyCycle; - case -1562952959: - return engineConfiguration->idlePidActivationTime; - case -613392361: - return engineConfiguration->oilPressure.v1; - case -505257058: - return engineConfiguration->oilPressure.value1; - case -613392360: - return engineConfiguration->oilPressure.v2; - case -505257057: - return engineConfiguration->oilPressure.value2; - case 871106583: - return engineConfiguration->fan2OnTemperature; - case 1077467605: - return engineConfiguration->fan2OffTemperature; - case 383307083: - return engineConfiguration->auxFrequencyFilter; - case 1470846937: - return engineConfiguration->vvtControlMinRpm; - case -904771683: - return engineConfiguration->launchFuelAdderPercent; - case 1057701663: - return engineConfiguration->etbJamTimeout; - case -86185846: - return engineConfiguration->etbExpAverageLength; - case 1272017572: - return engineConfiguration->coastingFuelCutRpmHigh; - case 168701078: - return engineConfiguration->coastingFuelCutRpmLow; - case -1494035092: - return engineConfiguration->coastingFuelCutTps; - case -1494053736: - return engineConfiguration->coastingFuelCutClt; - case 1414346958: - return engineConfiguration->pidExtraForLowRpm; - case -1494043213: - return engineConfiguration->coastingFuelCutMap; - case 2032707103: - return engineConfiguration->highPressureFuel.v1; - case -1898025562: - return engineConfiguration->highPressureFuel.value1; - case 2032707104: - return engineConfiguration->highPressureFuel.v2; - case -1898025561: - return engineConfiguration->highPressureFuel.value2; - case -474791503: - return engineConfiguration->lowPressureFuel.v1; - case 764445240: - return engineConfiguration->lowPressureFuel.value1; - case -474791502: - return engineConfiguration->lowPressureFuel.v2; - case 764445241: - return engineConfiguration->lowPressureFuel.value2; - case 2115625312: - return engineConfiguration->tChargeAirCoefMin; - case 2115625058: - return engineConfiguration->tChargeAirCoefMax; - case 1590125629: - return engineConfiguration->tChargeAirFlowMax; - case -1128797750: - return engineConfiguration->tChargeAirIncrLimit; - case 670644444: - return engineConfiguration->tChargeAirDecrLimit; - case -1725192476: - return engineConfiguration->etb_iTermMin; - case -1725192730: - return engineConfiguration->etb_iTermMax; - case -1411996731: - return engineConfiguration->idleTimingPid.pFactor; - case -1862337922: - return engineConfiguration->idleTimingPid.iFactor; - case 270256825: - return engineConfiguration->idleTimingPid.dFactor; - case -2033984419: - return engineConfiguration->idleTimingPid.offset; - case 29505657: - return engineConfiguration->idleTimingPid.periodMs; - case 1752481431: - return engineConfiguration->idleTimingPid.minValue; - case 402026201: - return engineConfiguration->idleTimingPid.maxValue; - case 481957934: - return engineConfiguration->etbRocExpAverageLength; - case 1117566701: - return engineConfiguration->tpsAccelFractionPeriod; - case 68539114: - return engineConfiguration->tpsAccelFractionDivisor; - case -1742418701: - return engineConfiguration->idlerpmpid_iTermMin; - case 1762426578: - return engineConfiguration->stoichRatioPrimary; - case -1742418955: - return engineConfiguration->idlerpmpid_iTermMax; - case -54532767: - return engineConfiguration->etbIdleThrottleRange; - case 1455224910: - return engineConfiguration->triggerCompCenterVolt; - case -25671212: - return engineConfiguration->triggerCompHystMin; - case -25671466: - return engineConfiguration->triggerCompHystMax; - case -953183719: - return engineConfiguration->triggerCompSensorSatRpm; - case -371707639: - return engineConfiguration->mc33_i_boost; - case 379679459: - return engineConfiguration->mc33_i_peak; - case 379403209: - return engineConfiguration->mc33_i_hold; - case -486240071: - return engineConfiguration->mc33_t_max_boost; - case -893360504: - return engineConfiguration->mc33_t_peak_off; - case -893354748: - return engineConfiguration->mc33_t_peak_tot; - case 1281862911: - return engineConfiguration->mc33_t_bypass; - case -2086522258: - return engineConfiguration->mc33_t_hold_off; - case -2086516502: - return engineConfiguration->mc33_t_hold_tot; - case -2070332548: - return engineConfiguration->maxCamPhaseResolveRpm; - case 1676700208: - return engineConfiguration->dfcoDelay; - case 483010008: - return engineConfiguration->acDelay; - case -1032938305: - return engineConfiguration->fordInjectorSmallPulseBreakPoint; - case -929987018: - return engineConfiguration->etbJamIntegratorLimit; - case -1256141959: - return engineConfiguration->hpfpCamLobes; - case 1145081382: - return engineConfiguration->hpfpPeakPos; - case 1494394654: - return engineConfiguration->hpfpMinAngle; - case 334494733: - return engineConfiguration->hpfpPumpVolume; - case -81483444: - return engineConfiguration->hpfpActivationAngle; - case -413489794: - return engineConfiguration->issFilterReciprocal; - case 436500704: - return engineConfiguration->hpfpPidP; - case 436500697: - return engineConfiguration->hpfpPidI; - case 1025426144: - return engineConfiguration->hpfpTargetDecay; - case 288250022: - return engineConfiguration->vvtActivationDelayMs; - case 1574876352: - return engineConfiguration->acrDisablePhase; - case -1415669996: - return engineConfiguration->auxLinear1.v1; - case -65154789: - return engineConfiguration->auxLinear1.value1; - case -1415669995: - return engineConfiguration->auxLinear1.v2; - case -65154788: - return engineConfiguration->auxLinear1.value2; - case -1415634059: - return engineConfiguration->auxLinear2.v1; - case -396384772: - return engineConfiguration->auxLinear2.value1; - case -1415634058: - return engineConfiguration->auxLinear2.v2; - case -396384771: - return engineConfiguration->auxLinear2.value2; - case -1855700175: - return engineConfiguration->etbMinimumPosition; - case -243078627: - return engineConfiguration->tuneHidingKey; - case 1532957848: - return engineConfiguration->ALSMinRPM; - case 1523829850: - return engineConfiguration->ALSMaxRPM; - case 1830002033: - return engineConfiguration->ALSMaxDuration; - case 1532941388: - return engineConfiguration->ALSMinCLT; - case 1523813390: - return engineConfiguration->ALSMaxCLT; - case -1118241790: - return engineConfiguration->alsMinTimeBetween; - case -731677323: - return engineConfiguration->alsEtbPosition; - case -908268760: - return engineConfiguration->acRelayAlternatorDutyAdder; - case -748456478: - return engineConfiguration->instantRpmRange; - case -2021435668: - return engineConfiguration->ALSIdleAdd; - case 1232469673: - return engineConfiguration->ALSEtbAdd; - case -1404414917: - return engineConfiguration->ALSSkipRatio; - case 612659807: - return engineConfiguration->ALSMaxDriverThrottleIntent; - case -1744146782: - return engineConfiguration->tpsSecondaryMaximum; - case -727657058: - return engineConfiguration->ppsSecondaryMaximum; - case 1756514810: - return engineConfiguration->rpmHardLimitHyst; - case 2045089740: - return engineConfiguration->ignTestCount; - case 257613965: - return engineConfiguration->ignTestOffTime; - case -846143628: - return engineConfiguration->canVssScaling; - case -1460957868: - return engineConfiguration->oilTempSensor.config.tempC_1; - case -1460957867: - return engineConfiguration->oilTempSensor.config.tempC_2; - case -1460957866: - return engineConfiguration->oilTempSensor.config.tempC_3; - case -1297544724: - return engineConfiguration->oilTempSensor.config.resistance_1; - case -1297544723: - return engineConfiguration->oilTempSensor.config.resistance_2; - case -1297544722: - return engineConfiguration->oilTempSensor.config.resistance_3; - case -346622972: - return engineConfiguration->oilTempSensor.config.bias_resistor; - case -713764196: - return engineConfiguration->fuelTempSensor.config.tempC_1; - case -713764195: - return engineConfiguration->fuelTempSensor.config.tempC_2; - case -713764194: - return engineConfiguration->fuelTempSensor.config.tempC_3; - case -1195844556: - return engineConfiguration->fuelTempSensor.config.resistance_1; - case -1195844555: - return engineConfiguration->fuelTempSensor.config.resistance_2; - case -1195844554: - return engineConfiguration->fuelTempSensor.config.resistance_3; - case -1285484724: - return engineConfiguration->fuelTempSensor.config.bias_resistor; - case 275986512: - return engineConfiguration->ambientTempSensor.config.tempC_1; - case 275986513: - return engineConfiguration->ambientTempSensor.config.tempC_2; - case 275986514: - return engineConfiguration->ambientTempSensor.config.tempC_3; - case -1084296600: - return engineConfiguration->ambientTempSensor.config.resistance_1; - case -1084296599: - return engineConfiguration->ambientTempSensor.config.resistance_2; - case -1084296598: - return engineConfiguration->ambientTempSensor.config.resistance_3; - case -1899369472: - return engineConfiguration->ambientTempSensor.config.bias_resistor; - case -498450107: - return engineConfiguration->compressorDischargeTemperature.config.tempC_1; - case -498450106: - return engineConfiguration->compressorDischargeTemperature.config.tempC_2; - case -498450105: - return engineConfiguration->compressorDischargeTemperature.config.tempC_3; - case 878369917: - return engineConfiguration->compressorDischargeTemperature.config.resistance_1; - case 878369918: - return engineConfiguration->compressorDischargeTemperature.config.resistance_2; - case 878369919: - return engineConfiguration->compressorDischargeTemperature.config.resistance_3; - case -1555883851: - return engineConfiguration->compressorDischargeTemperature.config.bias_resistor; - case 896753456: - return engineConfiguration->maxInjectorDutyInstant; - case 1651400031: - return engineConfiguration->maxInjectorDutySustained; - case 263235302: - return engineConfiguration->maxInjectorDutySustainedTimeout; - case 1007396714: - return engineConfiguration->speedometerPulsePerKm; - } - return EFI_ERROR_CODE; -} -void setConfigValueByName(const char *name, float value) { - int hash = djb2lowerCase(name); - switch(hash) { - case -920133784: - { - engineConfiguration->sensorSnifferRpmThreshold = (int)value; - return; - } - case -776106289: - { - engineConfiguration->launchRpm = (int)value; - return; - } - case 1176614802: - { - engineConfiguration->rpmHardLimit = (int)value; - return; - } - case 46918724: - { - engineConfiguration->engineSnifferRpmThreshold = (int)value; - return; - } - case -775882810: - { - engineConfiguration->multisparkMaxRpm = (int)value; - return; - } - case 1569359006: - { - engineConfiguration->maxAcRpm = (int)value; - return; - } - case 1569361190: - { - engineConfiguration->maxAcTps = (int)value; - return; - } - case 1569342546: - { - engineConfiguration->maxAcClt = (int)value; - return; - } - case 402092253: - { - engineConfiguration->multisparkMaxSparkingAngle = (int)value; - return; - } - case 726613349: - { - engineConfiguration->multisparkMaxExtraSparkCount = (int)value; - return; - } - case 1542550121: - { - engineConfiguration->injector.flow = value; - return; - } - case -289303407: - { - engineConfiguration->injectorSecondary.flow = value; - return; - } - case -617915487: - { - engineConfiguration->isForcedInduction = (int)value; - return; - } - case -1284354759: - { - engineConfiguration->useFordRedundantTps = (int)value; - return; - } - case 1451020756: - { - engineConfiguration->lambdaProtectionEnable = (int)value; - return; - } - case 1362186948: - { - engineConfiguration->overrideTriggerGaps = (int)value; - return; - } - case -298185774: - { - engineConfiguration->enableFan1WithAc = (int)value; - return; - } - case 993282195: - { - engineConfiguration->enableFan2WithAc = (int)value; - return; - } - case -1132710384: - { - engineConfiguration->disableFan1WhenStopped = (int)value; - return; - } - case -311454863: - { - engineConfiguration->disableFan2WhenStopped = (int)value; - return; - } - case -1409016614: - { - engineConfiguration->enableTrailingSparks = (int)value; - return; - } - case -1334689362: - { - engineConfiguration->etb_use_two_wires = (int)value; - return; - } - case 1097520823: - { - engineConfiguration->isDoubleSolenoidIdle = (int)value; - return; - } - case 1160459527: - { - engineConfiguration->enableStagedInjection = (int)value; - return; - } - case -1279270887: - { - engineConfiguration->useTLE8888_cranking_hack = (int)value; - return; - } - case 1156367906: - { - engineConfiguration->kickStartCranking = (int)value; - return; - } - case -418454384: - { - engineConfiguration->useSeparateIdleTablesForCrankingTaper = (int)value; - return; - } - case -338157684: - { - engineConfiguration->launchControlEnabled = (int)value; - return; - } - case 240251894: - { - engineConfiguration->doNotFilterTriggerEdgeNoise = (int)value; - return; - } - case -933524784: - { - engineConfiguration->antiLagEnabled = (int)value; - return; - } - case -54973711: - { - engineConfiguration->useRunningMathForCranking = (int)value; - return; - } - case -647008743: - { - engineConfiguration->useTLE8888_stepper = (int)value; - return; - } - case 671821024: - { - engineConfiguration->usescriptTableForCanSniffingFiltering = (int)value; - return; - } - case -1073210355: - { - engineConfiguration->verboseCan = (int)value; - return; - } - case -1528619572: - { - engineConfiguration->artificialTestMisfire = (int)value; - return; - } - case -1284359115: - { - engineConfiguration->useFordRedundantPps = (int)value; - return; - } - case 1925843479: - { - engineConfiguration->cltSensorPulldown = (int)value; - return; - } - case 1570551154: - { - engineConfiguration->iatSensorPulldown = (int)value; - return; - } - case 445194564: - { - engineConfiguration->allowIdenticalPps = (int)value; - return; - } - case 513872736: - { - engineConfiguration->tpsMin = (int)value; - return; - } - case 513872482: - { - engineConfiguration->tpsMax = (int)value; - return; - } - case 625338761: - { - engineConfiguration->tpsErrorDetectionTooLow = (int)value; - return; - } - case -838808073: - { - engineConfiguration->tpsErrorDetectionTooHigh = (int)value; - return; - } - case -781044761: - { - engineConfiguration->cranking.baseFuel = value; - return; - } - case -1717336209: - { - engineConfiguration->cranking.rpm = (int)value; - return; - } - case -589710926: - { - engineConfiguration->ignitionDwellForCrankingMs = value; - return; - } - case 401321850: - { - engineConfiguration->etbRevLimitStart = (int)value; - return; - } - case 399466905: - { - engineConfiguration->etbRevLimitRange = (int)value; - return; - } - case -1307181880: - { - engineConfiguration->map.sensor.lowValue = value; - return; - } - case -1434278346: - { - engineConfiguration->map.sensor.highValue = value; - return; - } - case -1832527325: - { - engineConfiguration->clt.config.tempC_1 = (int)value; - return; - } - case -1832527324: - { - engineConfiguration->clt.config.tempC_2 = (int)value; - return; - } - case -1832527323: - { - engineConfiguration->clt.config.tempC_3 = (int)value; - return; - } - case -5328869: - { - engineConfiguration->clt.config.resistance_1 = (int)value; - return; - } - case -5328868: - { - engineConfiguration->clt.config.resistance_2 = (int)value; - return; - } - case -5328867: - { - engineConfiguration->clt.config.resistance_3 = (int)value; - return; - } - case -653172717: - { - engineConfiguration->clt.config.bias_resistor = (int)value; - return; - } - case -672272162: - { - engineConfiguration->iat.config.tempC_1 = (int)value; - return; - } - case -672272161: - { - engineConfiguration->iat.config.tempC_2 = (int)value; - return; - } - case -672272160: - { - engineConfiguration->iat.config.tempC_3 = (int)value; - return; - } - case -1014418506: - { - engineConfiguration->iat.config.resistance_1 = (int)value; - return; - } - case -1014418505: - { - engineConfiguration->iat.config.resistance_2 = (int)value; - return; - } - case -1014418504: - { - engineConfiguration->iat.config.resistance_3 = (int)value; - return; - } - case 406607630: - { - engineConfiguration->iat.config.bias_resistor = (int)value; - return; - } - case 1226423210: - { - engineConfiguration->launchTimingRetard = (int)value; - return; - } - case -1738843157: - { - engineConfiguration->knockBandCustom = value; - return; - } - case -1227821282: - { - engineConfiguration->displacement = (int)value; - return; - } - case 2122875976: - { - engineConfiguration->triggerSimulatorRpm = (int)value; - return; - } - case -1578655365: - { - engineConfiguration->cylindersCount = (int)value; - return; - } - case -107085459: - { - engineConfiguration->vvtBumpAmount = (int)value; - return; - } - case -1992436143: - { - engineConfiguration->benchTestOnTime = (int)value; - return; - } - case 1425664391: - { - engineConfiguration->cylinderBore = value; - return; - } - case 1523832034: - { - engineConfiguration->ALSMaxTPS = (int)value; - return; - } - case -1976636992: - { - engineConfiguration->boostControlMinRpm = (int)value; - return; - } - case -1976634808: - { - engineConfiguration->boostControlMinTps = (int)value; - return; - } - case -1976642929: - { - engineConfiguration->boostControlMinMap = (int)value; - return; - } - case -204721234: - { - engineConfiguration->benchTestCount = (int)value; - return; - } - case 2071041633: - { - engineConfiguration->crankingTimingAngle = value; - return; - } - case -2079960526: - { - engineConfiguration->gapTrackingLengthOverride = (int)value; - return; - } - case 1408421157: - { - engineConfiguration->maxIdleVss = (int)value; - return; - } - case -855687130: - { - engineConfiguration->minOilPressureAfterStart = (int)value; - return; - } - case -1965056926: - { - engineConfiguration->fixedModeTiming = value; - return; - } - case -295413160: - { - engineConfiguration->globalTriggerAngleOffset = value; - return; - } - case 1779689293: - { - engineConfiguration->analogInputDividerCoefficient = value; - return; - } - case -1311217456: - { - engineConfiguration->vbattDividerCoeff = value; - return; - } - case -853358747: - { - engineConfiguration->fanOnTemperature = (int)value; - return; - } - case 4686563: - { - engineConfiguration->fanOffTemperature = (int)value; - return; - } - case 991724096: - { - engineConfiguration->driveWheelRevPerKm = value; - return; - } - case 296563315: - { - engineConfiguration->canSleepPeriodMs = (int)value; - return; - } - case 171869155: - { - engineConfiguration->byFirmwareVersion = (int)value; - return; - } - case -1269130308: - { - engineConfiguration->idle_derivativeFilterLoss = value; - return; - } - case 274318471: - { - engineConfiguration->trailingSparkAngle = (int)value; - return; - } - case 1212570205: - { - engineConfiguration->trigger.customTotalToothCount = (int)value; - return; - } - case 387956265: - { - engineConfiguration->trigger.customSkippedToothCount = (int)value; - return; - } - case 2070727975: - { - engineConfiguration->airByRpmTaper = value; - return; - } - case -1965075262: - { - engineConfiguration->boostControlSafeDutyCycle = (int)value; - return; - } - case -1373423899: - { - engineConfiguration->acrRevolutions = (int)value; - return; - } - case 1371979578: - { - engineConfiguration->globalFuelCorrection = value; - return; - } - case -244496183: - { - engineConfiguration->adcVcc = value; - return; - } - case 1958105647: - { - engineConfiguration->mapCamDetectionAnglePosition = value; - return; - } - case -241663117: - { - engineConfiguration->afr.v1 = (int)value; - return; - } - case 1273287930: - { - engineConfiguration->afr.value1 = (int)value; - return; - } - case -241663116: - { - engineConfiguration->afr.v2 = (int)value; - return; - } - case 1273287931: - { - engineConfiguration->afr.value2 = (int)value; - return; - } - case 1474689568: - { - engineConfiguration->baroSensor.lowValue = value; - return; - } - case 173166222: - { - engineConfiguration->baroSensor.highValue = value; - return; - } - case -568903712: - { - engineConfiguration->idle.solenoidFrequency = (int)value; - return; - } - case 1401746228: - { - engineConfiguration->manIdlePosition = value; - return; - } - case 1989648303: - { - engineConfiguration->knockRetardAggression = (int)value; - return; - } - case -938609466: - { - engineConfiguration->knockRetardReapplyRate = (int)value; - return; - } - case -495855925: - { - engineConfiguration->vssFilterReciprocal = (int)value; - return; - } - case -213773345: - { - engineConfiguration->vssGearRatio = (int)value; - return; - } - case -1958312328: - { - engineConfiguration->vssToothCount = (int)value; - return; - } - case -524949197: - { - engineConfiguration->idle_antiwindupFreq = value; - return; - } - case 1129109559: - { - engineConfiguration->mc33_t_min_boost = (int)value; - return; - } - case 1933500210: - { - engineConfiguration->acIdleExtraOffset = (int)value; - return; - } - case -869432403: - { - engineConfiguration->finalGearRatio = (int)value; - return; - } - case -2116746650: - { - engineConfiguration->tcuInputSpeedSensorTeeth = (int)value; - return; - } - case 2097342691: - { - engineConfiguration->wastegatePositionMin = (int)value; - return; - } - case 2097342437: - { - engineConfiguration->wastegatePositionMax = (int)value; - return; - } - case 1467553180: - { - engineConfiguration->tunerStudioSerialSpeed = (int)value; - return; - } - case 355839382: - { - engineConfiguration->compressionRatio = value; - return; - } - case -1465119085: - { - engineConfiguration->fordInjectorSmallPulseSlope = (int)value; - return; - } - case 1758659040: - { - engineConfiguration->lambdaProtectionMinRpm = (int)value; - return; - } - case -2094010831: - { - engineConfiguration->lambdaProtectionMinLoad = (int)value; - return; - } - case -722238362: - { - engineConfiguration->is_enabled_spi_1 = (int)value; - return; - } - case -722238361: - { - engineConfiguration->is_enabled_spi_2 = (int)value; - return; - } - case -722238360: - { - engineConfiguration->is_enabled_spi_3 = (int)value; - return; - } - case -1603423011: - { - engineConfiguration->isSdCardEnabled = (int)value; - return; - } - case 2043354390: - { - engineConfiguration->rusefiVerbose29b = (int)value; - return; - } - case -920116109: - { - engineConfiguration->useStepperIdle = (int)value; - return; - } - case -2068213709: - { - engineConfiguration->enabledStep1Limiter = (int)value; - return; - } - case -1251676000: - { - engineConfiguration->verboseTLE8888 = (int)value; - return; - } - case 1643181024: - { - engineConfiguration->enableVerboseCanTx = (int)value; - return; - } - case -432676169: - { - engineConfiguration->etb1configured = (int)value; - return; - } - case 1804769272: - { - engineConfiguration->etb2configured = (int)value; - return; - } - case -1236202550: - { - engineConfiguration->measureMapOnlyInOneCylinder = (int)value; - return; - } - case -2104625325: - { - engineConfiguration->stepperForceParkingEveryRestart = (int)value; - return; - } - case 2048390406: - { - engineConfiguration->isFasterEngineSpinUpEnabled = (int)value; - return; - } - case 1570088896: - { - engineConfiguration->coastingFuelCutEnabled = (int)value; - return; - } - case -2101952506: - { - engineConfiguration->useIacTableForCoasting = (int)value; - return; - } - case 11736566: - { - engineConfiguration->useIdleTimingPidControl = (int)value; - return; - } - case -2096650725: - { - engineConfiguration->disableEtbWhenEngineStopped = (int)value; - return; - } - case -722238359: - { - engineConfiguration->is_enabled_spi_4 = (int)value; - return; - } - case -24313313: - { - engineConfiguration->pauseEtbControl = (int)value; - return; - } - case 1836072195: - { - engineConfiguration->alignEngineSnifferAtTDC = (int)value; - return; - } - case 259909218: - { - engineConfiguration->enableAemXSeries = (int)value; - return; - } - case 6238478: - { - engineConfiguration->verboseCanBaseAddress = (int)value; - return; - } - case 1182499943: - { - engineConfiguration->mc33_hvolt = (int)value; - return; - } - case 596585178: - { - engineConfiguration->minimumBoostClosedLoopMap = (int)value; - return; - } - case 1549866701: - { - engineConfiguration->vehicleWeight = (int)value; - return; - } - case 1962548154: - { - engineConfiguration->idlePidRpmUpperLimit = (int)value; - return; - } - case 119460051: - { - engineConfiguration->applyNonlinearBelowPulse = (int)value; - return; - } - case 1945443830: - { - engineConfiguration->stoichRatioSecondary = (int)value; - return; - } - case -786901709: - { - engineConfiguration->etbMaximumPosition = (int)value; - return; - } - case -773841334: - { - engineConfiguration->sdCardLogFrequency = (int)value; - return; - } - case -561715997: - { - engineConfiguration->mapMinBufferLength = (int)value; - return; - } - case 1490213215: - { - engineConfiguration->idlePidDeactivationTpsThreshold = (int)value; - return; - } - case -509113657: - { - engineConfiguration->stepperParkingExtraSteps = (int)value; - return; - } - case -1312968487: - { - engineConfiguration->tps1SecondaryMin = (int)value; - return; - } - case -1312968741: - { - engineConfiguration->tps1SecondaryMax = (int)value; - return; - } - case -47392967: - { - engineConfiguration->antiLagRpmTreshold = (int)value; - return; - } - case 644409862: - { - engineConfiguration->startCrankingDuration = (int)value; - return; - } - case 1758661224: - { - engineConfiguration->lambdaProtectionMinTps = (int)value; - return; - } - case -1645106444: - { - engineConfiguration->lambdaProtectionTimeout = (int)value; - return; - } - case 872435040: - { - engineConfiguration->lambdaProtectionRestoreRpm = (int)value; - return; - } - case -1171325035: - { - engineConfiguration->clutchUpPinInverted = (int)value; - return; - } - case -675074552: - { - engineConfiguration->clutchDownPinInverted = (int)value; - return; - } - case 13806936: - { - engineConfiguration->useHbridgesToDriveIdleStepper = (int)value; - return; - } - case -1074393096: - { - engineConfiguration->multisparkEnable = (int)value; - return; - } - case -1583589783: - { - engineConfiguration->enableLaunchRetard = (int)value; - return; - } - case 245947066: - { - engineConfiguration->enableCanVss = (int)value; - return; - } - case 1382521617: - { - engineConfiguration->enableInnovateLC2 = (int)value; - return; - } - case 1838375282: - { - engineConfiguration->stftIgnoreErrorMagnitude = (int)value; - return; - } - case -1724873939: - { - engineConfiguration->enableSoftwareKnock = (int)value; - return; - } - case 1540420600: - { - engineConfiguration->verboseVVTDecoding = (int)value; - return; - } - case 1081026348: - { - engineConfiguration->invertCamVVTSignal = (int)value; - return; - } - case -253720028: - { - engineConfiguration->alphaNUseIat = (int)value; - return; - } - case 1509355728: - { - engineConfiguration->knockBankCyl1 = (int)value; - return; - } - case 1509355729: - { - engineConfiguration->knockBankCyl2 = (int)value; - return; - } - case 1509355730: - { - engineConfiguration->knockBankCyl3 = (int)value; - return; - } - case 1509355731: - { - engineConfiguration->knockBankCyl4 = (int)value; - return; - } - case 1509355732: - { - engineConfiguration->knockBankCyl5 = (int)value; - return; - } - case 1509355733: - { - engineConfiguration->knockBankCyl6 = (int)value; - return; - } - case 1509355734: - { - engineConfiguration->knockBankCyl7 = (int)value; - return; - } - case 1509355735: - { - engineConfiguration->knockBankCyl8 = (int)value; - return; - } - case 1509355736: - { - engineConfiguration->knockBankCyl9 = (int)value; - return; - } - case -1730868480: - { - engineConfiguration->knockBankCyl10 = (int)value; - return; - } - case -1730868479: - { - engineConfiguration->knockBankCyl11 = (int)value; - return; - } - case -1730868478: - { - engineConfiguration->knockBankCyl12 = (int)value; - return; - } - case 1997663388: - { - engineConfiguration->tcuEnabled = (int)value; - return; - } - case 1181153770: - { - engineConfiguration->canBroadcastUseChannelTwo = (int)value; - return; - } - case 839486731: - { - engineConfiguration->useRawOutputToDriveIdleStepper = (int)value; - return; - } - case -1056203297: - { - engineConfiguration->verboseCan2 = (int)value; - return; - } - case 1421783686: - { - engineConfiguration->boostPid.pFactor = value; - return; - } - case 971442495: - { - engineConfiguration->boostPid.iFactor = value; - return; - } - case -1190930054: - { - engineConfiguration->boostPid.dFactor = value; - return; - } - case 1435801342: - { - engineConfiguration->boostPid.offset = (int)value; - return; - } - case -945021094: - { - engineConfiguration->boostPid.periodMs = (int)value; - return; - } - case 777954680: - { - engineConfiguration->boostPid.minValue = (int)value; - return; - } - case -572500550: - { - engineConfiguration->boostPid.maxValue = (int)value; - return; - } - case -1990709262: - { - engineConfiguration->boostPwmFrequency = (int)value; - return; - } - case -1743747394: - { - engineConfiguration->launchSpeedThreshold = (int)value; - return; - } - case 906908772: - { - engineConfiguration->launchTimingRpmRange = (int)value; - return; - } - case 975838686: - { - engineConfiguration->launchFuelAdded = (int)value; - return; - } - case -232786835: - { - engineConfiguration->launchBoostDuty = (int)value; - return; - } - case -163078708: - { - engineConfiguration->hardCutRpmRange = (int)value; - return; - } - case 983814707: - { - engineConfiguration->turbochargerFilter = value; - return; - } - case -1340834204: - { - engineConfiguration->launchTpsThreshold = (int)value; - return; - } - case -1153051360: - { - engineConfiguration->launchActivateDelay = value; - return; - } - case 1887120139: - { - engineConfiguration->stft.maxIdleRegionRpm = (int)value; - return; - } - case 1673018859: - { - engineConfiguration->stft.maxOverrunLoad = (int)value; - return; - } - case -1942479387: - { - engineConfiguration->stft.minPowerLoad = (int)value; - return; - } - case -1157123369: - { - engineConfiguration->stft.deadband = (int)value; - return; - } - case -81412933: - { - engineConfiguration->stft.minClt = (int)value; - return; - } - case -81415311: - { - engineConfiguration->stft.minAfr = (int)value; - return; - } - case -90543309: - { - engineConfiguration->stft.maxAfr = (int)value; - return; - } - case 1028902582: - { - engineConfiguration->stft.startupDelay = (int)value; - return; - } - case 18659930: - { - engineConfiguration->tps2SecondaryMin = (int)value; - return; - } - case 18659676: - { - engineConfiguration->tps2SecondaryMax = (int)value; - return; - } - case 1445062086: - { - engineConfiguration->widebandOnSecondBus = (int)value; - return; - } - case 1611799720: - { - engineConfiguration->fuelClosedLoopCorrectionEnabled = (int)value; - return; - } - case 885690524: - { - engineConfiguration->boardUseTachPullUp = (int)value; - return; - } - case -1457484942: - { - engineConfiguration->boardUseTempPullUp = (int)value; - return; - } - case -1985448683: - { - engineConfiguration->yesUnderstandLocking = (int)value; - return; - } - case 582390322: - { - engineConfiguration->silentTriggerError = (int)value; - return; - } - case -1816997974: - { - engineConfiguration->useLinearCltSensor = (int)value; - return; - } - case -528008450: - { - engineConfiguration->canReadEnabled = (int)value; - return; - } - case 2104472173: - { - engineConfiguration->canWriteEnabled = (int)value; - return; - } - case 667504645: - { - engineConfiguration->useLinearIatSensor = (int)value; - return; - } - case -1470758947: - { - engineConfiguration->boardUse2stepPullDown = (int)value; - return; - } - case 99110078: - { - engineConfiguration->tachPulseDurationAsDutyCycle = (int)value; - return; - } - case -1771449111: - { - engineConfiguration->isAlternatorControlEnabled = (int)value; - return; - } - case -587700301: - { - engineConfiguration->invertPrimaryTriggerSignal = (int)value; - return; - } - case -1944260329: - { - engineConfiguration->invertSecondaryTriggerSignal = (int)value; - return; - } - case -794334344: - { - engineConfiguration->cutFuelOnHardLimit = (int)value; - return; - } - case -1087585075: - { - engineConfiguration->cutSparkOnHardLimit = (int)value; - return; - } - case -980843809: - { - engineConfiguration->launchFuelCutEnable = (int)value; - return; - } - case -1829995308: - { - engineConfiguration->launchSparkCutEnable = (int)value; - return; - } - case 1280316843: - { - engineConfiguration->boardUseCrankPullUp = (int)value; - return; - } - case 1304425152: - { - engineConfiguration->boardUseCamPullDown = (int)value; - return; - } - case -94892331: - { - engineConfiguration->boardUseCamVrPullUp = (int)value; - return; - } - case 1868156805: - { - engineConfiguration->boardUseD2PullDown = (int)value; - return; - } - case -472498042: - { - engineConfiguration->boardUseD3PullDown = (int)value; - return; - } - case 1481814407: - { - engineConfiguration->boardUseD4PullDown = (int)value; - return; - } - case -858840440: - { - engineConfiguration->boardUseD5PullDown = (int)value; - return; - } - case -487204662: - { - engineConfiguration->verboseIsoTp = (int)value; - return; - } - case 465982216: - { - engineConfiguration->engineSnifferFocusOnInputs = (int)value; - return; - } - case -1884116782: - { - engineConfiguration->launchActivateInverted = (int)value; - return; - } - case 38719415: - { - engineConfiguration->twoStroke = (int)value; - return; - } - case 1538579992: - { - engineConfiguration->skippedWheelOnCam = (int)value; - return; - } - case 1664668368: - { - engineConfiguration->etbNeutralPosition = (int)value; - return; - } - case 1917301199: - { - engineConfiguration->isInjectionEnabled = (int)value; - return; - } - case -1354884979: - { - engineConfiguration->isIgnitionEnabled = (int)value; - return; - } - case -1491889938: - { - engineConfiguration->isCylinderCleanupEnabled = (int)value; - return; - } - case -2018683234: - { - engineConfiguration->complexWallModel = (int)value; - return; - } - case -1934896346: - { - engineConfiguration->alwaysInstantRpm = (int)value; - return; - } - case 285726462: - { - engineConfiguration->isMapAveragingEnabled = (int)value; - return; - } - case -1500666851: - { - engineConfiguration->overrideCrankingIacSetting = (int)value; - return; - } - case 216872574: - { - engineConfiguration->useSeparateAdvanceForIdle = (int)value; - return; - } - case -726159643: - { - engineConfiguration->isWaveAnalyzerEnabled = (int)value; - return; - } - case -1997438905: - { - engineConfiguration->useSeparateVeForIdle = (int)value; - return; - } - case -325018342: - { - engineConfiguration->verboseTriggerSynchDetails = (int)value; - return; - } - case -795241238: - { - engineConfiguration->isManualSpinningMode = (int)value; - return; - } - case 240697653: - { - engineConfiguration->neverInstantRpm = (int)value; - return; - } - case 201676494: - { - engineConfiguration->useFixedBaroCorrFromMap = (int)value; - return; - } - case 685453869: - { - engineConfiguration->useSeparateAdvanceForCranking = (int)value; - return; - } - case 1060606307: - { - engineConfiguration->useAdvanceCorrectionsForCranking = (int)value; - return; - } - case -563973567: - { - engineConfiguration->flexCranking = (int)value; - return; - } - case -364626778: - { - engineConfiguration->useIacPidMultTable = (int)value; - return; - } - case -1832431020: - { - engineConfiguration->isBoostControlEnabled = (int)value; - return; - } - case -954321508: - { - engineConfiguration->launchSmoothRetard = (int)value; - return; - } - case -1543452424: - { - engineConfiguration->isPhaseSyncRequiredForIgnition = (int)value; - return; - } - case 939816194: - { - engineConfiguration->useCltBasedRpmLimit = (int)value; - return; - } - case -389678699: - { - engineConfiguration->forceO2Heating = (int)value; - return; - } - case 755512282: - { - engineConfiguration->invertVvtControlIntake = (int)value; - return; - } - case -1331668704: - { - engineConfiguration->invertVvtControlExhaust = (int)value; - return; - } - case 1486014321: - { - engineConfiguration->useBiQuadOnAuxSpeedSensors = (int)value; - return; - } - case -105464622: - { - engineConfiguration->sdTriggerLog = (int)value; - return; - } - case -1027820105: - { - engineConfiguration->ALSActivateInverted = (int)value; - return; - } - case -1492464952: - { - engineConfiguration->engineChartSize = (int)value; - return; - } - case -1056007485: - { - engineConfiguration->turboSpeedSensorMultiplier = value; - return; - } - case 1683471850: - { - engineConfiguration->acIdleRpmBump = (int)value; - return; - } - case 1322924702: - { - engineConfiguration->warningPeriod = (int)value; - return; - } - case -339821344: - { - engineConfiguration->knockDetectionWindowStart = value; - return; - } - case -1562133783: - { - engineConfiguration->knockDetectionWindowEnd = value; - return; - } - case 1145888170: - { - engineConfiguration->idleStepperReactionTime = value; - return; - } - case -1077032999: - { - engineConfiguration->idleStepperTotalSteps = (int)value; - return; - } - case -66405381: - { - engineConfiguration->noAccelAfterHardLimitPeriodSecs = value; - return; - } - case 1556302698: - { - engineConfiguration->mapAveragingSchedulingAtIndex = (int)value; - return; - } - case 58931511: - { - engineConfiguration->tachPulseDuractionMs = value; - return; - } - case -390306941: - { - engineConfiguration->wwaeTau = value; - return; - } - case -1993968289: - { - engineConfiguration->alternatorControl.pFactor = value; - return; - } - case 1850657816: - { - engineConfiguration->alternatorControl.iFactor = value; - return; - } - case -311714733: - { - engineConfiguration->alternatorControl.dFactor = value; - return; - } - case 1983046327: - { - engineConfiguration->alternatorControl.offset = (int)value; - return; - } - case -1995686573: - { - engineConfiguration->alternatorControl.periodMs = (int)value; - return; - } - case -272710799: - { - engineConfiguration->alternatorControl.minValue = (int)value; - return; - } - case -1623166029: - { - engineConfiguration->alternatorControl.maxValue = (int)value; - return; - } - case 196797309: - { - engineConfiguration->etb.pFactor = value; - return; - } - case -253543882: - { - engineConfiguration->etb.iFactor = value; - return; - } - case 1879050865: - { - engineConfiguration->etb.dFactor = value; - return; - } - case -423426795: - { - engineConfiguration->etb.offset = (int)value; - return; - } - case 1580101425: - { - engineConfiguration->etb.periodMs = (int)value; - return; - } - case -991890097: - { - engineConfiguration->etb.minValue = (int)value; - return; - } - case 1952621969: - { - engineConfiguration->etb.maxValue = (int)value; - return; - } - case -174866119: - { - engineConfiguration->airTaperRpmRange = (int)value; - return; - } - case -224184878: - { - engineConfiguration->tps2Min = (int)value; - return; - } - case -224185132: - { - engineConfiguration->tps2Max = (int)value; - return; - } - case -2142425790: - { - engineConfiguration->tachPulsePerRev = (int)value; - return; - } - case 9388880: - { - engineConfiguration->mapErrorDetectionTooLow = value; - return; - } - case 309682334: - { - engineConfiguration->mapErrorDetectionTooHigh = value; - return; - } - case 48235288: - { - engineConfiguration->multisparkSparkDuration = (int)value; - return; - } - case 617337449: - { - engineConfiguration->multisparkDwell = (int)value; - return; - } - case -2146434132: - { - engineConfiguration->idleRpmPid.pFactor = value; - return; - } - case 1698191973: - { - engineConfiguration->idleRpmPid.iFactor = value; - return; - } - case -464180576: - { - engineConfiguration->idleRpmPid.dFactor = value; - return; - } - case -103982236: - { - engineConfiguration->idleRpmPid.offset = (int)value; - return; - } - case 1562875200: - { - engineConfiguration->idleRpmPid.periodMs = (int)value; - return; - } - case -1009116322: - { - engineConfiguration->idleRpmPid.minValue = (int)value; - return; - } - case 1935395744: - { - engineConfiguration->idleRpmPid.maxValue = (int)value; - return; - } - case 4130389: - { - engineConfiguration->wwaeBeta = value; - return; - } - case -2130836456: - { - engineConfiguration->throttlePedalUpVoltage = value; - return; - } - case 2099527693: - { - engineConfiguration->throttlePedalWOTVoltage = value; - return; - } - case -664540020: - { - engineConfiguration->startUpFuelPumpDuration = (int)value; - return; - } - case -528043591: - { - engineConfiguration->idlePidRpmDeadZone = (int)value; - return; - } - case 1160967565: - { - engineConfiguration->targetVBatt = value; - return; - } - case 671504531: - { - engineConfiguration->afterCrankingIACtaperDuration = (int)value; - return; - } - case -2065814304: - { - engineConfiguration->iacByTpsTaper = (int)value; - return; - } - case -1164331270: - { - engineConfiguration->tpsAccelLookback = (int)value; - return; - } - case 329016035: - { - engineConfiguration->coastingFuelCutVssLow = (int)value; - return; - } - case -2027523439: - { - engineConfiguration->coastingFuelCutVssHigh = (int)value; - return; - } - case 1286770247: - { - engineConfiguration->noFuelTrimAfterDfcoTime = (int)value; - return; - } - case -763118033: - { - engineConfiguration->ignTestOnTime = (int)value; - return; - } - case 1313479950: - { - engineConfiguration->tpsAccelEnrichmentThreshold = value; - return; - } - case -2114430012: - { - engineConfiguration->totalGearsCount = (int)value; - return; - } - case 1397079021: - { - engineConfiguration->fan1ExtraIdle = (int)value; - return; - } - case -999870619: - { - engineConfiguration->uartConsoleSerialSpeed = (int)value; - return; - } - case -965453331: - { - engineConfiguration->tpsDecelEnleanmentThreshold = value; - return; - } - case 1164012327: - { - engineConfiguration->tpsDecelEnleanmentMultiplier = value; - return; - } - case 781749924: - { - engineConfiguration->auxSerialSpeed = (int)value; - return; - } - case -1564912640: - { - engineConfiguration->throttlePedalSecondaryUpVoltage = value; - return; - } - case -699822859: - { - engineConfiguration->throttlePedalSecondaryWOTVoltage = value; - return; - } - case 578933872: - { - engineConfiguration->mc33_hpfp_i_peak = (int)value; - return; - } - case 578657622: - { - engineConfiguration->mc33_hpfp_i_hold = (int)value; - return; - } - case 944657936: - { - engineConfiguration->mc33_hpfp_i_hold_off = (int)value; - return; - } - case 663037299: - { - engineConfiguration->mc33_hpfp_max_hold = (int)value; - return; - } - case 337194154: - { - engineConfiguration->stepperDcInvertedPins = (int)value; - return; - } - case -631762165: - { - engineConfiguration->canOpenBLT = (int)value; - return; - } - case -1514354211: - { - engineConfiguration->can2OpenBLT = (int)value; - return; - } - case 444648859: - { - engineConfiguration->injectorFlowAsMassFlow = (int)value; - return; - } - case -1655178001: - { - engineConfiguration->benchTestOffTime = (int)value; - return; - } - case 872437224: - { - engineConfiguration->lambdaProtectionRestoreTps = (int)value; - return; - } - case -1274631759: - { - engineConfiguration->lambdaProtectionRestoreLoad = (int)value; - return; - } - case -1992945039: - { - engineConfiguration->boostCutPressure = value; - return; - } - case -1359134883: - { - engineConfiguration->fixedTiming = value; - return; - } - case -137390524: - { - engineConfiguration->mapLowValueVoltage = value; - return; - } - case -1084262094: - { - engineConfiguration->mapHighValueVoltage = value; - return; - } - case 280323355: - { - engineConfiguration->egoValueShift = value; - return; - } - case -224532684: - { - engineConfiguration->crankingIACposition = (int)value; - return; - } - case -557658095: - { - engineConfiguration->tChargeMinRpmMinTps = value; - return; - } - case -566786093: - { - engineConfiguration->tChargeMinRpmMaxTps = value; - return; - } - case -599338669: - { - engineConfiguration->tChargeMaxRpmMinTps = value; - return; - } - case -608466667: - { - engineConfiguration->tChargeMaxRpmMaxTps = value; - return; - } - case 298649674: - { - engineConfiguration->minimumIgnitionTiming = (int)value; - return; - } - case -1726245940: - { - engineConfiguration->maximumIgnitionTiming = (int)value; - return; - } - case 799798215: - { - engineConfiguration->alternatorPwmFrequency = (int)value; - return; - } - case 1464880398: - { - engineConfiguration->fan2ExtraIdle = (int)value; - return; - } - case 1506446058: - { - engineConfiguration->primingDelay = (int)value; - return; - } - case -395416807: - { - engineConfiguration->fuelReferencePressure = value; - return; - } - case -1297058729: - { - engineConfiguration->postCrankingFactor = value; - return; - } - case 1183263609: - { - engineConfiguration->postCrankingDurationSec = value; - return; - } - case -1104834801: - { - engineConfiguration->auxTempSensor1.config.tempC_1 = (int)value; - return; - } - case -1104834800: - { - engineConfiguration->auxTempSensor1.config.tempC_2 = (int)value; - return; - } - case -1104834799: - { - engineConfiguration->auxTempSensor1.config.tempC_3 = (int)value; - return; - } - case 629168263: - { - engineConfiguration->auxTempSensor1.config.resistance_1 = (int)value; - return; - } - case 629168264: - { - engineConfiguration->auxTempSensor1.config.resistance_2 = (int)value; - return; - } - case 629168265: - { - engineConfiguration->auxTempSensor1.config.resistance_3 = (int)value; - return; - } - case -1189603841: - { - engineConfiguration->auxTempSensor1.config.bias_resistor = (int)value; - return; - } - case -900025104: - { - engineConfiguration->auxTempSensor2.config.tempC_1 = (int)value; - return; - } - case -900025103: - { - engineConfiguration->auxTempSensor2.config.tempC_2 = (int)value; - return; - } - case -900025102: - { - engineConfiguration->auxTempSensor2.config.tempC_3 = (int)value; - return; - } - case 1988973320: - { - engineConfiguration->auxTempSensor2.config.resistance_1 = (int)value; - return; - } - case 1988973321: - { - engineConfiguration->auxTempSensor2.config.resistance_2 = (int)value; - return; - } - case 1988973322: - { - engineConfiguration->auxTempSensor2.config.resistance_3 = (int)value; - return; - } - case 734290080: - { - engineConfiguration->auxTempSensor2.config.bias_resistor = (int)value; - return; - } - case -430252676: - { - engineConfiguration->knockSamplingDuration = (int)value; - return; - } - case 2016887022: - { - engineConfiguration->etbFreq = (int)value; - return; - } - case 1746193407: - { - engineConfiguration->etbWastegatePid.pFactor = value; - return; - } - case 1295852216: - { - engineConfiguration->etbWastegatePid.iFactor = value; - return; - } - case -866520333: - { - engineConfiguration->etbWastegatePid.dFactor = value; - return; - } - case 794879319: - { - engineConfiguration->etbWastegatePid.offset = (int)value; - return; - } - case 1170565107: - { - engineConfiguration->etbWastegatePid.periodMs = (int)value; - return; - } - case -1401426415: - { - engineConfiguration->etbWastegatePid.minValue = (int)value; - return; - } - case 1543085651: - { - engineConfiguration->etbWastegatePid.maxValue = (int)value; - return; - } - case -1147263902: - { - engineConfiguration->stepperMinDutyCycle = (int)value; - return; - } - case -1188944476: - { - engineConfiguration->stepperMaxDutyCycle = (int)value; - return; - } - case -1562952959: - { - engineConfiguration->idlePidActivationTime = value; - return; - } - case -613392361: - { - engineConfiguration->oilPressure.v1 = value; - return; - } - case -505257058: - { - engineConfiguration->oilPressure.value1 = value; - return; - } - case -613392360: - { - engineConfiguration->oilPressure.v2 = value; - return; - } - case -505257057: - { - engineConfiguration->oilPressure.value2 = value; - return; - } - case 871106583: - { - engineConfiguration->fan2OnTemperature = (int)value; - return; - } - case 1077467605: - { - engineConfiguration->fan2OffTemperature = (int)value; - return; - } - case 383307083: - { - engineConfiguration->auxFrequencyFilter = value; - return; - } - case 1470846937: - { - engineConfiguration->vvtControlMinRpm = (int)value; - return; - } - case -904771683: - { - engineConfiguration->launchFuelAdderPercent = (int)value; - return; - } - case 1057701663: - { - engineConfiguration->etbJamTimeout = (int)value; - return; - } - case -86185846: - { - engineConfiguration->etbExpAverageLength = (int)value; - return; - } - case 1272017572: - { - engineConfiguration->coastingFuelCutRpmHigh = (int)value; - return; - } - case 168701078: - { - engineConfiguration->coastingFuelCutRpmLow = (int)value; - return; - } - case -1494035092: - { - engineConfiguration->coastingFuelCutTps = (int)value; - return; - } - case -1494053736: - { - engineConfiguration->coastingFuelCutClt = (int)value; - return; - } - case 1414346958: - { - engineConfiguration->pidExtraForLowRpm = (int)value; - return; - } - case -1494043213: - { - engineConfiguration->coastingFuelCutMap = (int)value; - return; - } - case 2032707103: - { - engineConfiguration->highPressureFuel.v1 = value; - return; - } - case -1898025562: - { - engineConfiguration->highPressureFuel.value1 = value; - return; - } - case 2032707104: - { - engineConfiguration->highPressureFuel.v2 = value; - return; - } - case -1898025561: - { - engineConfiguration->highPressureFuel.value2 = value; - return; - } - case -474791503: - { - engineConfiguration->lowPressureFuel.v1 = value; - return; - } - case 764445240: - { - engineConfiguration->lowPressureFuel.value1 = value; - return; - } - case -474791502: - { - engineConfiguration->lowPressureFuel.v2 = value; - return; - } - case 764445241: - { - engineConfiguration->lowPressureFuel.value2 = value; - return; - } - case 2115625312: - { - engineConfiguration->tChargeAirCoefMin = value; - return; - } - case 2115625058: - { - engineConfiguration->tChargeAirCoefMax = value; - return; - } - case 1590125629: - { - engineConfiguration->tChargeAirFlowMax = value; - return; - } - case -1128797750: - { - engineConfiguration->tChargeAirIncrLimit = value; - return; - } - case 670644444: - { - engineConfiguration->tChargeAirDecrLimit = value; - return; - } - case -1725192476: - { - engineConfiguration->etb_iTermMin = (int)value; - return; - } - case -1725192730: - { - engineConfiguration->etb_iTermMax = (int)value; - return; - } - case -1411996731: - { - engineConfiguration->idleTimingPid.pFactor = value; - return; - } - case -1862337922: - { - engineConfiguration->idleTimingPid.iFactor = value; - return; - } - case 270256825: - { - engineConfiguration->idleTimingPid.dFactor = value; - return; - } - case -2033984419: - { - engineConfiguration->idleTimingPid.offset = (int)value; - return; - } - case 29505657: - { - engineConfiguration->idleTimingPid.periodMs = (int)value; - return; - } - case 1752481431: - { - engineConfiguration->idleTimingPid.minValue = (int)value; - return; - } - case 402026201: - { - engineConfiguration->idleTimingPid.maxValue = (int)value; - return; - } - case 481957934: - { - engineConfiguration->etbRocExpAverageLength = (int)value; - return; - } - case 1117566701: - { - engineConfiguration->tpsAccelFractionPeriod = (int)value; - return; - } - case 68539114: - { - engineConfiguration->tpsAccelFractionDivisor = value; - return; - } - case -1742418701: - { - engineConfiguration->idlerpmpid_iTermMin = (int)value; - return; - } - case 1762426578: - { - engineConfiguration->stoichRatioPrimary = (int)value; - return; - } - case -1742418955: - { - engineConfiguration->idlerpmpid_iTermMax = (int)value; - return; - } - case -54532767: - { - engineConfiguration->etbIdleThrottleRange = value; - return; - } - case 1455224910: - { - engineConfiguration->triggerCompCenterVolt = (int)value; - return; - } - case -25671212: - { - engineConfiguration->triggerCompHystMin = (int)value; - return; - } - case -25671466: - { - engineConfiguration->triggerCompHystMax = (int)value; - return; - } - case -953183719: - { - engineConfiguration->triggerCompSensorSatRpm = (int)value; - return; - } - case -371707639: - { - engineConfiguration->mc33_i_boost = (int)value; - return; - } - case 379679459: - { - engineConfiguration->mc33_i_peak = (int)value; - return; - } - case 379403209: - { - engineConfiguration->mc33_i_hold = (int)value; - return; - } - case -486240071: - { - engineConfiguration->mc33_t_max_boost = (int)value; - return; - } - case -893360504: - { - engineConfiguration->mc33_t_peak_off = (int)value; - return; - } - case -893354748: - { - engineConfiguration->mc33_t_peak_tot = (int)value; - return; - } - case 1281862911: - { - engineConfiguration->mc33_t_bypass = (int)value; - return; - } - case -2086522258: - { - engineConfiguration->mc33_t_hold_off = (int)value; - return; - } - case -2086516502: - { - engineConfiguration->mc33_t_hold_tot = (int)value; - return; - } - case -2070332548: - { - engineConfiguration->maxCamPhaseResolveRpm = (int)value; - return; - } - case 1676700208: - { - engineConfiguration->dfcoDelay = (int)value; - return; - } - case 483010008: - { - engineConfiguration->acDelay = (int)value; - return; - } - case -1032938305: - { - engineConfiguration->fordInjectorSmallPulseBreakPoint = (int)value; - return; - } - case -929987018: - { - engineConfiguration->etbJamIntegratorLimit = (int)value; - return; - } - case -1256141959: - { - engineConfiguration->hpfpCamLobes = (int)value; - return; - } - case 1145081382: - { - engineConfiguration->hpfpPeakPos = (int)value; - return; - } - case 1494394654: - { - engineConfiguration->hpfpMinAngle = (int)value; - return; - } - case 334494733: - { - engineConfiguration->hpfpPumpVolume = (int)value; - return; - } - case -81483444: - { - engineConfiguration->hpfpActivationAngle = (int)value; - return; - } - case -413489794: - { - engineConfiguration->issFilterReciprocal = (int)value; - return; - } - case 436500704: - { - engineConfiguration->hpfpPidP = (int)value; - return; - } - case 436500697: - { - engineConfiguration->hpfpPidI = (int)value; - return; - } - case 1025426144: - { - engineConfiguration->hpfpTargetDecay = (int)value; - return; - } - case 288250022: - { - engineConfiguration->vvtActivationDelayMs = (int)value; - return; - } - case 1574876352: - { - engineConfiguration->acrDisablePhase = (int)value; - return; - } - case -1415669996: - { - engineConfiguration->auxLinear1.v1 = value; - return; - } - case -65154789: - { - engineConfiguration->auxLinear1.value1 = value; - return; - } - case -1415669995: - { - engineConfiguration->auxLinear1.v2 = value; - return; - } - case -65154788: - { - engineConfiguration->auxLinear1.value2 = value; - return; - } - case -1415634059: - { - engineConfiguration->auxLinear2.v1 = value; - return; - } - case -396384772: - { - engineConfiguration->auxLinear2.value1 = value; - return; - } - case -1415634058: - { - engineConfiguration->auxLinear2.v2 = value; - return; - } - case -396384771: - { - engineConfiguration->auxLinear2.value2 = value; - return; - } - case -1855700175: - { - engineConfiguration->etbMinimumPosition = value; - return; - } - case -243078627: - { - engineConfiguration->tuneHidingKey = (int)value; - return; - } - case 1532957848: - { - engineConfiguration->ALSMinRPM = (int)value; - return; - } - case 1523829850: - { - engineConfiguration->ALSMaxRPM = (int)value; - return; - } - case 1830002033: - { - engineConfiguration->ALSMaxDuration = (int)value; - return; - } - case 1532941388: - { - engineConfiguration->ALSMinCLT = (int)value; - return; - } - case 1523813390: - { - engineConfiguration->ALSMaxCLT = (int)value; - return; - } - case -1118241790: - { - engineConfiguration->alsMinTimeBetween = (int)value; - return; - } - case -731677323: - { - engineConfiguration->alsEtbPosition = (int)value; - return; - } - case -908268760: - { - engineConfiguration->acRelayAlternatorDutyAdder = (int)value; - return; - } - case -748456478: - { - engineConfiguration->instantRpmRange = (int)value; - return; - } - case -2021435668: - { - engineConfiguration->ALSIdleAdd = (int)value; - return; - } - case 1232469673: - { - engineConfiguration->ALSEtbAdd = (int)value; - return; - } - case -1404414917: - { - engineConfiguration->ALSSkipRatio = (int)value; - return; - } - case 612659807: - { - engineConfiguration->ALSMaxDriverThrottleIntent = (int)value; - return; - } - case -1744146782: - { - engineConfiguration->tpsSecondaryMaximum = (int)value; - return; - } - case -727657058: - { - engineConfiguration->ppsSecondaryMaximum = (int)value; - return; - } - case 1756514810: - { - engineConfiguration->rpmHardLimitHyst = (int)value; - return; - } - case 2045089740: - { - engineConfiguration->ignTestCount = (int)value; - return; - } - case 257613965: - { - engineConfiguration->ignTestOffTime = (int)value; - return; - } - case -846143628: - { - engineConfiguration->canVssScaling = (int)value; - return; - } - case -1460957868: - { - engineConfiguration->oilTempSensor.config.tempC_1 = (int)value; - return; - } - case -1460957867: - { - engineConfiguration->oilTempSensor.config.tempC_2 = (int)value; - return; - } - case -1460957866: - { - engineConfiguration->oilTempSensor.config.tempC_3 = (int)value; - return; - } - case -1297544724: - { - engineConfiguration->oilTempSensor.config.resistance_1 = (int)value; - return; - } - case -1297544723: - { - engineConfiguration->oilTempSensor.config.resistance_2 = (int)value; - return; - } - case -1297544722: - { - engineConfiguration->oilTempSensor.config.resistance_3 = (int)value; - return; - } - case -346622972: - { - engineConfiguration->oilTempSensor.config.bias_resistor = (int)value; - return; - } - case -713764196: - { - engineConfiguration->fuelTempSensor.config.tempC_1 = (int)value; - return; - } - case -713764195: - { - engineConfiguration->fuelTempSensor.config.tempC_2 = (int)value; - return; - } - case -713764194: - { - engineConfiguration->fuelTempSensor.config.tempC_3 = (int)value; - return; - } - case -1195844556: - { - engineConfiguration->fuelTempSensor.config.resistance_1 = (int)value; - return; - } - case -1195844555: - { - engineConfiguration->fuelTempSensor.config.resistance_2 = (int)value; - return; - } - case -1195844554: - { - engineConfiguration->fuelTempSensor.config.resistance_3 = (int)value; - return; - } - case -1285484724: - { - engineConfiguration->fuelTempSensor.config.bias_resistor = (int)value; - return; - } - case 275986512: - { - engineConfiguration->ambientTempSensor.config.tempC_1 = (int)value; - return; - } - case 275986513: - { - engineConfiguration->ambientTempSensor.config.tempC_2 = (int)value; - return; - } - case 275986514: - { - engineConfiguration->ambientTempSensor.config.tempC_3 = (int)value; - return; - } - case -1084296600: - { - engineConfiguration->ambientTempSensor.config.resistance_1 = (int)value; - return; - } - case -1084296599: - { - engineConfiguration->ambientTempSensor.config.resistance_2 = (int)value; - return; - } - case -1084296598: - { - engineConfiguration->ambientTempSensor.config.resistance_3 = (int)value; - return; - } - case -1899369472: - { - engineConfiguration->ambientTempSensor.config.bias_resistor = (int)value; - return; - } - case -498450107: - { - engineConfiguration->compressorDischargeTemperature.config.tempC_1 = (int)value; - return; - } - case -498450106: - { - engineConfiguration->compressorDischargeTemperature.config.tempC_2 = (int)value; - return; - } - case -498450105: - { - engineConfiguration->compressorDischargeTemperature.config.tempC_3 = (int)value; - return; - } - case 878369917: - { - engineConfiguration->compressorDischargeTemperature.config.resistance_1 = (int)value; - return; - } - case 878369918: - { - engineConfiguration->compressorDischargeTemperature.config.resistance_2 = (int)value; - return; - } - case 878369919: - { - engineConfiguration->compressorDischargeTemperature.config.resistance_3 = (int)value; - return; - } - case -1555883851: - { - engineConfiguration->compressorDischargeTemperature.config.bias_resistor = (int)value; - return; - } - case 896753456: - { - engineConfiguration->maxInjectorDutyInstant = (int)value; - return; - } - case 1651400031: - { - engineConfiguration->maxInjectorDutySustained = (int)value; - return; - } - case 263235302: - { - engineConfiguration->maxInjectorDutySustainedTimeout = (int)value; - return; - } - case 1007396714: - { - engineConfiguration->speedometerPulsePerKm = (int)value; - return; - } - } -} diff --git a/firmware/controllers/lua/generated/value_lookup_generated.md b/firmware/controllers/lua/generated/value_lookup_generated.md deleted file mode 100644 index fd8811d579..0000000000 --- a/firmware/controllers/lua/generated/value_lookup_generated.md +++ /dev/null @@ -1,1602 +0,0 @@ -### sensorSnifferRpmThreshold -Disable sensor sniffer above this rpm - -### launchRpm -A secondary Rev limit engaged by the driver to help launch the vehicle faster - -### rpmHardLimit - - -### engineSnifferRpmThreshold -Engine sniffer would be disabled above this rpm - -### multisparkMaxRpm -Disable multispark above this engine speed. - -### maxAcRpm -Above this RPM, disable AC. Set to 0 to disable check. - -### maxAcTps -Above this TPS, disable AC. Set to 0 to disable check. - -### maxAcClt -Above this CLT, disable AC to prevent overheating the engine. Set to 0 to disable check. - -### multisparkMaxSparkingAngle -This parameter sets the latest that the last multispark can occur after the main ignition event. For example, if the ignition timing is 30 degrees BTDC, and this parameter is set to 45, no multispark will ever be fired after 15 degrees ATDC. - -### multisparkMaxExtraSparkCount -Configures the maximum number of extra sparks to fire (does not include main spark) - -### injector.flow -This is your injector flow at the fuel pressure used in the vehicle. cc/min, cubic centimetre per minute\nBy the way, g/s = 0.125997881 * (lb/hr)\ng/s = 0.125997881 * (cc/min)/10.5\ng/s = 0.0119997981 * cc/min - -### injectorSecondary.flow -This is your injector flow at the fuel pressure used in the vehicle. cc/min, cubic centimetre per minute\nBy the way, g/s = 0.125997881 * (lb/hr)\ng/s = 0.125997881 * (cc/min)/10.5\ng/s = 0.0119997981 * cc/min - -### isForcedInduction -Does the vehicle have a turbo or supercharger? - -### useFordRedundantTps -On some Ford and Toyota vehicles one of the throttle sensors is not linear on the full range, i.e. in the specific range of the positions we effectively have only one sensor. - -### lambdaProtectionEnable - - -### overrideTriggerGaps - - -### enableFan1WithAc -Turn on this fan when AC is on. - -### enableFan2WithAc -Turn on this fan when AC is on. - -### disableFan1WhenStopped -Inhibit operation of this fan while the engine is not running. - -### disableFan2WhenStopped -Inhibit operation of this fan while the engine is not running. - -### enableTrailingSparks -Enable secondary spark outputs that fire after the primary (rotaries, twin plug engines). - -### etb_use_two_wires -TLE7209 uses two-wire mode. TLE9201 and VNH2SP30 do NOT use two wire mode. - -### isDoubleSolenoidIdle -Subaru/BMW style where default valve position is somewhere in the middle. First solenoid opens it more while second can close it more than default position. - -### enableStagedInjection - - -### useTLE8888_cranking_hack - - -### kickStartCranking - - -### useSeparateIdleTablesForCrankingTaper -This uses separate ignition timing and VE tables not only for idle conditions, also during the postcranking-to-idle taper transition (See also afterCrankingIACtaperDuration). - -### launchControlEnabled - - -### doNotFilterTriggerEdgeNoise -"Detect double trigger edges" - -### antiLagEnabled - - -### useRunningMathForCranking -For cranking either use the specified fixed base fuel mass, or use the normal running math (VE table). - -### useTLE8888_stepper - - -### usescriptTableForCanSniffingFiltering - - -### verboseCan -Print incoming and outgoing first bus CAN messages in FOME console - -### artificialTestMisfire -Experimental setting that will cause a misfire\nDO NOT ENABLE. - -### useFordRedundantPps -On some Ford and Toyota vehicles one of the pedal sensors is not linear on the full range, i.e. in the specific range of the positions we effectively have only one sensor. - -### cltSensorPulldown - - -### iatSensorPulldown - - -### allowIdenticalPps - - -### tpsMin -Closed throttle, 1 volt = 200 units - -### tpsMax -Full throttle, 1 volt = 200 units - -### tpsErrorDetectionTooLow -TPS error detection: what throttle % is unrealistically low?\nAlso used for accelerator pedal error detection if so equiped. - -### tpsErrorDetectionTooHigh -TPS error detection: what throttle % is unrealistically high?\nAlso used for accelerator pedal error detection if so equiped. - -### cranking.baseFuel -Base mass of the per-cylinder fuel injected during cranking. This is then modified by the multipliers for CLT, IAT, TPS ect, to give the final cranking pulse width.\nA reasonable starting point is 60mg per liter per cylinder.\nex: 2 liter 4 cyl = 500cc/cyl, so 30mg cranking fuel. - -### cranking.rpm -This sets the RPM limit below which the ECU will use cranking fuel and ignition logic, typically this is around 350-450rpm. - -### ignitionDwellForCrankingMs -Dwell duration while cranking - -### etbRevLimitStart -Once engine speed passes this value, start reducing ETB angle. - -### etbRevLimitRange -This far above 'Soft limiter start', fully close the throttle. At the bottom of the range, throttle control is normal. At the top of the range, the throttle is fully closed. - -### map.sensor.lowValue -kPa value at low volts - -### map.sensor.highValue -kPa value at high volts - -### clt.config.tempC_1 -these values are in Celcius - -### clt.config.tempC_2 - - -### clt.config.tempC_3 - - -### clt.config.resistance_1 - - -### clt.config.resistance_2 - - -### clt.config.resistance_3 - - -### clt.config.bias_resistor -Pull-up resistor value on your board - -### iat.config.tempC_1 -these values are in Celcius - -### iat.config.tempC_2 - - -### iat.config.tempC_3 - - -### iat.config.resistance_1 - - -### iat.config.resistance_2 - - -### iat.config.resistance_3 - - -### iat.config.bias_resistor -Pull-up resistor value on your board - -### launchTimingRetard - - -### knockBandCustom -We calculate knock band based of cylinderBore\n Use this to override - kHz knock band override\nRequires power cycling to effect - -### displacement -Engine displacement in litres - -### triggerSimulatorRpm - - -### cylindersCount -Number of cylinder the engine has. - -### vvtBumpAmount - - -### benchTestOnTime -Duration of each test pulse - -### cylinderBore -Cylinder diameter in mm. - -### ALSMaxTPS - - -### boostControlMinRpm -Minimum RPM to enable boost control. Use this to avoid solenoid noise at idle, and help spool in some cases. - -### boostControlMinTps -Minimum TPS to enable boost control. Use this to avoid solenoid noise at idle, and help spool in some cases. - -### boostControlMinMap -Minimum MAP to enable boost control. Use this to avoid solenoid noise at idle, and help spool in some cases. - -### benchTestCount -How many test bench pulses do you want - -### crankingTimingAngle -Ignition advance angle used during engine cranking, 5-10 degrees will work as a base setting for most engines.\nThere is tapering towards running timing advance - -### gapTrackingLengthOverride -How many consecutive gap rations have to match expected ranges for sync to happen - -### maxIdleVss -Above this speed, disable closed loop idle control. Set to 0 to disable (allow closed loop idle at any speed). - -### minOilPressureAfterStart -Expected oil pressure after starting the engine. If oil pressure does not reach this level within 5 seconds of engine start, fuel will be cut. Set to 0 to disable and always allow starting. - -### fixedModeTiming -This value is the ignition timing used when in 'fixed timing' mode, i.e. constant timing\nThis mode is useful when adjusting distributor location. - -### globalTriggerAngleOffset -Angle between Top Dead Center (TDC) and the first trigger event.\nPositive value in case of synchnization point before TDC and negative in case of synchnization point after TDC\n.Knowing this angle allows us to control timing and other angles in reference to TDC. - -### analogInputDividerCoefficient -Ratio/coefficient of input voltage dividers on your PCB. For example, use '2' if your board divides 5v into 2.5v. Use '1.66' if your board divides 5v into 3v. - -### vbattDividerCoeff -This is the ratio of the resistors for the battery voltage, measure the voltage at the battery and then adjust this number until the gauge matches the reading. - -### fanOnTemperature -Cooling fan turn-on temperature threshold, in Celsius - -### fanOffTemperature -Cooling fan turn-off temperature threshold, in Celsius - -### driveWheelRevPerKm -Number of revolutions per kilometer for the wheels your vehicle speed sensor is connected to. Use an online calculator to determine this based on your tire size. - -### canSleepPeriodMs -CANbus thread period in ms - -### byFirmwareVersion - - -### idle_derivativeFilterLoss -0.1 is a good default value - -### trailingSparkAngle -just a temporary solution - -### trigger.customTotalToothCount - - -### trigger.customSkippedToothCount - - -### airByRpmTaper -Extra air taper amount - -### boostControlSafeDutyCycle -Duty cycle to use in case of a sensor failure. This duty cycle should produce the minimum possible amount of boost. This duty is also used in case any of the minimum RPM/TPS/MAP conditions are not met. - -### acrRevolutions - - -### globalFuelCorrection - - -### adcVcc - - -### mapCamDetectionAnglePosition - - -### afr.v1 - - -### afr.value1 - - -### afr.v2 - - -### afr.value2 - - -### baroSensor.lowValue -kPa value at low volts - -### baroSensor.highValue -kPa value at high volts - -### idle.solenoidFrequency - - -### manIdlePosition -Value between 0 and 100 used in Manual mode - -### knockRetardAggression -Ignition timing to remove when a knock event occurs. - -### knockRetardReapplyRate -After a knock event, reapply timing at this rate. - -### vssFilterReciprocal -Set this so your vehicle speed signal is responsive, but not noisy. Larger value give smoother but slower response. - -### vssGearRatio -Number of turns of your vehicle speed sensor per turn of the wheels. For example if your sensor is on the transmission output, enter your axle/differential ratio. If you are using a hub-mounted sensor, enter a value of 1.0. - -### vssToothCount -Number of pulses output per revolution of the shaft where your VSS is mounted. For example, GM applications of the T56 output 17 pulses per revolution of the transmission output shaft. - -### idle_antiwindupFreq -0.1 is a good default value - -### mc33_t_min_boost -Minimum allowed time for the boost phase. If the boost target current is reached before this time elapses, it is assumed that the injector has failed short circuit. - -### acIdleExtraOffset -Additional idle % while A/C is active - -### finalGearRatio -Ratio between the wheels and your transmission output. - -### tcuInputSpeedSensorTeeth -null - -### wastegatePositionMin -Voltage when the wastegate is closed.\nYou probably don't have one of these! - -### wastegatePositionMax -Voltage when the wastegate is fully open.\nYou probably don't have one of these!\n1 volt = 1000 units - -### tunerStudioSerialSpeed -Secondary TTL channel baud rate - -### compressionRatio -Just for reference really, not taken into account by any logic at this point - -### fordInjectorSmallPulseSlope - - -### lambdaProtectionMinRpm - - -### lambdaProtectionMinLoad - - -### is_enabled_spi_1 - - -### is_enabled_spi_2 - - -### is_enabled_spi_3 - - -### isSdCardEnabled -enable sd/disable sd - -### rusefiVerbose29b -Use 11 bit (standard) or 29 bit (extended) IDs for FOME verbose CAN format. - -### useStepperIdle -This setting should only be used if you have a stepper motor idle valve and a stepper motor driver installed. - -### enabledStep1Limiter - - -### verboseTLE8888 - - -### enableVerboseCanTx -CAN broadcast using custom FOME protocol\nenable can_broadcast/disable can_broadcast - -### etb1configured - - -### etb2configured - - -### measureMapOnlyInOneCylinder -Useful for individual intakes - -### stepperForceParkingEveryRestart - - -### isFasterEngineSpinUpEnabled -If enabled, try to fire the engine before a full engine cycle has been completed using RPM estimated from the last 90 degrees of engine rotation. As soon as the trigger syncs plus 90 degrees rotation, fuel and ignition events will occur. If disabled, worst case may require up to 4 full crank rotations before any events are scheduled. - -### coastingFuelCutEnabled -This setting disables fuel injection while the engine is in overrun, this is useful as a fuel saving measure and to prevent back firing. - -### useIacTableForCoasting -Override the IAC position during overrun conditions to help reduce engine breaking, this can be helpful for large engines in light weight cars or engines that have trouble returning to idle. - -### useIdleTimingPidControl - - -### disableEtbWhenEngineStopped -Allows disabling the ETB when the engine is stopped. You may not like the power draw or PWM noise from the motor, so this lets you turn it off until it's necessary. - -### is_enabled_spi_4 - - -### pauseEtbControl -Disable the electronic throttle motor and DC idle motor for testing.\nThis mode is for testing ETB/DC idle position sensors, etc without actually driving the throttle. - -### alignEngineSnifferAtTDC - - -### enableAemXSeries -AEM X-Series or rusEFI Wideband - -### verboseCanBaseAddress - - -### mc33_hvolt -Boost Voltage - -### minimumBoostClosedLoopMap -Minimum MAP before closed loop boost is enabled. Use to prevent misbehavior upon entering boost. - -### vehicleWeight - - -### idlePidRpmUpperLimit -How far above idle speed do we consider idling?\nFor example, if target = 800, this param = 200, then anything below 1000 RPM is considered idle. - -### applyNonlinearBelowPulse -Apply nonlinearity correction below a pulse of this duration. Pulses longer than this duration will receive no adjustment. - -### stoichRatioSecondary -Stoichiometric ratio for your secondary fuel. This value is used when the Flex Fuel sensor indicates E100, typically 9.0 - -### etbMaximumPosition -Maximum allowed ETB position. Some throttles go past fully open, so this allows you to limit it to fully open. - -### sdCardLogFrequency -Rate the ECU will log to the SD card, in hz (log lines per second). - -### mapMinBufferLength -This many MAP samples are used to estimate the current MAP. This many samples are considered, and the minimum taken. Recommended value is 1 for single-throttle engines, and your number of cylinders for individual throttle bodies. - -### idlePidDeactivationTpsThreshold -Below this throttle position, the engine is considered idling. If you have an electronic throttle, this checks accelerator pedal position instead of throttle position, and should be set to 1-2%. - -### stepperParkingExtraSteps - - -### tps1SecondaryMin - - -### tps1SecondaryMax - - -### antiLagRpmTreshold - - -### startCrankingDuration -Maximum time to crank starter when start/stop button is pressed - -### lambdaProtectionMinTps - - -### lambdaProtectionTimeout -Only respond once lambda is out of range for this period of time. Use to avoid transients triggering lambda protection when not needed - -### lambdaProtectionRestoreRpm - - -### clutchUpPinInverted - - -### clutchDownPinInverted - - -### useHbridgesToDriveIdleStepper -If enabled we use two H-bridges to drive stepper idle air valve - -### multisparkEnable - - -### enableLaunchRetard - - -### enableCanVss -Read VSS from OEM CAN bus according to selected CAN vehicle configuration. - -### enableInnovateLC2 - - -### stftIgnoreErrorMagnitude -If enabled, adjust at a constant rate instead of a rate proportional to the current lambda error. This mode may be easier to tune, and more tolerant of sensor noise. - -### enableSoftwareKnock - - -### verboseVVTDecoding -Verbose info in console below engineSnifferRpmThreshold\nenable vvt_details - -### invertCamVVTSignal -get invertCamVVTSignal - -### alphaNUseIat -In Alpha-N mode, compensate for air temperature. - -### knockBankCyl1 - - -### knockBankCyl2 - - -### knockBankCyl3 - - -### knockBankCyl4 - - -### knockBankCyl5 - - -### knockBankCyl6 - - -### knockBankCyl7 - - -### knockBankCyl8 - - -### knockBankCyl9 - - -### knockBankCyl10 - - -### knockBankCyl11 - - -### knockBankCyl12 - - -### tcuEnabled - - -### canBroadcastUseChannelTwo - - -### useRawOutputToDriveIdleStepper -If enabled we use four Push-Pull outputs to directly drive stepper idle air valve coilss - -### verboseCan2 -Print incoming and outgoing second bus CAN messages in FOME console - -### boostPid.pFactor - - -### boostPid.iFactor - - -### boostPid.dFactor - - -### boostPid.offset -Linear addition to PID logic - -### boostPid.periodMs -PID dTime - -### boostPid.minValue -Output Min Duty Cycle - -### boostPid.maxValue -Output Max Duty Cycle - -### boostPwmFrequency - - -### launchSpeedThreshold -Disabled above this speed - -### launchTimingRpmRange -Range from Launch RPM for Timing Retard to activate - -### launchFuelAdded -Extra Fuel Added - -### launchBoostDuty -Duty Cycle for the Boost Solenoid - -### hardCutRpmRange -Range from Launch RPM to activate Hard Cut - -### turbochargerFilter -null - -### launchTpsThreshold - - -### launchActivateDelay - - -### stft.maxIdleRegionRpm -Below this RPM, the idle region is active - -### stft.maxOverrunLoad -Below this engine load, the overrun region is active - -### stft.minPowerLoad -Above this engine load, the power region is active - -### stft.deadband -When close to correct AFR, pause correction. This can improve stability by not changing the adjustment if the error is extremely small, but is not required. - -### stft.minClt -Below this temperature, correction is disabled. - -### stft.minAfr -Below this AFR, correction is paused - -### stft.maxAfr -Above this AFR, correction is paused - -### stft.startupDelay -Delay after starting the engine before beginning closed loop correction. - -### tps2SecondaryMin - - -### tps2SecondaryMax - - -### widebandOnSecondBus -Select which bus the wideband controller is attached to. - -### fuelClosedLoopCorrectionEnabled -Enables lambda sensor closed loop feedback for fuelling. - -### boardUseTachPullUp - - -### boardUseTempPullUp - - -### yesUnderstandLocking - - -### silentTriggerError -Sometimes we have a performance issue while printing error - -### useLinearCltSensor - - -### canReadEnabled -enable can_read/disable can_read - -### canWriteEnabled -enable can_write/disable can_write - -### useLinearIatSensor - - -### boardUse2stepPullDown - - -### tachPulseDurationAsDutyCycle -Treat milliseconds value as duty cycle value, i.e. 0.5ms would become 50% - -### isAlternatorControlEnabled -This enables smart alternator control and activates the extra alternator settings. - -### invertPrimaryTriggerSignal -Invert the signal from the primary trigger sensor. - -### invertSecondaryTriggerSignal -Invert the signal from the secondary trigger sensor. - -### cutFuelOnHardLimit - - -### cutSparkOnHardLimit -Be careful enabling this: some engines are known to self-disassemble their valvetrain with a spark cut. Fuel cut is much safer. - -### launchFuelCutEnable - - -### launchSparkCutEnable -This is the Cut Mode normally used - -### boardUseCrankPullUp - - -### boardUseCamPullDown - - -### boardUseCamVrPullUp - - -### boardUseD2PullDown - - -### boardUseD3PullDown - - -### boardUseD4PullDown - - -### boardUseD5PullDown - - -### verboseIsoTp - - -### engineSnifferFocusOnInputs - - -### launchActivateInverted - - -### twoStroke - - -### skippedWheelOnCam -Where is your primary skipped wheel located? - -### etbNeutralPosition -Expected neutral position - -### isInjectionEnabled - - -### isIgnitionEnabled - - -### isCylinderCleanupEnabled -When enabled if TPS is held above 95% no fuel is injected while cranking to clear excess fuel from the cylinders. - -### complexWallModel -Should we use tables to vary tau/beta based on CLT/MAP, or just with fixed values? - -### alwaysInstantRpm - - -### isMapAveragingEnabled - - -### overrideCrankingIacSetting -If enabled, use separate temperature multiplier table for cranking idle position.\nIf disabled, use normal running multiplier table applied to the cranking base position. - -### useSeparateAdvanceForIdle -This activates a separate ignition timing table for idle conditions, this can help idle stability by using ignition retard and advance either side of the desired idle speed. Extra retard at low idle speeds will prevent stalling and extra advance at high idle speeds can help reduce engine power and slow the idle speed. - -### isWaveAnalyzerEnabled - - -### useSeparateVeForIdle -This activates a separate fuel table for Idle, this allows fine tuning of the idle fuelling. - -### verboseTriggerSynchDetails -Verbose info in console below engineSnifferRpmThreshold\nenable trigger_details - -### isManualSpinningMode -Usually if we have no trigger events that means engine is stopped\nUnless we are troubleshooting and spinning the engine by hand - this case a longer\ndelay is needed - -### neverInstantRpm - - -### useFixedBaroCorrFromMap - - -### useSeparateAdvanceForCranking -In Constant mode, timing is automatically tapered to running as RPM increases.\nIn Table mode, the "Cranking ignition advance" table is used directly. - -### useAdvanceCorrectionsForCranking -This enables the various ignition corrections during cranking (IAT, CLT, FSIO and PID idle).\nYou probably don't need this. - -### flexCranking -Enable a second cranking table to use for E100 flex fuel, interpolating between the two based on flex fuel sensor. - -### useIacPidMultTable -This flag allows to use a special 'PID Multiplier' table (0.0-1.0) to compensate for nonlinear nature of IAC-RPM controller - -### isBoostControlEnabled - - -### launchSmoothRetard -Interpolates the Ignition Retard from 0 to 100% within the RPM Range - -### isPhaseSyncRequiredForIgnition -Some engines are OK running semi-random sequential while other engine require phase synchronization - -### useCltBasedRpmLimit -If enabled, use a curve for RPM limit (based on coolant temperature) instead of a constant value. - -### forceO2Heating -If enabled, don't wait for engine start to heat O2 sensors. WARNING: this will reduce the life of your sensor, as condensation in the exhaust from a cold start can crack the sensing element. - -### invertVvtControlIntake -If increased VVT duty cycle increases the indicated VVT angle, set this to 'advance'. If it decreases, set this to 'retard'. Most intake cams use 'advance', and most exhaust cams use 'retard'. - -### invertVvtControlExhaust -If increased VVT duty cycle increases the indicated VVT angle, set this to 'advance'. If it decreases, set this to 'retard'. Most intake cams use 'advance', and most exhaust cams use 'retard'. - -### useBiQuadOnAuxSpeedSensors - - -### sdTriggerLog -'Trigger' mode will write a high speed log of trigger events (warning: uses lots of space!). 'Normal' mode will write a standard MLG of sensors, engine function, etc. similar to the one captured in TunerStudio. - -### ALSActivateInverted - - -### engineChartSize - - -### turboSpeedSensorMultiplier - - -### acIdleRpmBump -Extra idle target speed when A/C is enabled. Some cars need the extra speed to keep the AC efficient while idling. - -### warningPeriod - - -### knockDetectionWindowStart - - -### knockDetectionWindowEnd - - -### idleStepperReactionTime - - -### idleStepperTotalSteps - - -### noAccelAfterHardLimitPeriodSecs -TODO: finish this #413 - -### mapAveragingSchedulingAtIndex -At what trigger index should some MAP-related math be executed? This is a performance trick to reduce load on synchronization trigger callback. - -### tachPulseDuractionMs -Duration in ms or duty cycle depending on selected mode - -### wwaeTau -Length of time the deposited wall fuel takes to dissipate after the start of acceleration. - -### alternatorControl.pFactor - - -### alternatorControl.iFactor - - -### alternatorControl.dFactor - - -### alternatorControl.offset -Linear addition to PID logic - -### alternatorControl.periodMs -PID dTime - -### alternatorControl.minValue -Output Min Duty Cycle - -### alternatorControl.maxValue -Output Max Duty Cycle - -### etb.pFactor - - -### etb.iFactor - - -### etb.dFactor - - -### etb.offset -Linear addition to PID logic - -### etb.periodMs -PID dTime - -### etb.minValue -Output Min Duty Cycle - -### etb.maxValue -Output Max Duty Cycle - -### airTaperRpmRange -RPM range above upper limit for extra air taper - -### tps2Min - - -### tps2Max - - -### tachPulsePerRev - - -### mapErrorDetectionTooLow -kPa value which is too low to be true - -### mapErrorDetectionTooHigh -kPa value which is too high to be true - -### multisparkSparkDuration -How long to wait for the spark to fire before recharging the coil for another spark. - -### multisparkDwell -This sets the dwell time for subsequent sparks. The main spark's dwell is set by the dwell table. - -### idleRpmPid.pFactor - - -### idleRpmPid.iFactor - - -### idleRpmPid.dFactor - - -### idleRpmPid.offset -Linear addition to PID logic - -### idleRpmPid.periodMs -PID dTime - -### idleRpmPid.minValue -Output Min Duty Cycle - -### idleRpmPid.maxValue -Output Max Duty Cycle - -### wwaeBeta -0 = No fuel settling on port walls 1 = All the fuel settling on port walls setting this to 0 disables the wall wetting enrichment. - -### throttlePedalUpVoltage - - -### throttlePedalWOTVoltage -Pedal in the floor - -### startUpFuelPumpDuration -on IGN voltage detection turn fuel pump on to build fuel pressure - -### idlePidRpmDeadZone -If the RPM closer to target than this value, disable closed loop idle correction to prevent oscillation - -### targetVBatt -This is the target battery voltage the alternator PID control will attempt to maintain - -### afterCrankingIACtaperDuration -This is the duration in cycles that the IAC will take to reach its normal idle position, it can be used to hold the idle higher for a few seconds after cranking to improve startup. - -### iacByTpsTaper -Extra IAC, in percent between 0 and 100, tapered between zero and idle deactivation TPS value - -### tpsAccelLookback -How long to look back for TPS-based acceleration enrichment. Increasing this time will trigger enrichment for longer when a throttle position change occurs. - -### coastingFuelCutVssLow -Below this speed, disable DFCO. Use this to prevent jerkiness from fuel enable/disable in low gears. - -### coastingFuelCutVssHigh -Above this speed, allow DFCO. Use this to prevent jerkiness from fuel enable/disable in low gears. - -### noFuelTrimAfterDfcoTime -Pause closed loop fueling after deceleration fuel cut occurs. Set this to a little longer than however long is required for normal fueling behavior to resume after fuel cut. - -### ignTestOnTime -Duration of each test pulse - -### tpsAccelEnrichmentThreshold -Maximum change delta of TPS percentage over the 'length'. Actual TPS change has to be above this value in order for TPS/TPS acceleration to kick in. - -### totalGearsCount - - -### fan1ExtraIdle -Additional idle % when fan #1 is active - -### uartConsoleSerialSpeed -Band rate for primary TTL - -### tpsDecelEnleanmentThreshold -For decel we simply multiply delta of TPS and tFor decel we do not use table?! - -### tpsDecelEnleanmentMultiplier -Magic multiplier, we multiply delta of TPS and get fuel squirt duration - -### auxSerialSpeed - - -### throttlePedalSecondaryUpVoltage - - -### throttlePedalSecondaryWOTVoltage -Pedal in the floor - -### mc33_hpfp_i_peak - - -### mc33_hpfp_i_hold - - -### mc33_hpfp_i_hold_off -How long to deactivate power when hold current is reached before applying power again - -### mc33_hpfp_max_hold -Maximum amount of time the solenoid can be active before assuming a programming error - -### stepperDcInvertedPins -Enable if DC-motor driver (H-bridge) inverts the signals (eg. RZ7899 on Hellen boards) - -### canOpenBLT -Allow OpenBLT on Primary CAN - -### can2OpenBLT -Allow OpenBLT on Secondary CAN - -### injectorFlowAsMassFlow -Select whether to configure injector flow in volumetric flow (defualt, cc/min) or mass flow (g/s). - -### benchTestOffTime -Time between bench test pulses - -### lambdaProtectionRestoreTps - - -### lambdaProtectionRestoreLoad - - -### boostCutPressure -MAP value above which fuel is cut in case of overboost.\nSet to 0 to disable overboost cut. - -### fixedTiming -Fixed timing, useful for TDC testing - -### mapLowValueVoltage -MAP voltage for low point - -### mapHighValueVoltage -MAP voltage for low point - -### egoValueShift -EGO value correction - -### crankingIACposition -This is the IAC position during cranking, some engines start better if given more air during cranking to improve cylinder filling. - -### tChargeMinRpmMinTps - - -### tChargeMinRpmMaxTps - - -### tChargeMaxRpmMinTps - - -### tChargeMaxRpmMaxTps - - -### minimumIgnitionTiming -Minimim timing advance allowed. No spark on any cylinder will ever fire after this angle BTDC. For example, setting -10 here means no spark ever fires later than 10 deg ATDC. Note that this only concerns the primary spark: any trailing sparks or multispark may violate this constraint. - -### maximumIgnitionTiming -Maximum timing advance allowed. No spark on any cylinder will ever fire before this angle BTDC. For example, setting 45 here means no spark ever fires earlier than 45 deg BTDC - -### alternatorPwmFrequency - - -### fan2ExtraIdle -Additional idle % when fan #2 is active - -### primingDelay -Delay to allow fuel pressure to build before firing the priming pulse. - -### fuelReferencePressure -This is the pressure at which your injector flow is known.\nFor example if your injectors flow 400cc/min at 3.5 bar, enter 350kpa here. - -### postCrankingFactor -Fuel multiplier (enrichment) immediately after engine start - -### postCrankingDurationSec -Time over which to taper out after start enrichment - -### auxTempSensor1.config.tempC_1 -these values are in Celcius - -### auxTempSensor1.config.tempC_2 - - -### auxTempSensor1.config.tempC_3 - - -### auxTempSensor1.config.resistance_1 - - -### auxTempSensor1.config.resistance_2 - - -### auxTempSensor1.config.resistance_3 - - -### auxTempSensor1.config.bias_resistor -Pull-up resistor value on your board - -### auxTempSensor2.config.tempC_1 -these values are in Celcius - -### auxTempSensor2.config.tempC_2 - - -### auxTempSensor2.config.tempC_3 - - -### auxTempSensor2.config.resistance_1 - - -### auxTempSensor2.config.resistance_2 - - -### auxTempSensor2.config.resistance_3 - - -### auxTempSensor2.config.bias_resistor -Pull-up resistor value on your board - -### knockSamplingDuration - - -### etbFreq - - -### etbWastegatePid.pFactor - - -### etbWastegatePid.iFactor - - -### etbWastegatePid.dFactor - - -### etbWastegatePid.offset -Linear addition to PID logic - -### etbWastegatePid.periodMs -PID dTime - -### etbWastegatePid.minValue -Output Min Duty Cycle - -### etbWastegatePid.maxValue -Output Max Duty Cycle - -### stepperMinDutyCycle -Use to limit the current when the stepper motor is idle, not moving (100% = no limit) - -### stepperMaxDutyCycle -Use to limit the max.current through the stepper motor (100% = no limit) - -### idlePidActivationTime - - -### oilPressure.v1 - - -### oilPressure.value1 - - -### oilPressure.v2 - - -### oilPressure.value2 - - -### fan2OnTemperature -Cooling fan turn-on temperature threshold, in Celsius - -### fan2OffTemperature -Cooling fan turn-off temperature threshold, in Celsius - -### auxFrequencyFilter - - -### vvtControlMinRpm - - -### launchFuelAdderPercent - - -### etbJamTimeout -Time required to detect a stuck throttle. - -### etbExpAverageLength -By the way ETB PID runs at 500hz, length in 1/500 of second here. - -### coastingFuelCutRpmHigh -This sets the RPM above which fuel cut is active. - -### coastingFuelCutRpmLow -This sets the RPM below which fuel cut is deactivated, this prevents jerking or issues transitioning to idle - -### coastingFuelCutTps -Throttle position below which fuel cut is active. With an electronic throttle enabled, this checks against pedal position. - -### coastingFuelCutClt -Fuel cutoff is disabled when the engine is cold. - -### pidExtraForLowRpm -Increases PID reaction for RPM