From 7b131dc5c7a0a49eb601f7dd7f44770134215e89 Mon Sep 17 00:00:00 2001 From: GitHub build-firmware Action Date: Tue, 4 Jan 2022 03:39:23 +0000 Subject: [PATCH] Auto-generated configs and docs --- .../controllers/algo/auto_generated_enums.cpp | 21 +---------------- .../controllers/algo/auto_generated_enums.h | 3 +-- .../controllers/algo/auto_generated_enums.cpp | 21 +---------------- .../controllers/algo/auto_generated_enums.h | 3 +-- .../controllers/algo/auto_generated_enums.cpp | 21 +---------------- .../controllers/algo/auto_generated_enums.h | 3 +-- .../controllers/algo/rusefi_generated.h | 1 + .../algo/auto_generated_commonenum.cpp | 23 ++++++++++++++++++- .../algo/auto_generated_commonenum.h | 3 ++- .../controllers/algo/auto_generated_enums.cpp | 23 +------------------ .../controllers/algo/auto_generated_enums.h | 3 +-- 11 files changed, 33 insertions(+), 92 deletions(-) diff --git a/firmware/config/boards/hellen/cypress/config/controllers/algo/auto_generated_enums.cpp b/firmware/config/boards/hellen/cypress/config/controllers/algo/auto_generated_enums.cpp index 82e6173fea..f88d45a8af 100644 --- a/firmware/config/boards/hellen/cypress/config/controllers/algo/auto_generated_enums.cpp +++ b/firmware/config/boards/hellen/cypress/config/controllers/algo/auto_generated_enums.cpp @@ -1,6 +1,6 @@ #include "global.h" #include "rusefi_hw_enums.h" -// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Mon Jul 12 21:09:56 EDT 2021 +// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:50 UTC 2022 // see also gen_config_and_enums.bat @@ -80,25 +80,6 @@ case EFI_ADC_NONE: } return NULL; } -const char *getBrain_pin_diag_e(brain_pin_diag_e value){ -switch(value) { -case PIN_DRIVER_OVERTEMP: - return "PIN_DRIVER_OVERTEMP"; -case PIN_INVALID: - return "PIN_INVALID"; -case PIN_OK: - return "PIN_OK"; -case PIN_OPEN: - return "PIN_OPEN"; -case PIN_OVERLOAD: - return "PIN_OVERLOAD"; -case PIN_SHORT_TO_BAT: - return "PIN_SHORT_TO_BAT"; -case PIN_SHORT_TO_GND: - return "PIN_SHORT_TO_GND"; - } - return NULL; -} const char *getBrain_pin_e(brain_pin_e value){ switch(value) { case DRV8860_PIN_1: diff --git a/firmware/config/boards/hellen/cypress/config/controllers/algo/auto_generated_enums.h b/firmware/config/boards/hellen/cypress/config/controllers/algo/auto_generated_enums.h index 3156e89f1f..f018e99e13 100644 --- a/firmware/config/boards/hellen/cypress/config/controllers/algo/auto_generated_enums.h +++ b/firmware/config/boards/hellen/cypress/config/controllers/algo/auto_generated_enums.h @@ -1,4 +1,4 @@ -// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Mon Jul 12 21:09:56 EDT 2021 +// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:50 UTC 2022 // see also gen_config_and_enums.bat @@ -6,6 +6,5 @@ #include "rusefi_hw_enums.h" #pragma once const char *getAdc_channel_e(adc_channel_e value); -const char *getBrain_pin_diag_e(brain_pin_diag_e value); const char *getBrain_pin_e(brain_pin_e value); const char *getPin_mode_e(pin_mode_e value); diff --git a/firmware/config/boards/kinetis/config/controllers/algo/auto_generated_enums.cpp b/firmware/config/boards/kinetis/config/controllers/algo/auto_generated_enums.cpp index a775f8caa1..baa4f14a5a 100644 --- a/firmware/config/boards/kinetis/config/controllers/algo/auto_generated_enums.cpp +++ b/firmware/config/boards/kinetis/config/controllers/algo/auto_generated_enums.cpp @@ -1,6 +1,6 @@ #include "global.h" #include "rusefi_hw_enums.h" -// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Mon Jul 12 21:09:56 EDT 2021 +// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:49 UTC 2022 // see also gen_config_and_enums.bat @@ -48,25 +48,6 @@ case EFI_ADC_NONE: } return NULL; } -const char *getBrain_pin_diag_e(brain_pin_diag_e value){ -switch(value) { -case PIN_DRIVER_OVERTEMP: - return "PIN_DRIVER_OVERTEMP"; -case PIN_INVALID: - return "PIN_INVALID"; -case PIN_OK: - return "PIN_OK"; -case PIN_OPEN: - return "PIN_OPEN"; -case PIN_OVERLOAD: - return "PIN_OVERLOAD"; -case PIN_SHORT_TO_BAT: - return "PIN_SHORT_TO_BAT"; -case PIN_SHORT_TO_GND: - return "PIN_SHORT_TO_GND"; - } - return NULL; -} const char *getBrain_pin_e(brain_pin_e value){ switch(value) { case GPIOA_0: diff --git a/firmware/config/boards/kinetis/config/controllers/algo/auto_generated_enums.h b/firmware/config/boards/kinetis/config/controllers/algo/auto_generated_enums.h index 3156e89f1f..5d6fd54097 100644 --- a/firmware/config/boards/kinetis/config/controllers/algo/auto_generated_enums.h +++ b/firmware/config/boards/kinetis/config/controllers/algo/auto_generated_enums.h @@ -1,4 +1,4 @@ -// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Mon Jul 12 21:09:56 EDT 2021 +// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:49 UTC 2022 // see also gen_config_and_enums.bat @@ -6,6 +6,5 @@ #include "rusefi_hw_enums.h" #pragma once const char *getAdc_channel_e(adc_channel_e value); -const char *getBrain_pin_diag_e(brain_pin_diag_e value); const char *getBrain_pin_e(brain_pin_e value); const char *getPin_mode_e(pin_mode_e value); diff --git a/firmware/config/boards/subaru_eg33/config/controllers/algo/auto_generated_enums.cpp b/firmware/config/boards/subaru_eg33/config/controllers/algo/auto_generated_enums.cpp index 988230fae3..6c4d2e0e09 100644 --- a/firmware/config/boards/subaru_eg33/config/controllers/algo/auto_generated_enums.cpp +++ b/firmware/config/boards/subaru_eg33/config/controllers/algo/auto_generated_enums.cpp @@ -1,6 +1,6 @@ #include "global.h" #include "rusefi_hw_enums.h" -// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Mon Jul 12 21:09:56 EDT 2021 +// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:50 UTC 2022 // see also gen_config_and_enums.bat @@ -64,25 +64,6 @@ case EFI_ADC_NONE: } return NULL; } -const char *getBrain_pin_diag_e(brain_pin_diag_e value){ -switch(value) { -case PIN_DRIVER_OVERTEMP: - return "PIN_DRIVER_OVERTEMP"; -case PIN_INVALID: - return "PIN_INVALID"; -case PIN_OK: - return "PIN_OK"; -case PIN_OPEN: - return "PIN_OPEN"; -case PIN_OVERLOAD: - return "PIN_OVERLOAD"; -case PIN_SHORT_TO_BAT: - return "PIN_SHORT_TO_BAT"; -case PIN_SHORT_TO_GND: - return "PIN_SHORT_TO_GND"; - } - return NULL; -} const char *getBrain_pin_e(brain_pin_e value){ switch(value) { case GPIOA_0: diff --git a/firmware/config/boards/subaru_eg33/config/controllers/algo/auto_generated_enums.h b/firmware/config/boards/subaru_eg33/config/controllers/algo/auto_generated_enums.h index 3156e89f1f..f018e99e13 100644 --- a/firmware/config/boards/subaru_eg33/config/controllers/algo/auto_generated_enums.h +++ b/firmware/config/boards/subaru_eg33/config/controllers/algo/auto_generated_enums.h @@ -1,4 +1,4 @@ -// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Mon Jul 12 21:09:56 EDT 2021 +// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:50 UTC 2022 // see also gen_config_and_enums.bat @@ -6,6 +6,5 @@ #include "rusefi_hw_enums.h" #pragma once const char *getAdc_channel_e(adc_channel_e value); -const char *getBrain_pin_diag_e(brain_pin_diag_e value); const char *getBrain_pin_e(brain_pin_e value); const char *getPin_mode_e(pin_mode_e value); diff --git a/firmware/config/boards/subaru_eg33/config/controllers/algo/rusefi_generated.h b/firmware/config/boards/subaru_eg33/config/controllers/algo/rusefi_generated.h index 70c7df1e02..50edebf24b 100644 --- a/firmware/config/boards/subaru_eg33/config/controllers/algo/rusefi_generated.h +++ b/firmware/config/boards/subaru_eg33/config/controllers/algo/rusefi_generated.h @@ -224,6 +224,7 @@ #define boostType_e_OPEN_LOOP 0 #define boostType_offset 932 #define brain_input_pin_e_enum "NONE","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","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","INVALID","B11 - Speed Din","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","A08 - Crank 2 VR+","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","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","A08 - Crank 1 VR+","INVALID","A07 - Cam VR+" +#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 diff --git a/firmware/controllers/algo/auto_generated_commonenum.cpp b/firmware/controllers/algo/auto_generated_commonenum.cpp index 2e278bde71..a1ad0e8cbc 100644 --- a/firmware/controllers/algo/auto_generated_commonenum.cpp +++ b/firmware/controllers/algo/auto_generated_commonenum.cpp @@ -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 Mon Dec 27 17:12:56 UTC 2021 +// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:48 UTC 2022 // see also gen_config_and_enums.bat @@ -116,6 +116,27 @@ case OPEN_LOOP: } return NULL; } +const char *getBrain_pin_diag_e(brain_pin_diag_e value){ +switch(value) { +case PIN_DRIVER_OFF: + return "PIN_DRIVER_OFF"; +case PIN_DRIVER_OVERTEMP: + return "PIN_DRIVER_OVERTEMP"; +case PIN_INVALID: + return "PIN_INVALID"; +case PIN_OK: + return "PIN_OK"; +case PIN_OPEN: + return "PIN_OPEN"; +case PIN_OVERLOAD: + return "PIN_OVERLOAD"; +case PIN_SHORT_TO_BAT: + return "PIN_SHORT_TO_BAT"; +case PIN_SHORT_TO_GND: + return "PIN_SHORT_TO_GND"; + } + return NULL; +} const char *getCan_baudrate_e(can_baudrate_e value){ switch(value) { case B100KBPS: diff --git a/firmware/controllers/algo/auto_generated_commonenum.h b/firmware/controllers/algo/auto_generated_commonenum.h index 75b873bfdd..d297eb4b4f 100644 --- a/firmware/controllers/algo/auto_generated_commonenum.h +++ b/firmware/controllers/algo/auto_generated_commonenum.h @@ -1,4 +1,4 @@ -// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Mon Dec 27 17:12:56 UTC 2021 +// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:48 UTC 2022 // see also gen_config_and_enums.bat @@ -12,6 +12,7 @@ const char *getAdc_channel_mode_e(adc_channel_mode_e value); const char *getAir_pressure_sensor_type_e(air_pressure_sensor_type_e value); const char *getAntiLagActivationMode_e(antiLagActivationMode_e value); const char *getBoostType_e(boostType_e value); +const char *getBrain_pin_diag_e(brain_pin_diag_e value); const char *getCan_baudrate_e(can_baudrate_e value); const char *getCan_nbc_e(can_nbc_e value); const char *getCan_vss_nbc_e(can_vss_nbc_e value); diff --git a/firmware/controllers/algo/auto_generated_enums.cpp b/firmware/controllers/algo/auto_generated_enums.cpp index ce51a2b3c3..4c5bde5656 100644 --- a/firmware/controllers/algo/auto_generated_enums.cpp +++ b/firmware/controllers/algo/auto_generated_enums.cpp @@ -1,6 +1,6 @@ #include "global.h" #include "rusefi_hw_enums.h" -// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Mon Jan 03 20:26:28 EST 2022 +// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:49 UTC 2022 // see also gen_config_and_enums.bat @@ -48,27 +48,6 @@ case EFI_ADC_NONE: } return NULL; } -const char *getBrain_pin_diag_e(brain_pin_diag_e value){ -switch(value) { -case PIN_DRIVER_OFF: - return "PIN_DRIVER_OFF"; -case PIN_DRIVER_OVERTEMP: - return "PIN_DRIVER_OVERTEMP"; -case PIN_INVALID: - return "PIN_INVALID"; -case PIN_OK: - return "PIN_OK"; -case PIN_OPEN: - return "PIN_OPEN"; -case PIN_OVERLOAD: - return "PIN_OVERLOAD"; -case PIN_SHORT_TO_BAT: - return "PIN_SHORT_TO_BAT"; -case PIN_SHORT_TO_GND: - return "PIN_SHORT_TO_GND"; - } - return NULL; -} const char *getBrain_pin_e(brain_pin_e value){ switch(value) { case GPIOA_0: diff --git a/firmware/controllers/algo/auto_generated_enums.h b/firmware/controllers/algo/auto_generated_enums.h index 3156e89f1f..5d6fd54097 100644 --- a/firmware/controllers/algo/auto_generated_enums.h +++ b/firmware/controllers/algo/auto_generated_enums.h @@ -1,4 +1,4 @@ -// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Mon Jul 12 21:09:56 EDT 2021 +// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:49 UTC 2022 // see also gen_config_and_enums.bat @@ -6,6 +6,5 @@ #include "rusefi_hw_enums.h" #pragma once const char *getAdc_channel_e(adc_channel_e value); -const char *getBrain_pin_diag_e(brain_pin_diag_e value); const char *getBrain_pin_e(brain_pin_e value); const char *getPin_mode_e(pin_mode_e value);