diff --git a/firmware/controllers/algo/auto_generated_commonenum.cpp b/firmware/controllers/algo/auto_generated_commonenum.cpp index 973bb694f9..9ad2d0d134 100644 --- a/firmware/controllers/algo/auto_generated_commonenum.cpp +++ b/firmware/controllers/algo/auto_generated_commonenum.cpp @@ -1,10 +1,19 @@ #include "global.h" #include "rusefi_enums.h" -// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Sun Mar 20 02:15:51 UTC 2022 +// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Wed Apr 06 21:41:12 UTC 2022 // see also gen_config_and_enums.bat +const char *getGearControllerMode(GearControllerMode value){ +switch(value) { +case GearControllerMode::ButtonShift: + return "ButtonShift"; +case GearControllerMode::None: + return "None"; + } + return NULL; +} const char *getInjectorNonlinearMode(InjectorNonlinearMode value){ switch(value) { case INJ_None: @@ -44,6 +53,17 @@ case NOT_A_PEAK: } return NULL; } +const char *getTransmissionControllerMode(TransmissionControllerMode value){ +switch(value) { +case TransmissionControllerMode::Gm4l6x: + return "Gm4l6x"; +case TransmissionControllerMode::None: + return "None"; +case TransmissionControllerMode::SimpleTransmissionController: + return "SimpleTransmissionController"; + } + return NULL; +} const char *getTsCalMode(TsCalMode value){ switch(value) { case TsCalMode::EtbKd: diff --git a/firmware/controllers/algo/auto_generated_commonenum.h b/firmware/controllers/algo/auto_generated_commonenum.h index be7181ec23..d8f72b022a 100644 --- a/firmware/controllers/algo/auto_generated_commonenum.h +++ b/firmware/controllers/algo/auto_generated_commonenum.h @@ -1,14 +1,20 @@ -// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Thu Jan 27 22:57:18 UTC 2022 +// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Wed Apr 06 21:41:12 UTC 2022 // see also gen_config_and_enums.bat #include "rusefi_enums.h" #pragma once +#if __cplusplus +const char *getGearControllerMode(GearControllerMode value); +#endif //__cplusplus const char *getInjectorNonlinearMode(InjectorNonlinearMode value); const char *getPidAutoTune_AutoTunerState(PidAutoTune_AutoTunerState value); const char *getPidAutoTune_Peak(PidAutoTune_Peak value); #if __cplusplus +const char *getTransmissionControllerMode(TransmissionControllerMode value); +#endif //__cplusplus +#if __cplusplus const char *getTsCalMode(TsCalMode value); #endif //__cplusplus const char *getAdc_channel_mode_e(adc_channel_mode_e value); diff --git a/firmware/controllers/generated/signature_all.h b/firmware/controllers/generated/signature_all.h index 7d12f9ae30..935428b166 100644 --- a/firmware/controllers/generated/signature_all.h +++ b/firmware/controllers/generated/signature_all.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 213193612 -#define TS_SIGNATURE "rusEFI 2022.04.06.all.213193612" +#define SIGNATURE_HASH 2608207070 +#define TS_SIGNATURE "rusEFI 2022.04.06.all.2608207070" diff --git a/firmware/controllers/generated/signature_alphax-2chan.h b/firmware/controllers/generated/signature_alphax-2chan.h index 65dda6092c..5b310f440e 100644 --- a/firmware/controllers/generated/signature_alphax-2chan.h +++ b/firmware/controllers/generated/signature_alphax-2chan.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 295096019 -#define TS_SIGNATURE "rusEFI 2022.04.06.alphax-2chan.295096019" +#define SIGNATURE_HASH 2253769089 +#define TS_SIGNATURE "rusEFI 2022.04.06.alphax-2chan.2253769089" diff --git a/firmware/controllers/generated/signature_alphax-4chan.h b/firmware/controllers/generated/signature_alphax-4chan.h index 314ec7b71b..e187740acd 100644 --- a/firmware/controllers/generated/signature_alphax-4chan.h +++ b/firmware/controllers/generated/signature_alphax-4chan.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 2231815288 -#define TS_SIGNATURE "rusEFI 2022.04.06.alphax-4chan.2231815288" +#define SIGNATURE_HASH 314952490 +#define TS_SIGNATURE "rusEFI 2022.04.06.alphax-4chan.314952490" diff --git a/firmware/controllers/generated/signature_atlas.h b/firmware/controllers/generated/signature_atlas.h index cf51e7b4bb..89515bca62 100644 --- a/firmware/controllers/generated/signature_atlas.h +++ b/firmware/controllers/generated/signature_atlas.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 276817579 -#define TS_SIGNATURE "rusEFI 2022.04.06.atlas.276817579" +#define SIGNATURE_HASH 2277302777 +#define TS_SIGNATURE "rusEFI 2022.04.06.atlas.2277302777" diff --git a/firmware/controllers/generated/signature_core8.h b/firmware/controllers/generated/signature_core8.h index 5c12ad990d..c77fb68c05 100644 --- a/firmware/controllers/generated/signature_core8.h +++ b/firmware/controllers/generated/signature_core8.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 562731750 -#define TS_SIGNATURE "rusEFI 2022.04.06.core8.562731750" +#define SIGNATURE_HASH 3058277812 +#define TS_SIGNATURE "rusEFI 2022.04.06.core8.3058277812" diff --git a/firmware/controllers/generated/signature_f429-discovery.h b/firmware/controllers/generated/signature_f429-discovery.h index a538b2614a..22cbf259b1 100644 --- a/firmware/controllers/generated/signature_f429-discovery.h +++ b/firmware/controllers/generated/signature_f429-discovery.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 213193612 -#define TS_SIGNATURE "rusEFI 2022.04.06.f429-discovery.213193612" +#define SIGNATURE_HASH 2608207070 +#define TS_SIGNATURE "rusEFI 2022.04.06.f429-discovery.2608207070" diff --git a/firmware/controllers/generated/signature_frankenso_na6.h b/firmware/controllers/generated/signature_frankenso_na6.h index f815ae15cc..e341ffcc14 100644 --- a/firmware/controllers/generated/signature_frankenso_na6.h +++ b/firmware/controllers/generated/signature_frankenso_na6.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 1701612477 -#define TS_SIGNATURE "rusEFI 2022.04.06.frankenso_na6.1701612477" +#define SIGNATURE_HASH 4071591151 +#define TS_SIGNATURE "rusEFI 2022.04.06.frankenso_na6.4071591151" diff --git a/firmware/controllers/generated/signature_harley81.h b/firmware/controllers/generated/signature_harley81.h index 4091c6f207..eb2f27839d 100644 --- a/firmware/controllers/generated/signature_harley81.h +++ b/firmware/controllers/generated/signature_harley81.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 3104955235 -#define TS_SIGNATURE "rusEFI 2022.04.06.harley81.3104955235" +#define SIGNATURE_HASH 785570865 +#define TS_SIGNATURE "rusEFI 2022.04.06.harley81.785570865" diff --git a/firmware/controllers/generated/signature_hellen-nb1.h b/firmware/controllers/generated/signature_hellen-nb1.h index 24b5a7baca..d9450bd205 100644 --- a/firmware/controllers/generated/signature_hellen-nb1.h +++ b/firmware/controllers/generated/signature_hellen-nb1.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 761089985 -#define TS_SIGNATURE "rusEFI 2022.04.06.hellen-nb1.761089985" +#define SIGNATURE_HASH 3130935443 +#define TS_SIGNATURE "rusEFI 2022.04.06.hellen-nb1.3130935443" diff --git a/firmware/controllers/generated/signature_hellen121nissan.h b/firmware/controllers/generated/signature_hellen121nissan.h index cda8f0419d..f00178920f 100644 --- a/firmware/controllers/generated/signature_hellen121nissan.h +++ b/firmware/controllers/generated/signature_hellen121nissan.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 856317575 -#define TS_SIGNATURE "rusEFI 2022.04.06.hellen121nissan.856317575" +#define SIGNATURE_HASH 2764659157 +#define TS_SIGNATURE "rusEFI 2022.04.06.hellen121nissan.2764659157" diff --git a/firmware/controllers/generated/signature_hellen121vag.h b/firmware/controllers/generated/signature_hellen121vag.h index e28b1305f3..207432c4e4 100644 --- a/firmware/controllers/generated/signature_hellen121vag.h +++ b/firmware/controllers/generated/signature_hellen121vag.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 1656915693 -#define TS_SIGNATURE "rusEFI 2022.04.06.hellen121vag.1656915693" +#define SIGNATURE_HASH 4110516671 +#define TS_SIGNATURE "rusEFI 2022.04.06.hellen121vag.4110516671" diff --git a/firmware/controllers/generated/signature_hellen128.h b/firmware/controllers/generated/signature_hellen128.h index 763f9c3790..f7db9ee61b 100644 --- a/firmware/controllers/generated/signature_hellen128.h +++ b/firmware/controllers/generated/signature_hellen128.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 304551649 -#define TS_SIGNATURE "rusEFI 2022.04.06.hellen128.304551649" +#define SIGNATURE_HASH 2246316467 +#define TS_SIGNATURE "rusEFI 2022.04.06.hellen128.2246316467" diff --git a/firmware/controllers/generated/signature_hellen154hyundai.h b/firmware/controllers/generated/signature_hellen154hyundai.h index 2b26c1438c..20d051ac4b 100644 --- a/firmware/controllers/generated/signature_hellen154hyundai.h +++ b/firmware/controllers/generated/signature_hellen154hyundai.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 1670557327 -#define TS_SIGNATURE "rusEFI 2022.04.06.hellen154hyundai.1670557327" +#define SIGNATURE_HASH 4098992605 +#define TS_SIGNATURE "rusEFI 2022.04.06.hellen154hyundai.4098992605" diff --git a/firmware/controllers/generated/signature_hellen72.h b/firmware/controllers/generated/signature_hellen72.h index 4a9f99b68d..7b4325a004 100644 --- a/firmware/controllers/generated/signature_hellen72.h +++ b/firmware/controllers/generated/signature_hellen72.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 3286032784 -#define TS_SIGNATURE "rusEFI 2022.04.06.hellen72.3286032784" +#define SIGNATURE_HASH 1411376834 +#define TS_SIGNATURE "rusEFI 2022.04.06.hellen72.1411376834" diff --git a/firmware/controllers/generated/signature_hellen81.h b/firmware/controllers/generated/signature_hellen81.h index 729af35b93..88bbc07cc1 100644 --- a/firmware/controllers/generated/signature_hellen81.h +++ b/firmware/controllers/generated/signature_hellen81.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 3371366887 -#define TS_SIGNATURE "rusEFI 2022.04.06.hellen81.3371366887" +#define SIGNATURE_HASH 1597111989 +#define TS_SIGNATURE "rusEFI 2022.04.06.hellen81.1597111989" diff --git a/firmware/controllers/generated/signature_hellen88bmw.h b/firmware/controllers/generated/signature_hellen88bmw.h index 7372c8f28d..61891dbf0c 100644 --- a/firmware/controllers/generated/signature_hellen88bmw.h +++ b/firmware/controllers/generated/signature_hellen88bmw.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 82377425 -#define TS_SIGNATURE "rusEFI 2022.04.06.hellen88bmw.82377425" +#define SIGNATURE_HASH 2469133699 +#define TS_SIGNATURE "rusEFI 2022.04.06.hellen88bmw.2469133699" diff --git a/firmware/controllers/generated/signature_hellenNA6.h b/firmware/controllers/generated/signature_hellenNA6.h index ab40814205..2c8a5a7193 100644 --- a/firmware/controllers/generated/signature_hellenNA6.h +++ b/firmware/controllers/generated/signature_hellenNA6.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 451002706 -#define TS_SIGNATURE "rusEFI 2022.04.06.hellenNA6.451002706" +#define SIGNATURE_HASH 2367866368 +#define TS_SIGNATURE "rusEFI 2022.04.06.hellenNA6.2367866368" diff --git a/firmware/controllers/generated/signature_hellenNA8_96.h b/firmware/controllers/generated/signature_hellenNA8_96.h index 002bc676f8..1ef0ce6bca 100644 --- a/firmware/controllers/generated/signature_hellenNA8_96.h +++ b/firmware/controllers/generated/signature_hellenNA8_96.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 3648519561 -#define TS_SIGNATURE "rusEFI 2022.04.06.hellenNA8_96.3648519561" +#define SIGNATURE_HASH 1320483547 +#define TS_SIGNATURE "rusEFI 2022.04.06.hellenNA8_96.1320483547" diff --git a/firmware/controllers/generated/signature_hellen_cypress.h b/firmware/controllers/generated/signature_hellen_cypress.h index 43008f2412..b0b8ecdb61 100644 --- a/firmware/controllers/generated/signature_hellen_cypress.h +++ b/firmware/controllers/generated/signature_hellen_cypress.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on hellen_cypress_gen_config.bat null // -#define SIGNATURE_HASH 910226480 -#define TS_SIGNATURE "rusEFI 2022.04.06.hellen_cypress.910226480" +#define SIGNATURE_HASH 2709779298 +#define TS_SIGNATURE "rusEFI 2022.04.06.hellen_cypress.2709779298" diff --git a/firmware/controllers/generated/signature_kin.h b/firmware/controllers/generated/signature_kin.h index 862c2a1be0..ddf095dd24 100644 --- a/firmware/controllers/generated/signature_kin.h +++ b/firmware/controllers/generated/signature_kin.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on kinetis_gen_config.bat null // -#define SIGNATURE_HASH 3387242700 -#define TS_SIGNATURE "rusEFI 2022.04.06.kin.3387242700" +#define SIGNATURE_HASH 1579564958 +#define TS_SIGNATURE "rusEFI 2022.04.06.kin.1579564958" diff --git a/firmware/controllers/generated/signature_mre_f4.h b/firmware/controllers/generated/signature_mre_f4.h index ab198bc75e..41ff69ff7b 100644 --- a/firmware/controllers/generated/signature_mre_f4.h +++ b/firmware/controllers/generated/signature_mre_f4.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 1670766055 -#define TS_SIGNATURE "rusEFI 2022.04.06.mre_f4.1670766055" +#define SIGNATURE_HASH 4099332789 +#define TS_SIGNATURE "rusEFI 2022.04.06.mre_f4.4099332789" diff --git a/firmware/controllers/generated/signature_mre_f7.h b/firmware/controllers/generated/signature_mre_f7.h index 069271e6c2..ac0d248311 100644 --- a/firmware/controllers/generated/signature_mre_f7.h +++ b/firmware/controllers/generated/signature_mre_f7.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 1670766055 -#define TS_SIGNATURE "rusEFI 2022.04.06.mre_f7.1670766055" +#define SIGNATURE_HASH 4099332789 +#define TS_SIGNATURE "rusEFI 2022.04.06.mre_f7.4099332789" diff --git a/firmware/controllers/generated/signature_prometheus_405.h b/firmware/controllers/generated/signature_prometheus_405.h index 872f5a3be2..e0f38d4140 100644 --- a/firmware/controllers/generated/signature_prometheus_405.h +++ b/firmware/controllers/generated/signature_prometheus_405.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 1549781610 -#define TS_SIGNATURE "rusEFI 2022.04.06.prometheus_405.1549781610" +#define SIGNATURE_HASH 3416051000 +#define TS_SIGNATURE "rusEFI 2022.04.06.prometheus_405.3416051000" diff --git a/firmware/controllers/generated/signature_prometheus_469.h b/firmware/controllers/generated/signature_prometheus_469.h index 4825f87b60..ef26fc9b30 100644 --- a/firmware/controllers/generated/signature_prometheus_469.h +++ b/firmware/controllers/generated/signature_prometheus_469.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 1549781610 -#define TS_SIGNATURE "rusEFI 2022.04.06.prometheus_469.1549781610" +#define SIGNATURE_HASH 3416051000 +#define TS_SIGNATURE "rusEFI 2022.04.06.prometheus_469.3416051000" diff --git a/firmware/controllers/generated/signature_proteus_f4.h b/firmware/controllers/generated/signature_proteus_f4.h index 4868090d0e..f3430d1460 100644 --- a/firmware/controllers/generated/signature_proteus_f4.h +++ b/firmware/controllers/generated/signature_proteus_f4.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 711756301 -#define TS_SIGNATURE "rusEFI 2022.04.06.proteus_f4.711756301" +#define SIGNATURE_HASH 3182398815 +#define TS_SIGNATURE "rusEFI 2022.04.06.proteus_f4.3182398815" diff --git a/firmware/controllers/generated/signature_proteus_f7.h b/firmware/controllers/generated/signature_proteus_f7.h index df2783753f..da8b23b746 100644 --- a/firmware/controllers/generated/signature_proteus_f7.h +++ b/firmware/controllers/generated/signature_proteus_f7.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 711756301 -#define TS_SIGNATURE "rusEFI 2022.04.06.proteus_f7.711756301" +#define SIGNATURE_HASH 3182398815 +#define TS_SIGNATURE "rusEFI 2022.04.06.proteus_f7.3182398815" diff --git a/firmware/controllers/generated/signature_proteus_h7.h b/firmware/controllers/generated/signature_proteus_h7.h index e129aa4469..30810105b0 100644 --- a/firmware/controllers/generated/signature_proteus_h7.h +++ b/firmware/controllers/generated/signature_proteus_h7.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 711756301 -#define TS_SIGNATURE "rusEFI 2022.04.06.proteus_h7.711756301" +#define SIGNATURE_HASH 3182398815 +#define TS_SIGNATURE "rusEFI 2022.04.06.proteus_h7.3182398815" diff --git a/firmware/controllers/generated/signature_subaru_eg33_f7.h b/firmware/controllers/generated/signature_subaru_eg33_f7.h index 2159a15a41..d44c9ae0d6 100644 --- a/firmware/controllers/generated/signature_subaru_eg33_f7.h +++ b/firmware/controllers/generated/signature_subaru_eg33_f7.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on config/boards/subaru_eg33/config/gen_config.sh null // -#define SIGNATURE_HASH 1828876813 -#define TS_SIGNATURE "rusEFI 2022.04.06.subaru_eg33_f7.1828876813" +#define SIGNATURE_HASH 4206982495 +#define TS_SIGNATURE "rusEFI 2022.04.06.subaru_eg33_f7.4206982495" diff --git a/firmware/controllers/generated/signature_tdg-pdm8.h b/firmware/controllers/generated/signature_tdg-pdm8.h index a6c7e3c649..4617165fe7 100644 --- a/firmware/controllers/generated/signature_tdg-pdm8.h +++ b/firmware/controllers/generated/signature_tdg-pdm8.h @@ -2,5 +2,5 @@ // was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null // -#define SIGNATURE_HASH 3768867805 -#define TS_SIGNATURE "rusEFI 2022.04.06.tdg-pdm8.3768867805" +#define SIGNATURE_HASH 2003262607 +#define TS_SIGNATURE "rusEFI 2022.04.06.tdg-pdm8.2003262607"