Auto-generated configs and docs

This commit is contained in:
GitHub build-firmware Action 2022-06-27 00:12:14 +00:00
parent 74383e6b3b
commit 81f1df25e4
38 changed files with 116 additions and 72 deletions

View File

@ -1,4 +1,4 @@
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Fri Jun 24 00:17:26 UTC 2022
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Mon Jun 27 00:08:55 UTC 2022
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
@ -1057,9 +1057,10 @@ struct output_channels_s {
*/
uint8_t testBenchIter = (uint8_t)0;
/**
* "Current Range"
* offset 385
*/
uint8_t unusedWat = (uint8_t)0;
uint8_t tcu_currentRange = (uint8_t)0;
/**
* @@GAUGE_NAME_TC_RATIO@@
value
@ -1364,4 +1365,4 @@ struct output_channels_s {
static_assert(sizeof(output_channels_s) == 612);
// end
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Fri Jun 24 00:17:26 UTC 2022
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Mon Jun 27 00:08:55 UTC 2022

View File

@ -1,6 +1,6 @@
#include "global.h"
#include "rusefi_enums.h"
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Thu Jun 02 01:28:31 UTC 2022
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Mon Jun 27 00:08:52 UTC 2022
// see also gen_config_and_enums.bat
@ -9,6 +9,8 @@ const char *getGearControllerMode(GearControllerMode value){
switch(value) {
case GearControllerMode::ButtonShift:
return "ButtonShift";
case GearControllerMode::Generic:
return "Generic";
case GearControllerMode::None:
return "None";
}
@ -64,6 +66,35 @@ case NOT_A_PEAK:
}
return NULL;
}
const char *getSelectedGear(SelectedGear value){
switch(value) {
case SelectedGear::Drive:
return "Drive";
case SelectedGear::Invalid:
return "Invalid";
case SelectedGear::Low:
return "Low";
case SelectedGear::Manual:
return "Manual";
case SelectedGear::Manual1:
return "Manual1";
case SelectedGear::Manual2:
return "Manual2";
case SelectedGear::Manual3:
return "Manual3";
case SelectedGear::ManualMinus:
return "ManualMinus";
case SelectedGear::ManualPlus:
return "ManualPlus";
case SelectedGear::Neutral:
return "Neutral";
case SelectedGear::Park:
return "Park";
case SelectedGear::Reverse:
return "Reverse";
}
return NULL;
}
const char *getTransmissionControllerMode(TransmissionControllerMode value){
switch(value) {
case TransmissionControllerMode::Gm4l6x:

View File

@ -1,4 +1,4 @@
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Mon May 02 03:12:06 UTC 2022
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Mon Jun 27 00:08:52 UTC 2022
// see also gen_config_and_enums.bat
@ -15,6 +15,9 @@ const char *getInjectorNonlinearMode(InjectorNonlinearMode value);
const char *getPidAutoTune_AutoTunerState(PidAutoTune_AutoTunerState value);
const char *getPidAutoTune_Peak(PidAutoTune_Peak value);
#if __cplusplus
const char *getSelectedGear(SelectedGear value);
#endif //__cplusplus
#if __cplusplus
const char *getTransmissionControllerMode(TransmissionControllerMode value);
#endif //__cplusplus
#if __cplusplus

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 4080157308
#define TS_SIGNATURE "rusEFI 2022.06.26.48way.4080157308"
#define SIGNATURE_HASH 2566320505
#define TS_SIGNATURE "rusEFI 2022.06.27.48way.2566320505"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3826600499
#define TS_SIGNATURE "rusEFI 2022.06.26.all.3826600499"
#define SIGNATURE_HASH 2412902710
#define TS_SIGNATURE "rusEFI 2022.06.27.all.2412902710"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3590838111
#define TS_SIGNATURE "rusEFI 2022.06.26.alphax-2chan.3590838111"
#define SIGNATURE_HASH 3183699034
#define TS_SIGNATURE "rusEFI 2022.06.27.alphax-2chan.3183699034"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3348735344
#define TS_SIGNATURE "rusEFI 2022.06.26.alphax-4chan.3348735344"
#define SIGNATURE_HASH 2891781749
#define TS_SIGNATURE "rusEFI 2022.06.27.alphax-4chan.2891781749"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 4175413012
#define TS_SIGNATURE "rusEFI 2022.06.26.atlas.4175413012"
#define SIGNATURE_HASH 2468023313
#define TS_SIGNATURE "rusEFI 2022.06.27.atlas.2468023313"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 318315466
#define TS_SIGNATURE "rusEFI 2022.06.26.core8.318315466"
#define SIGNATURE_HASH 2034084047
#define TS_SIGNATURE "rusEFI 2022.06.27.core8.2034084047"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3826600499
#define TS_SIGNATURE "rusEFI 2022.06.26.f407-discovery.3826600499"
#define SIGNATURE_HASH 2412902710
#define TS_SIGNATURE "rusEFI 2022.06.27.f407-discovery.2412902710"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3826600499
#define TS_SIGNATURE "rusEFI 2022.06.26.f429-discovery.3826600499"
#define SIGNATURE_HASH 2412902710
#define TS_SIGNATURE "rusEFI 2022.06.27.f429-discovery.2412902710"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2792994551
#define TS_SIGNATURE "rusEFI 2022.06.26.frankenso_na6.2792994551"
#define SIGNATURE_HASH 3451717106
#define TS_SIGNATURE "rusEFI 2022.06.27.frankenso_na6.3451717106"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2432243020
#define TS_SIGNATURE "rusEFI 2022.06.26.harley81.2432243020"
#define SIGNATURE_HASH 4215121481
#define TS_SIGNATURE "rusEFI 2022.06.27.harley81.4215121481"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3306838870
#define TS_SIGNATURE "rusEFI 2022.06.26.hellen-gm-e67.3306838870"
#define SIGNATURE_HASH 2933844051
#define TS_SIGNATURE "rusEFI 2022.06.27.hellen-gm-e67.2933844051"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 1033796607
#define TS_SIGNATURE "rusEFI 2022.06.26.hellen-nb1.1033796607"
#define SIGNATURE_HASH 1448790266
#define TS_SIGNATURE "rusEFI 2022.06.27.hellen-nb1.1448790266"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 1825305305
#define TS_SIGNATURE "rusEFI 2022.06.26.hellen121nissan.1825305305"
#define SIGNATURE_HASH 118440412
#define TS_SIGNATURE "rusEFI 2022.06.27.hellen121nissan.118440412"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2486470985
#define TS_SIGNATURE "rusEFI 2022.06.26.hellen121vag.2486470985"
#define SIGNATURE_HASH 4293933644
#define TS_SIGNATURE "rusEFI 2022.06.27.hellen121vag.4293933644"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2319357666
#define TS_SIGNATURE "rusEFI 2022.06.26.hellen128.2319357666"
#define SIGNATURE_HASH 3791267303
#define TS_SIGNATURE "rusEFI 2022.06.27.hellen128.3791267303"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2086287543
#define TS_SIGNATURE "rusEFI 2022.06.26.hellen154hyundai.2086287543"
#define SIGNATURE_HASH 396266418
#define TS_SIGNATURE "rusEFI 2022.06.27.hellen154hyundai.396266418"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 371876663
#define TS_SIGNATURE "rusEFI 2022.06.26.hellen72.371876663"
#define SIGNATURE_HASH 2112802866
#define TS_SIGNATURE "rusEFI 2022.06.27.hellen72.2112802866"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3332411961
#define TS_SIGNATURE "rusEFI 2022.06.26.hellen81.3332411961"
#define SIGNATURE_HASH 2909020476
#define TS_SIGNATURE "rusEFI 2022.06.27.hellen81.2909020476"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3095563415
#define TS_SIGNATURE "rusEFI 2022.06.26.hellen88bmw.3095563415"
#define SIGNATURE_HASH 3544596370
#define TS_SIGNATURE "rusEFI 2022.06.27.hellen88bmw.3544596370"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 1721678675
#define TS_SIGNATURE "rusEFI 2022.06.26.hellenNA6.1721678675"
#define SIGNATURE_HASH 224004182
#define TS_SIGNATURE "rusEFI 2022.06.27.hellenNA6.224004182"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3870068739
#define TS_SIGNATURE "rusEFI 2022.06.26.hellenNA8_96.3870068739"
#define SIGNATURE_HASH 2372412166
#define TS_SIGNATURE "rusEFI 2022.06.27.hellenNA8_96.2372412166"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on hellen_cypress_gen_config.bat null
//
#define SIGNATURE_HASH 2704868409
#define TS_SIGNATURE "rusEFI 2022.06.26.hellen_cypress.2704868409"
#define SIGNATURE_HASH 3405625148
#define TS_SIGNATURE "rusEFI 2022.06.27.hellen_cypress.3405625148"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on kinetis_gen_config.bat null
//
#define SIGNATURE_HASH 4286210996
#define TS_SIGNATURE "rusEFI 2022.06.26.kin.4286210996"
#define SIGNATURE_HASH 2495533233
#define TS_SIGNATURE "rusEFI 2022.06.27.kin.2495533233"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2152083900
#define TS_SIGNATURE "rusEFI 2022.06.26.mre_f4.2152083900"
#define SIGNATURE_HASH 3951198905
#define TS_SIGNATURE "rusEFI 2022.06.27.mre_f4.3951198905"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2152083900
#define TS_SIGNATURE "rusEFI 2022.06.26.mre_f7.2152083900"
#define SIGNATURE_HASH 3951198905
#define TS_SIGNATURE "rusEFI 2022.06.27.mre_f7.3951198905"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3036648405
#define TS_SIGNATURE "rusEFI 2022.06.26.prometheus_405.3036648405"
#define SIGNATURE_HASH 3745194192
#define TS_SIGNATURE "rusEFI 2022.06.27.prometheus_405.3745194192"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3036648405
#define TS_SIGNATURE "rusEFI 2022.06.26.prometheus_469.3036648405"
#define SIGNATURE_HASH 3745194192
#define TS_SIGNATURE "rusEFI 2022.06.27.prometheus_469.3745194192"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 958025503
#define TS_SIGNATURE "rusEFI 2022.06.26.proteus_f4.958025503"
#define SIGNATURE_HASH 1390345242
#define TS_SIGNATURE "rusEFI 2022.06.27.proteus_f4.1390345242"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 958025503
#define TS_SIGNATURE "rusEFI 2022.06.26.proteus_f7.958025503"
#define SIGNATURE_HASH 1390345242
#define TS_SIGNATURE "rusEFI 2022.06.27.proteus_f7.1390345242"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 958025503
#define TS_SIGNATURE "rusEFI 2022.06.26.proteus_h7.958025503"
#define SIGNATURE_HASH 1390345242
#define TS_SIGNATURE "rusEFI 2022.06.27.proteus_h7.1390345242"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on config/boards/subaru_eg33/config/gen_subaru_config.sh null
//
#define SIGNATURE_HASH 4010062721
#define TS_SIGNATURE "rusEFI 2022.06.26.subaru_eg33_f7.4010062721"
#define SIGNATURE_HASH 2227175556
#define TS_SIGNATURE "rusEFI 2022.06.27.subaru_eg33_f7.2227175556"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 1310557287
#define TS_SIGNATURE "rusEFI 2022.06.26.tdg-pdm8.1310557287"
#define SIGNATURE_HASH 634992482
#define TS_SIGNATURE "rusEFI 2022.06.27.tdg-pdm8.634992482"

View File

@ -351,6 +351,8 @@ float getOutputValueByName(const char *name) {
return engine->outputChannels.luaLastCycleDuration;
if (strEqualCaseInsensitive(name, "testBenchIter"))
return engine->outputChannels.testBenchIter;
if (strEqualCaseInsensitive(name, "tcu_currentRange"))
return engine->outputChannels.tcu_currentRange;
if (strEqualCaseInsensitive(name, "tcRatio"))
return engine->outputChannels.tcRatio;
if (strEqualCaseInsensitive(name, "lastShiftTime"))

View File

@ -335,6 +335,8 @@ float getConfigValueByName(const char *name) {
return engineConfiguration->isHip9011Enabled;
if (strEqualCaseInsensitive(name, "isVerboseAlternator"))
return engineConfiguration->isVerboseAlternator;
if (strEqualCaseInsensitive(name, "verboseQuad"))
return engineConfiguration->verboseQuad;
if (strEqualCaseInsensitive(name, "useStepperIdle"))
return engineConfiguration->useStepperIdle;
if (strEqualCaseInsensitive(name, "enabledStep1Limiter"))
@ -1282,6 +1284,11 @@ void setConfigValueByName(const char *name, float value) {
engineConfiguration->isVerboseAlternator = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "verboseQuad"))
{
engineConfiguration->verboseQuad = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "useStepperIdle"))
{
engineConfiguration->useStepperIdle = (int)value;

View File

@ -1,6 +1,6 @@
package com.rusefi.config.generated;
// this file was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Sun Jun 26 00:16:15 UTC 2022
// this file was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Mon Jun 27 00:08:55 UTC 2022
// by class com.rusefi.output.FileJavaFieldsConsumer
import com.rusefi.config.*;
@ -635,7 +635,7 @@ public class TsOutputs {
public static final Field LUAINVOCATIONCOUNTER = Field.create("LUAINVOCATIONCOUNTER", 376, FieldType.INT).setScale(1.0);
public static final Field LUALASTCYCLEDURATION = Field.create("LUALASTCYCLEDURATION", 380, FieldType.INT).setScale(1.0);
public static final Field TESTBENCHITER = Field.create("TESTBENCHITER", 384, FieldType.INT8).setScale(1.0);
public static final Field UNUSEDWAT = Field.create("UNUSEDWAT", 385, FieldType.INT8).setScale(1.0);
public static final Field TCU_CURRENTRANGE = Field.create("TCU_CURRENTRANGE", 385, FieldType.INT8).setScale(1.0);
public static final Field TCRATIO = Field.create("TCRATIO", 386, FieldType.INT16).setScale(0.01);
public static final Field LASTSHIFTTIME = Field.create("LASTSHIFTTIME", 388, FieldType.FLOAT);
public static final Field VSSEDGECOUNTER = Field.create("VSSEDGECOUNTER", 392, FieldType.INT).setScale(1.0);
@ -1049,7 +1049,7 @@ public class TsOutputs {
LUAINVOCATIONCOUNTER,
LUALASTCYCLEDURATION,
TESTBENCHITER,
UNUSEDWAT,
TCU_CURRENTRANGE,
TCRATIO,
LASTSHIFTTIME,
VSSEDGECOUNTER,