diff --git a/firmware/controllers/generated/engine_configuration_generated_structures.h b/firmware/controllers/generated/engine_configuration_generated_structures.h index 425c4fc45b..50ac141c06 100644 --- a/firmware/controllers/generated/engine_configuration_generated_structures.h +++ b/firmware/controllers/generated/engine_configuration_generated_structures.h @@ -1,4 +1,4 @@ -// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 18:36:09 EDT 2019 +// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 23:55:35 EDT 2019 // by class com.rusefi.output.CHeaderConsumer // begin #ifndef CONTROLLERS_GENERATED_ENGINE_CONFIGURATION_GENERATED_STRUCTURES_H @@ -1089,7 +1089,7 @@ struct engine_configuration_s { bool cj125isUrDivided : 1; /** offset 76 bit 16 */ - bool issue_294_16 : 1; + bool useTLE888_hall_mode : 1; /** offset 76 bit 17 */ bool issue_294_17 : 1; @@ -2821,4 +2821,4 @@ typedef struct persistent_config_s persistent_config_s; #endif // end -// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 18:36:09 EDT 2019 +// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 23:55:35 EDT 2019 diff --git a/firmware/controllers/generated/rusefi_generated.h b/firmware/controllers/generated/rusefi_generated.h index 1171c8f1a7..f04001e044 100644 --- a/firmware/controllers/generated/rusefi_generated.h +++ b/firmware/controllers/generated/rusefi_generated.h @@ -1262,8 +1262,6 @@ #define isMapAveragingEnabled_offset_hex 5c4 #define isSdCardEnabled_offset 744 #define isSdCardEnabled_offset_hex 2e8 -#define issue_294_16_offset 76 -#define issue_294_16_offset_hex 4c #define issue_294_17_offset 76 #define issue_294_17_offset_hex 4c #define issue_294_18_offset 76 @@ -1949,6 +1947,8 @@ #define useSerialPort_offset_hex 2e8 #define useStepperIdle_offset 744 #define useStepperIdle_offset_hex 2e8 +#define useTLE888_hall_mode_offset 76 +#define useTLE888_hall_mode_offset_hex 4c #define useTpicAdvancedMode_offset 744 #define useTpicAdvancedMode_offset_hex 2e8 #define useTPSAdvanceTable_offset 1476 diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 9643edaae3..c2813213f6 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -298,7 +298,7 @@ bit etb1_use_two_wires; bit etb2_use_two_wires; bit showSdCardWarning; bit cj125isUrDivided;looks like 3v range should be enough, divider not needed -bit issue_294_16; +bit useTLE888_hall_mode; bit issue_294_17; bit issue_294_18; bit issue_294_19; diff --git a/firmware/tunerstudio/rusefi.ini b/firmware/tunerstudio/rusefi.ini index 7be991b22a..f7033b3dd6 100644 --- a/firmware/tunerstudio/rusefi.ini +++ b/firmware/tunerstudio/rusefi.ini @@ -82,7 +82,7 @@ enable2ndByteCanID = false ; see PAGE_0_SIZE in C source code ; CONFIG_DEFINITION_START -; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 18:36:09 EDT 2019 +; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 23:55:35 EDT 2019 pageSize = 20000 page = 1 @@ -107,7 +107,7 @@ page = 1 etb2_use_two_wires = bits, U32, 76, [13:13], "false", "true" showSdCardWarning = bits, U32, 76, [14:14], "false", "true" cj125isUrDivided = bits, U32, 76, [15:15], "false", "true" - issue_294_16 = bits, U32, 76, [16:16], "false", "true" + useTLE888_hall_mode = bits, U32, 76, [16:16], "false", "true" issue_294_17 = bits, U32, 76, [17:17], "false", "true" issue_294_18 = bits, U32, 76, [18:18], "false", "true" issue_294_19 = bits, U32, 76, [19:19], "false", "true" @@ -3162,6 +3162,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00" dialog = tle8888, "TLE8888", yAxis field = "TLE8888 Chip Select", tle8888_cs field = "TLE8888 SPI", tle8888spiDevice + field = "useTLE888_hall_mode", useTLE888_hall_mode dialog = connection, "", yAxis field = "STM32 vRef voltage", adcVcc diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index b39a5ccaf6..988eed3040 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -2182,6 +2182,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00" dialog = tle8888, "TLE8888", yAxis field = "TLE8888 Chip Select", tle8888_cs field = "TLE8888 SPI", tle8888spiDevice + field = "useTLE888_hall_mode", useTLE888_hall_mode dialog = connection, "", yAxis field = "STM32 vRef voltage", adcVcc diff --git a/firmware/tunerstudio/rusefi_microrusefi.ini b/firmware/tunerstudio/rusefi_microrusefi.ini index dadc4023ce..3e573a3d14 100644 --- a/firmware/tunerstudio/rusefi_microrusefi.ini +++ b/firmware/tunerstudio/rusefi_microrusefi.ini @@ -82,7 +82,7 @@ enable2ndByteCanID = false ; see PAGE_0_SIZE in C source code ; CONFIG_DEFINITION_START -; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 18:36:12 EDT 2019 +; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 23:55:49 EDT 2019 pageSize = 20000 page = 1 @@ -107,7 +107,7 @@ page = 1 etb2_use_two_wires = bits, U32, 76, [13:13], "false", "true" showSdCardWarning = bits, U32, 76, [14:14], "false", "true" cj125isUrDivided = bits, U32, 76, [15:15], "false", "true" - issue_294_16 = bits, U32, 76, [16:16], "false", "true" + useTLE888_hall_mode = bits, U32, 76, [16:16], "false", "true" issue_294_17 = bits, U32, 76, [17:17], "false", "true" issue_294_18 = bits, U32, 76, [18:18], "false", "true" issue_294_19 = bits, U32, 76, [19:19], "false", "true" @@ -3147,6 +3147,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00" dialog = tle8888, "TLE8888", yAxis field = "TLE8888 Chip Select", tle8888_cs field = "TLE8888 SPI", tle8888spiDevice + field = "useTLE888_hall_mode", useTLE888_hall_mode dialog = connection, "", yAxis field = "STM32 vRef voltage", adcVcc diff --git a/java_console/models/src/com/rusefi/config/generated/Fields.java b/java_console/models/src/com/rusefi/config/generated/Fields.java index 08934a3f2d..f72777ac6b 100644 --- a/java_console/models/src/com/rusefi/config/generated/Fields.java +++ b/java_console/models/src/com/rusefi/config/generated/Fields.java @@ -1,6 +1,6 @@ package com.rusefi.config.generated; -// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 19:18:06 EDT 2019 +// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 23:55:35 EDT 2019 // by class com.rusefi.output.JavaFieldsConsumer import com.rusefi.config.*; @@ -838,7 +838,6 @@ public class Fields { public static final int isManualSpinningMode_offset = 1476; public static final int isMapAveragingEnabled_offset = 1476; public static final int isSdCardEnabled_offset = 744; - public static final int issue_294_16_offset = 76; public static final int issue_294_17_offset = 76; public static final int issue_294_18_offset = 76; public static final int issue_294_19_offset = 76; @@ -1257,6 +1256,7 @@ public class Fields { public static final int useSeparateVeForIdle_offset = 1476; public static final int useSerialPort_offset = 744; public static final int useStepperIdle_offset = 744; + public static final int useTLE888_hall_mode_offset = 76; public static final int useTpicAdvancedMode_offset = 744; public static final int useTPSAdvanceTable_offset = 1476; public static final int useTPSBasedVeTable_offset = 744; @@ -1305,7 +1305,7 @@ public class Fields { public static final Field ETB2_USE_TWO_WIRES = Field.create("ETB2_USE_TWO_WIRES", 76, FieldType.BIT, 13); public static final Field SHOWSDCARDWARNING = Field.create("SHOWSDCARDWARNING", 76, FieldType.BIT, 14); public static final Field CJ125ISURDIVIDED = Field.create("CJ125ISURDIVIDED", 76, FieldType.BIT, 15); - public static final Field ISSUE_294_16 = Field.create("ISSUE_294_16", 76, FieldType.BIT, 16); + public static final Field USETLE888_HALL_MODE = Field.create("USETLE888_HALL_MODE", 76, FieldType.BIT, 16); public static final Field ISSUE_294_17 = Field.create("ISSUE_294_17", 76, FieldType.BIT, 17); public static final Field ISSUE_294_18 = Field.create("ISSUE_294_18", 76, FieldType.BIT, 18); public static final Field ISSUE_294_19 = Field.create("ISSUE_294_19", 76, FieldType.BIT, 19); @@ -2089,7 +2089,7 @@ public class Fields { ETB2_USE_TWO_WIRES, SHOWSDCARDWARNING, CJ125ISURDIVIDED, - ISSUE_294_16, + USETLE888_HALL_MODE, ISSUE_294_17, ISSUE_294_18, ISSUE_294_19,