better defaults to make things easier
This commit is contained in:
parent
3f0665255d
commit
26285b9bae
|
@ -6,28 +6,23 @@ java -DSystemOut.name=gen_config2 ^
|
|||
-jar ../java_tools/ConfigDefinition.jar ^
|
||||
-definition integration/engine_state.txt ^
|
||||
-java_destination ../java_console/models/src/com/rusefi/config/generated/EngineState.java ^
|
||||
-initialize_to_zero yes ^
|
||||
-c_destination controllers/generated/engine_state_generated.h
|
||||
|
||||
java -DSystemOut.name=gen_config2 ^
|
||||
-jar ../java_tools/ConfigDefinition.jar ^
|
||||
-definition integration/thermistor.txt ^
|
||||
-initialize_to_zero yes ^
|
||||
-java_destination ../java_console/models/src/com/rusefi/config/generated/ThermistorState.java ^
|
||||
-c_destination controllers/generated/thermistor.h
|
||||
|
||||
java -DSystemOut.name=gen_config2 ^
|
||||
-jar ../java_tools/ConfigDefinition.jar ^
|
||||
-definition integration/trigger.txt ^
|
||||
-initialize_to_zero yes ^
|
||||
-with_c_defines true ^
|
||||
-java_destination ../java_console/models/src/com/rusefi/config/generated/TriggerState.java ^
|
||||
-c_destination controllers/generated/trigger_structs.h
|
||||
|
||||
java -DSystemOut.name=gen_config2 ^
|
||||
-jar ../java_tools/ConfigDefinition.jar ^
|
||||
-definition integration/wall_fuel.txt ^
|
||||
-initialize_to_zero yes ^
|
||||
-java_destination ../java_console/models/src/com/rusefi/config/generated/WallFuelState.java ^
|
||||
-c_destination controllers/generated/wall_fuel.h
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ public class ConfigDefinition {
|
|||
public static final String KEY_PREPEND = "-prepend";
|
||||
private static final String KEY_SKIP = "-skip";
|
||||
private static final String KEY_ZERO_INIT = "-initialize_to_zero";
|
||||
public static boolean needZeroInit; // ugly quick implementation
|
||||
public static boolean needZeroInit = true;
|
||||
public static String definitionInputFile = null;
|
||||
|
||||
public static void main(String[] args) throws IOException {
|
||||
|
@ -72,6 +72,7 @@ public class ConfigDefinition {
|
|||
List<String> prependFiles = new ArrayList<>();
|
||||
String skipRebuildFile = null;
|
||||
String romRaiderInputFile = null;
|
||||
CHeaderConsumer.withC_Defines = true;
|
||||
|
||||
for (int i = 0; i < args.length - 1; i += 2) {
|
||||
String key = args[i];
|
||||
|
|
Loading…
Reference in New Issue