Whatever we call it, whatever we implement it - we need live data / remote view into rusEFI actual state #3353
refactoring
This commit is contained in:
parent
619fbb5a3e
commit
1435e82069
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include "cyclic_buffer.h"
|
||||
#include "table_helper.h"
|
||||
#include "wall_fuel_generated.h"
|
||||
#include "wall_fuel_state_generated.h"
|
||||
|
||||
typedef Map3D<TPS_TPS_ACCEL_TABLE, TPS_TPS_ACCEL_TABLE, float, float> tps_tps_Map3D_t;
|
||||
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ ! "$1" ] || [ ! "$2" ]; then
|
||||
printf "Two parameters expected"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
meta_name=$1
|
||||
# TODO: programmatically produce java output name based on meta file name
|
||||
java_output=$2
|
||||
|
||||
meta_file_name=${meta_name}.txt
|
||||
header_file="${meta_name}_generated.h"
|
||||
|
||||
|
||||
java -DSystemOut.name=gen_live_documentation \
|
||||
-jar ../java_tools/ConfigDefinition.jar \
|
||||
-definition integration/$meta_file_name \
|
||||
-cache_zip_file tunerstudio/generated/cache.zip \
|
||||
-cache . \
|
||||
-java_destination ../java_console/models/src/main/java/com/rusefi/config/generated/$java_output \
|
||||
-c_destination controllers/generated/${header_file}
|
|
@ -2,45 +2,15 @@
|
|||
|
||||
rm gen_live_documentation.log
|
||||
|
||||
java -DSystemOut.name=gen_live_documentation \
|
||||
-jar ../java_tools/ConfigDefinition.jar \
|
||||
-definition integration/pid_state.txt \
|
||||
-cache_zip_file tunerstudio/generated/cache.zip \
|
||||
-cache . \
|
||||
-java_destination ../java_console/models/src/main/java/com/rusefi/config/generated/PidState.java \
|
||||
-c_destination controllers/generated/pid_state_generated.h
|
||||
bash gen_line_documentation_one_file.sh pid_state.txt PidState.java
|
||||
|
||||
java -DSystemOut.name=gen_live_documentation \
|
||||
-jar ../java_tools/ConfigDefinition.jar \
|
||||
-definition integration/engine_state.txt \
|
||||
-cache_zip_file tunerstudio/generated/cache.zip \
|
||||
-cache . \
|
||||
-java_destination ../java_console/models/src/main/java/com/rusefi/config/generated/EngineState.java \
|
||||
-c_destination controllers/generated/engine_state_generated.h
|
||||
bash gen_line_documentation_one_file.sh engine_state EngineState.java
|
||||
|
||||
java -DSystemOut.name=gen_live_documentation \
|
||||
-jar ../java_tools/ConfigDefinition.jar \
|
||||
-definition integration/trigger_central.txt \
|
||||
-cache_zip_file tunerstudio/generated/cache.zip \
|
||||
-cache . \
|
||||
-java_destination ../java_console/models/src/main/java/com/rusefi/config/generated/TriggerCentral.java \
|
||||
-c_destination controllers/generated/trigger_central_generated.h
|
||||
bash gen_line_documentation_one_file.sh trigger_centralTriggerCentral.java
|
||||
|
||||
java -DSystemOut.name=gen_live_documentation \
|
||||
-jar ../java_tools/ConfigDefinition.jar \
|
||||
-definition integration/trigger_state.txt \
|
||||
-cache_zip_file tunerstudio/generated/cache.zip \
|
||||
-cache . \
|
||||
-java_destination ../java_console/models/src/main/java/com/rusefi/config/generated/TriggerState.java \
|
||||
-c_destination controllers/generated/trigger_state_generated.h
|
||||
bash gen_line_documentation_one_file.sh trigger_state.txt TriggerState.java
|
||||
|
||||
java -DSystemOut.name=gen_live_documentation \
|
||||
-jar ../java_tools/ConfigDefinition.jar \
|
||||
-definition integration/wall_fuel_state.txt \
|
||||
-cache_zip_file tunerstudio/generated/cache.zip \
|
||||
-cache . \
|
||||
-java_destination ../java_console/models/src/main/java/com/rusefi/config/generated/WallFuelState.java \
|
||||
-c_destination controllers/generated/wall_fuel_generated.h
|
||||
bash gen_line_documentation_one_file.sh wall_fuel_state.txtWallFuelState.java
|
||||
|
||||
java -DSystemOut.name=gen_live_documentation \
|
||||
-cp ../java_tools/ConfigDefinition.jar \
|
||||
|
|
Loading…
Reference in New Issue