Auto-generated configs and docs

This commit is contained in:
GitHub build-firmware Action 2021-12-20 07:04:16 +00:00
parent faa29f0dc2
commit 210d40545c
23 changed files with 107 additions and 107 deletions

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 1871759250 #define SIGNATURE_HASH 3998225829
#define TS_SIGNATURE "rusEFI 2021.12.20.all.1871759250" #define TS_SIGNATURE "rusEFI 2021.12.20.all.3998225829"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 1935291061 #define SIGNATURE_HASH 4070236290
#define TS_SIGNATURE "rusEFI 2021.12.20.atlas.1935291061" #define TS_SIGNATURE "rusEFI 2021.12.20.atlas.4070236290"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 1871759250 #define SIGNATURE_HASH 3998225829
#define TS_SIGNATURE "rusEFI 2021.12.20.f429-discovery.1871759250" #define TS_SIGNATURE "rusEFI 2021.12.20.f429-discovery.3998225829"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 362975867 #define SIGNATURE_HASH 2489466956
#define TS_SIGNATURE "rusEFI 2021.12.20.frankenso_na6.362975867" #define TS_SIGNATURE "rusEFI 2021.12.20.frankenso_na6.2489466956"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 3393386267 #define SIGNATURE_HASH 1266820396
#define TS_SIGNATURE "rusEFI 2021.12.20.hellen-nb1.3393386267" #define TS_SIGNATURE "rusEFI 2021.12.20.hellen-nb1.1266820396"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 3558122803 #define SIGNATURE_HASH 1439987460
#define TS_SIGNATURE "rusEFI 2021.12.20.hellen121nissan.3558122803" #define TS_SIGNATURE "rusEFI 2021.12.20.hellen121nissan.1439987460"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 808706968 #define SIGNATURE_HASH 2985505199
#define TS_SIGNATURE "rusEFI 2021.12.20.hellen121vag.808706968" #define TS_SIGNATURE "rusEFI 2021.12.20.hellen121vag.2985505199"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 4116098101 #define SIGNATURE_HASH 1956019714
#define TS_SIGNATURE "rusEFI 2021.12.20.hellen128.4116098101" #define TS_SIGNATURE "rusEFI 2021.12.20.hellen128.1956019714"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 2743917374 #define SIGNATURE_HASH 575408393
#define TS_SIGNATURE "rusEFI 2021.12.20.hellen154hyundai.2743917374" #define TS_SIGNATURE "rusEFI 2021.12.20.hellen154hyundai.575408393"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 2603434018 #define SIGNATURE_HASH 451777045
#define TS_SIGNATURE "rusEFI 2021.12.20.hellen72.2603434018" #define TS_SIGNATURE "rusEFI 2021.12.20.hellen72.451777045"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 790683089 #define SIGNATURE_HASH 2933919718
#define TS_SIGNATURE "rusEFI 2021.12.20.hellen81.790683089" #define TS_SIGNATURE "rusEFI 2021.12.20.hellen81.2933919718"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 3461371597 #define SIGNATURE_HASH 1334871290
#define TS_SIGNATURE "rusEFI 2021.12.20.hellen88bmw.3461371597" #define TS_SIGNATURE "rusEFI 2021.12.20.hellen88bmw.1334871290"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 430801210 #define SIGNATURE_HASH 2557301517
#define TS_SIGNATURE "rusEFI 2021.12.20.hellenNA6.430801210" #define TS_SIGNATURE "rusEFI 2021.12.20.hellenNA6.2557301517"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on hellen_cypress_gen_config.bat integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on hellen_cypress_gen_config.bat integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 1432690734 #define SIGNATURE_HASH 3567645209
#define TS_SIGNATURE "rusEFI 2021.12.20.hellen_cypress.1432690734" #define TS_SIGNATURE "rusEFI 2021.12.20.hellen_cypress.3567645209"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on kinetis_gen_config.bat integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on kinetis_gen_config.bat integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 2864770258 #define SIGNATURE_HASH 721436389
#define TS_SIGNATURE "rusEFI 2021.12.20.kin.2864770258" #define TS_SIGNATURE "rusEFI 2021.12.20.kin.721436389"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 3703029030 #define SIGNATURE_HASH 1568108305
#define TS_SIGNATURE "rusEFI 2021.12.20.mre_f4.3703029030" #define TS_SIGNATURE "rusEFI 2021.12.20.mre_f4.1568108305"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 3703029030 #define SIGNATURE_HASH 1568108305
#define TS_SIGNATURE "rusEFI 2021.12.20.mre_f7.3703029030" #define TS_SIGNATURE "rusEFI 2021.12.20.mre_f7.1568108305"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 1064967796 #define SIGNATURE_HASH 3199913027
#define TS_SIGNATURE "rusEFI 2021.12.20.prometheus_405.1064967796" #define TS_SIGNATURE "rusEFI 2021.12.20.prometheus_405.3199913027"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 1064967796 #define SIGNATURE_HASH 3199913027
#define TS_SIGNATURE "rusEFI 2021.12.20.prometheus_469.1064967796" #define TS_SIGNATURE "rusEFI 2021.12.20.prometheus_469.3199913027"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 3550559293 #define SIGNATURE_HASH 1382149642
#define TS_SIGNATURE "rusEFI 2021.12.20.proteus_f4.3550559293" #define TS_SIGNATURE "rusEFI 2021.12.20.proteus_f4.1382149642"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 3550559293 #define SIGNATURE_HASH 1382149642
#define TS_SIGNATURE "rusEFI 2021.12.20.proteus_f7.3550559293" #define TS_SIGNATURE "rusEFI 2021.12.20.proteus_f7.1382149642"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on config/boards/subaru_eg33/config/gen_config.sh integration/rusefi_config.txt // was generated automatically by rusEFI tool ConfigDefinition.jar based on config/boards/subaru_eg33/config/gen_config.sh integration/rusefi_config.txt
// //
#define SIGNATURE_HASH 2888487362 #define SIGNATURE_HASH 770311157
#define TS_SIGNATURE "rusEFI 2021.12.20.subaru_eg33_f7.2888487362" #define TS_SIGNATURE "rusEFI 2021.12.20.subaru_eg33_f7.770311157"

View File

@ -1,7 +1,25 @@
#include "pch.h" #include "pch.h"
float getConfigValueByName(const char *name) { float getConfigValueByName(const char *name) {
if (strEqualCaseInsensitive(name, "sensorSnifferRpmThreshold"))
return engineConfiguration->sensorSnifferRpmThreshold;
if (strEqualCaseInsensitive(name, "rpmHardLimit"))
return engineConfiguration->rpmHardLimit;
if (strEqualCaseInsensitive(name, "launchRpm"))
return engineConfiguration->launchRpm;
if (strEqualCaseInsensitive(name, "engineSnifferRpmThreshold")) if (strEqualCaseInsensitive(name, "engineSnifferRpmThreshold"))
return engineConfiguration->engineSnifferRpmThreshold; return engineConfiguration->engineSnifferRpmThreshold;
if (strEqualCaseInsensitive(name, "multisparkMaxRpm"))
return engineConfiguration->multisparkMaxRpm;
if (strEqualCaseInsensitive(name, "maxAcRpm"))
return engineConfiguration->maxAcRpm;
if (strEqualCaseInsensitive(name, "maxAcTps"))
return engineConfiguration->maxAcTps;
if (strEqualCaseInsensitive(name, "maxAcClt"))
return engineConfiguration->maxAcClt;
if (strEqualCaseInsensitive(name, "multisparkMaxSparkingAngle"))
return engineConfiguration->multisparkMaxSparkingAngle;
if (strEqualCaseInsensitive(name, "multisparkMaxExtraSparkCount"))
return engineConfiguration->multisparkMaxExtraSparkCount;
if (strEqualCaseInsensitive(name, "injector.flow")) if (strEqualCaseInsensitive(name, "injector.flow"))
return engineConfiguration->injector.flow; return engineConfiguration->injector.flow;
if (strEqualCaseInsensitive(name, "isForcedInduction")) if (strEqualCaseInsensitive(name, "isForcedInduction"))
@ -118,8 +136,6 @@ float getConfigValueByName(const char *name) {
return engineConfiguration->iat.config.resistance_3; return engineConfiguration->iat.config.resistance_3;
if (strEqualCaseInsensitive(name, "iat.config.bias_resistor")) if (strEqualCaseInsensitive(name, "iat.config.bias_resistor"))
return engineConfiguration->iat.config.bias_resistor; return engineConfiguration->iat.config.bias_resistor;
if (strEqualCaseInsensitive(name, "launchRpm"))
return engineConfiguration->launchRpm;
if (strEqualCaseInsensitive(name, "launchTimingRetard")) if (strEqualCaseInsensitive(name, "launchTimingRetard"))
return engineConfiguration->launchTimingRetard; return engineConfiguration->launchTimingRetard;
if (strEqualCaseInsensitive(name, "hip9011PrescalerAndSDO")) if (strEqualCaseInsensitive(name, "hip9011PrescalerAndSDO"))
@ -132,10 +148,6 @@ float getConfigValueByName(const char *name) {
return engineConfiguration->specs.cylindersCount; return engineConfiguration->specs.cylindersCount;
if (strEqualCaseInsensitive(name, "cylinderBore")) if (strEqualCaseInsensitive(name, "cylinderBore"))
return engineConfiguration->cylinderBore; return engineConfiguration->cylinderBore;
if (strEqualCaseInsensitive(name, "sensorSnifferRpmThreshold"))
return engineConfiguration->sensorSnifferRpmThreshold;
if (strEqualCaseInsensitive(name, "rpmHardLimit"))
return engineConfiguration->rpmHardLimit;
if (strEqualCaseInsensitive(name, "extraInjectionOffset")) if (strEqualCaseInsensitive(name, "extraInjectionOffset"))
return engineConfiguration->extraInjectionOffset; return engineConfiguration->extraInjectionOffset;
if (strEqualCaseInsensitive(name, "crankingTimingAngle")) if (strEqualCaseInsensitive(name, "crankingTimingAngle"))
@ -340,12 +352,6 @@ float getConfigValueByName(const char *name) {
return engineConfiguration->antiLagRpmTreshold; return engineConfiguration->antiLagRpmTreshold;
if (strEqualCaseInsensitive(name, "startCrankingDuration")) if (strEqualCaseInsensitive(name, "startCrankingDuration"))
return engineConfiguration->startCrankingDuration; return engineConfiguration->startCrankingDuration;
if (strEqualCaseInsensitive(name, "multisparkMaxRpm"))
return engineConfiguration->multisparkMaxRpm;
if (strEqualCaseInsensitive(name, "multisparkMaxSparkingAngle"))
return engineConfiguration->multisparkMaxSparkingAngle;
if (strEqualCaseInsensitive(name, "multisparkMaxExtraSparkCount"))
return engineConfiguration->multisparkMaxExtraSparkCount;
if (strEqualCaseInsensitive(name, "clutchUpPinInverted")) if (strEqualCaseInsensitive(name, "clutchUpPinInverted"))
return engineConfiguration->clutchUpPinInverted; return engineConfiguration->clutchUpPinInverted;
if (strEqualCaseInsensitive(name, "clutchDownPinInverted")) if (strEqualCaseInsensitive(name, "clutchDownPinInverted"))
@ -554,12 +560,6 @@ float getConfigValueByName(const char *name) {
return engineConfiguration->mapAveragingSchedulingAtIndex; return engineConfiguration->mapAveragingSchedulingAtIndex;
if (strEqualCaseInsensitive(name, "tachPulseDuractionMs")) if (strEqualCaseInsensitive(name, "tachPulseDuractionMs"))
return engineConfiguration->tachPulseDuractionMs; return engineConfiguration->tachPulseDuractionMs;
if (strEqualCaseInsensitive(name, "maxAcRpm"))
return engineConfiguration->maxAcRpm;
if (strEqualCaseInsensitive(name, "maxAcTps"))
return engineConfiguration->maxAcTps;
if (strEqualCaseInsensitive(name, "maxAcClt"))
return engineConfiguration->maxAcClt;
if (strEqualCaseInsensitive(name, "wwaeTau")) if (strEqualCaseInsensitive(name, "wwaeTau"))
return engineConfiguration->wwaeTau; return engineConfiguration->wwaeTau;
if (strEqualCaseInsensitive(name, "alternatorControl.pFactor")) if (strEqualCaseInsensitive(name, "alternatorControl.pFactor"))
@ -897,11 +897,56 @@ float getConfigValueByName(const char *name) {
return EFI_ERROR_CODE; return EFI_ERROR_CODE;
} }
void setConfigValueByName(const char *name, float value) { void setConfigValueByName(const char *name, float value) {
if (strEqualCaseInsensitive(name, "sensorSnifferRpmThreshold"))
{
engineConfiguration->sensorSnifferRpmThreshold = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "rpmHardLimit"))
{
engineConfiguration->rpmHardLimit = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "launchRpm"))
{
engineConfiguration->launchRpm = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "engineSnifferRpmThreshold")) if (strEqualCaseInsensitive(name, "engineSnifferRpmThreshold"))
{ {
engineConfiguration->engineSnifferRpmThreshold = (int)value; engineConfiguration->engineSnifferRpmThreshold = (int)value;
return; return;
} }
if (strEqualCaseInsensitive(name, "multisparkMaxRpm"))
{
engineConfiguration->multisparkMaxRpm = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "maxAcRpm"))
{
engineConfiguration->maxAcRpm = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "maxAcTps"))
{
engineConfiguration->maxAcTps = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "maxAcClt"))
{
engineConfiguration->maxAcClt = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "multisparkMaxSparkingAngle"))
{
engineConfiguration->multisparkMaxSparkingAngle = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "multisparkMaxExtraSparkCount"))
{
engineConfiguration->multisparkMaxExtraSparkCount = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "injector.flow")) if (strEqualCaseInsensitive(name, "injector.flow"))
{ {
engineConfiguration->injector.flow = value; engineConfiguration->injector.flow = value;
@ -1192,11 +1237,6 @@ void setConfigValueByName(const char *name, float value) {
engineConfiguration->iat.config.bias_resistor = value; engineConfiguration->iat.config.bias_resistor = value;
return; return;
} }
if (strEqualCaseInsensitive(name, "launchRpm"))
{
engineConfiguration->launchRpm = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "launchTimingRetard")) if (strEqualCaseInsensitive(name, "launchTimingRetard"))
{ {
engineConfiguration->launchTimingRetard = (int)value; engineConfiguration->launchTimingRetard = (int)value;
@ -1227,16 +1267,6 @@ void setConfigValueByName(const char *name, float value) {
engineConfiguration->cylinderBore = value; engineConfiguration->cylinderBore = value;
return; return;
} }
if (strEqualCaseInsensitive(name, "sensorSnifferRpmThreshold"))
{
engineConfiguration->sensorSnifferRpmThreshold = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "rpmHardLimit"))
{
engineConfiguration->rpmHardLimit = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "extraInjectionOffset")) if (strEqualCaseInsensitive(name, "extraInjectionOffset"))
{ {
engineConfiguration->extraInjectionOffset = value; engineConfiguration->extraInjectionOffset = value;
@ -1747,21 +1777,6 @@ void setConfigValueByName(const char *name, float value) {
engineConfiguration->startCrankingDuration = (int)value; engineConfiguration->startCrankingDuration = (int)value;
return; return;
} }
if (strEqualCaseInsensitive(name, "multisparkMaxRpm"))
{
engineConfiguration->multisparkMaxRpm = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "multisparkMaxSparkingAngle"))
{
engineConfiguration->multisparkMaxSparkingAngle = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "multisparkMaxExtraSparkCount"))
{
engineConfiguration->multisparkMaxExtraSparkCount = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "clutchUpPinInverted")) if (strEqualCaseInsensitive(name, "clutchUpPinInverted"))
{ {
engineConfiguration->clutchUpPinInverted = (int)value; engineConfiguration->clutchUpPinInverted = (int)value;
@ -2282,21 +2297,6 @@ void setConfigValueByName(const char *name, float value) {
engineConfiguration->tachPulseDuractionMs = value; engineConfiguration->tachPulseDuractionMs = value;
return; return;
} }
if (strEqualCaseInsensitive(name, "maxAcRpm"))
{
engineConfiguration->maxAcRpm = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "maxAcTps"))
{
engineConfiguration->maxAcTps = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "maxAcClt"))
{
engineConfiguration->maxAcClt = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "wwaeTau")) if (strEqualCaseInsensitive(name, "wwaeTau"))
{ {
engineConfiguration->wwaeTau = value; engineConfiguration->wwaeTau = value;