diff --git a/firmware/controllers/generated/ac_control_generated.h b/firmware/controllers/generated/ac_control_generated.h new file mode 100644 index 0000000000..54252ecb9f --- /dev/null +++ b/firmware/controllers/generated/ac_control_generated.h @@ -0,0 +1,108 @@ +// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) integration/ac_control.txt Thu Oct 14 00:25:42 EDT 2021 +// by class com.rusefi.output.CHeaderConsumer +// begin +#pragma once +#include "rusefi_types.h" +// start of ac_control_s +struct ac_control_s { + /** + offset 0 bit 0 */ + bool engineTooSlow : 1; + /** + offset 0 bit 1 */ + bool engineTooFast : 1; + /** + offset 0 bit 2 */ + bool noClt : 1; + /** + offset 0 bit 3 */ + bool engineTooHot : 1; + /** + offset 0 bit 4 */ + bool tpsTooHigh : 1; + /** + offset 0 bit 5 */ + bool acButtonState : 1; + /** + offset 0 bit 6 */ + bool unusedBit_6_6 : 1; + /** + offset 0 bit 7 */ + bool unusedBit_6_7 : 1; + /** + offset 0 bit 8 */ + bool unusedBit_6_8 : 1; + /** + offset 0 bit 9 */ + bool unusedBit_6_9 : 1; + /** + offset 0 bit 10 */ + bool unusedBit_6_10 : 1; + /** + offset 0 bit 11 */ + bool unusedBit_6_11 : 1; + /** + offset 0 bit 12 */ + bool unusedBit_6_12 : 1; + /** + offset 0 bit 13 */ + bool unusedBit_6_13 : 1; + /** + offset 0 bit 14 */ + bool unusedBit_6_14 : 1; + /** + offset 0 bit 15 */ + bool unusedBit_6_15 : 1; + /** + offset 0 bit 16 */ + bool unusedBit_6_16 : 1; + /** + offset 0 bit 17 */ + bool unusedBit_6_17 : 1; + /** + offset 0 bit 18 */ + bool unusedBit_6_18 : 1; + /** + offset 0 bit 19 */ + bool unusedBit_6_19 : 1; + /** + offset 0 bit 20 */ + bool unusedBit_6_20 : 1; + /** + offset 0 bit 21 */ + bool unusedBit_6_21 : 1; + /** + offset 0 bit 22 */ + bool unusedBit_6_22 : 1; + /** + offset 0 bit 23 */ + bool unusedBit_6_23 : 1; + /** + offset 0 bit 24 */ + bool unusedBit_6_24 : 1; + /** + offset 0 bit 25 */ + bool unusedBit_6_25 : 1; + /** + offset 0 bit 26 */ + bool unusedBit_6_26 : 1; + /** + offset 0 bit 27 */ + bool unusedBit_6_27 : 1; + /** + offset 0 bit 28 */ + bool unusedBit_6_28 : 1; + /** + offset 0 bit 29 */ + bool unusedBit_6_29 : 1; + /** + offset 0 bit 30 */ + bool unusedBit_6_30 : 1; + /** + offset 0 bit 31 */ + bool unusedBit_6_31 : 1; + /** total size 4*/ +}; + +// end +// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) integration/ac_control.txt Thu Oct 14 00:25:42 EDT 2021 diff --git a/firmware/gen_live_documentation.sh b/firmware/gen_live_documentation.sh index 1d11a2957e..ad13fcf48a 100755 --- a/firmware/gen_live_documentation.sh +++ b/firmware/gen_live_documentation.sh @@ -2,15 +2,17 @@ rm gen_live_documentation.log -bash gen_line_documentation_one_file.sh pid_state.txt PidState.java +bash gen_live_documentation_one_file.sh ac_control AcControl.java -bash gen_line_documentation_one_file.sh engine_state EngineState.java +bash gen_live_documentation_one_file.sh pid_state PidState.java -bash gen_line_documentation_one_file.sh trigger_centralTriggerCentral.java +bash gen_live_documentation_one_file.sh engine_state EngineState.java -bash gen_line_documentation_one_file.sh trigger_state.txt TriggerState.java +bash gen_live_documentation_one_file.sh trigger_central TriggerCentral.java -bash gen_line_documentation_one_file.sh wall_fuel_state.txtWallFuelState.java +bash gen_live_documentation_one_file.sh trigger_state TriggerState.java + +bash gen_live_documentation_one_file.sh wall_fuel_state WallFuelState.java java -DSystemOut.name=gen_live_documentation \ -cp ../java_tools/ConfigDefinition.jar \ diff --git a/firmware/gen_line_documentation_one_file.sh b/firmware/gen_live_documentation_one_file.sh similarity index 100% rename from firmware/gen_line_documentation_one_file.sh rename to firmware/gen_live_documentation_one_file.sh diff --git a/firmware/integration/ac_control.txt b/firmware/integration/ac_control.txt index 045b51a900..4b5de671c7 100644 --- a/firmware/integration/ac_control.txt +++ b/firmware/integration/ac_control.txt @@ -8,4 +8,4 @@ bit tpsTooHigh bit acButtonState -end_struct \ No newline at end of file +end_struct diff --git a/firmware/tunerstudio/generated/cache.zip b/firmware/tunerstudio/generated/cache.zip index 5f22b6bbb4..ffb20c26ca 100644 Binary files a/firmware/tunerstudio/generated/cache.zip and b/firmware/tunerstudio/generated/cache.zip differ diff --git a/java_console/models/src/main/java/com/rusefi/config/generated/AcControl.java b/java_console/models/src/main/java/com/rusefi/config/generated/AcControl.java new file mode 100644 index 0000000000..9a521b4ef9 --- /dev/null +++ b/java_console/models/src/main/java/com/rusefi/config/generated/AcControl.java @@ -0,0 +1,75 @@ +package com.rusefi.config.generated; + +// this file was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) integration/ac_control.txt Thu Oct 14 00:25:42 EDT 2021 + +// by class com.rusefi.output.FileJavaFieldsConsumer +import com.rusefi.config.*; + +public class AcControl { + public static final Field ENGINETOOSLOW = Field.create("ENGINETOOSLOW", 0, FieldType.BIT, 0); + public static final Field ENGINETOOFAST = Field.create("ENGINETOOFAST", 0, FieldType.BIT, 1); + public static final Field NOCLT = Field.create("NOCLT", 0, FieldType.BIT, 2); + public static final Field ENGINETOOHOT = Field.create("ENGINETOOHOT", 0, FieldType.BIT, 3); + public static final Field TPSTOOHIGH = Field.create("TPSTOOHIGH", 0, FieldType.BIT, 4); + public static final Field ACBUTTONSTATE = Field.create("ACBUTTONSTATE", 0, FieldType.BIT, 5); + public static final Field UNUSEDBIT_6_6 = Field.create("UNUSEDBIT_6_6", 0, FieldType.BIT, 6); + public static final Field UNUSEDBIT_6_7 = Field.create("UNUSEDBIT_6_7", 0, FieldType.BIT, 7); + public static final Field UNUSEDBIT_6_8 = Field.create("UNUSEDBIT_6_8", 0, FieldType.BIT, 8); + public static final Field UNUSEDBIT_6_9 = Field.create("UNUSEDBIT_6_9", 0, FieldType.BIT, 9); + public static final Field UNUSEDBIT_6_10 = Field.create("UNUSEDBIT_6_10", 0, FieldType.BIT, 10); + public static final Field UNUSEDBIT_6_11 = Field.create("UNUSEDBIT_6_11", 0, FieldType.BIT, 11); + public static final Field UNUSEDBIT_6_12 = Field.create("UNUSEDBIT_6_12", 0, FieldType.BIT, 12); + public static final Field UNUSEDBIT_6_13 = Field.create("UNUSEDBIT_6_13", 0, FieldType.BIT, 13); + public static final Field UNUSEDBIT_6_14 = Field.create("UNUSEDBIT_6_14", 0, FieldType.BIT, 14); + public static final Field UNUSEDBIT_6_15 = Field.create("UNUSEDBIT_6_15", 0, FieldType.BIT, 15); + public static final Field UNUSEDBIT_6_16 = Field.create("UNUSEDBIT_6_16", 0, FieldType.BIT, 16); + public static final Field UNUSEDBIT_6_17 = Field.create("UNUSEDBIT_6_17", 0, FieldType.BIT, 17); + public static final Field UNUSEDBIT_6_18 = Field.create("UNUSEDBIT_6_18", 0, FieldType.BIT, 18); + public static final Field UNUSEDBIT_6_19 = Field.create("UNUSEDBIT_6_19", 0, FieldType.BIT, 19); + public static final Field UNUSEDBIT_6_20 = Field.create("UNUSEDBIT_6_20", 0, FieldType.BIT, 20); + public static final Field UNUSEDBIT_6_21 = Field.create("UNUSEDBIT_6_21", 0, FieldType.BIT, 21); + public static final Field UNUSEDBIT_6_22 = Field.create("UNUSEDBIT_6_22", 0, FieldType.BIT, 22); + public static final Field UNUSEDBIT_6_23 = Field.create("UNUSEDBIT_6_23", 0, FieldType.BIT, 23); + public static final Field UNUSEDBIT_6_24 = Field.create("UNUSEDBIT_6_24", 0, FieldType.BIT, 24); + public static final Field UNUSEDBIT_6_25 = Field.create("UNUSEDBIT_6_25", 0, FieldType.BIT, 25); + public static final Field UNUSEDBIT_6_26 = Field.create("UNUSEDBIT_6_26", 0, FieldType.BIT, 26); + public static final Field UNUSEDBIT_6_27 = Field.create("UNUSEDBIT_6_27", 0, FieldType.BIT, 27); + public static final Field UNUSEDBIT_6_28 = Field.create("UNUSEDBIT_6_28", 0, FieldType.BIT, 28); + public static final Field UNUSEDBIT_6_29 = Field.create("UNUSEDBIT_6_29", 0, FieldType.BIT, 29); + public static final Field UNUSEDBIT_6_30 = Field.create("UNUSEDBIT_6_30", 0, FieldType.BIT, 30); + public static final Field UNUSEDBIT_6_31 = Field.create("UNUSEDBIT_6_31", 0, FieldType.BIT, 31); + public static final Field[] VALUES = { + ENGINETOOSLOW, + ENGINETOOFAST, + NOCLT, + ENGINETOOHOT, + TPSTOOHIGH, + ACBUTTONSTATE, + UNUSEDBIT_6_6, + UNUSEDBIT_6_7, + UNUSEDBIT_6_8, + UNUSEDBIT_6_9, + UNUSEDBIT_6_10, + UNUSEDBIT_6_11, + UNUSEDBIT_6_12, + UNUSEDBIT_6_13, + UNUSEDBIT_6_14, + UNUSEDBIT_6_15, + UNUSEDBIT_6_16, + UNUSEDBIT_6_17, + UNUSEDBIT_6_18, + UNUSEDBIT_6_19, + UNUSEDBIT_6_20, + UNUSEDBIT_6_21, + UNUSEDBIT_6_22, + UNUSEDBIT_6_23, + UNUSEDBIT_6_24, + UNUSEDBIT_6_25, + UNUSEDBIT_6_26, + UNUSEDBIT_6_27, + UNUSEDBIT_6_28, + UNUSEDBIT_6_29, + UNUSEDBIT_6_30, + UNUSEDBIT_6_31, + }; +}