generate java enum from C enum? generate both C and java from yaml? #2102
refactoring: code duplication
This commit is contained in:
parent
580dcd001d
commit
9d8da9d4bf
|
@ -21,8 +21,6 @@ java \
|
|||
-DSystemOut.name=gen_config_hellen_cypress \
|
||||
$COMMON_GEN_CONFIG \
|
||||
-cache hellen_cypress \
|
||||
-cache_zip_file tunerstudio/generated/cache.zip \
|
||||
-ts_destination tunerstudio \
|
||||
-tool hellen_cypress_gen_config.bat \
|
||||
-with_c_defines false \
|
||||
-initialize_to_zero false \
|
||||
|
|
|
@ -21,8 +21,6 @@ java \
|
|||
-DSystemOut.name=gen_config_kinetis \
|
||||
$COMMON_GEN_CONFIG \
|
||||
-cache kinetis \
|
||||
-cache_zip_file tunerstudio/generated/cache.zip \
|
||||
-ts_destination tunerstudio \
|
||||
-tool kinetis_gen_config.bat \
|
||||
-with_c_defines false \
|
||||
-initialize_to_zero false \
|
||||
|
|
|
@ -21,8 +21,6 @@ java \
|
|||
-DSystemOut.name=gen_config_subaru_eg33 \
|
||||
$COMMON_GEN_CONFIG \
|
||||
-cache ${SHORT_BOARDNAME} \
|
||||
-cache_zip_file tunerstudio/generated/cache.zip \
|
||||
-ts_destination tunerstudio \
|
||||
-tool ${BOARD_DIR}/config/gen_config.sh \
|
||||
-with_c_defines false \
|
||||
-initialize_to_zero false \
|
||||
|
|
|
@ -50,11 +50,9 @@ java -DSystemOut.name=gen_config_board \
|
|||
$COMMON_GEN_CONFIG \
|
||||
-romraider integration \
|
||||
-tool gen_config.sh \
|
||||
-ts_destination tunerstudio \
|
||||
-board ${BOARDNAME} \
|
||||
-ts_output_name generated/${INI} \
|
||||
-cache ${SHORT_BOARDNAME} \
|
||||
-cache_zip_file tunerstudio/generated/cache.zip \
|
||||
-with_c_defines $SOMETHINGSOMETHING \
|
||||
-initialize_to_zero $SOMETHINGSOMETHING \
|
||||
-signature tunerstudio/generated/signature_${SHORT_BOARDNAME}.txt \
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
COMMON_GEN_CONFIG="-jar ../java_tools/ConfigDefinition.jar \
|
||||
-enumInputFile controllers/algo/rusefi_enums.h \
|
||||
-cache_zip_file tunerstudio/generated/cache.zip \
|
||||
-ts_destination tunerstudio \
|
||||
-firing_order controllers/algo/firing_order.h \
|
||||
-definition integration/rusefi_config.txt"
|
||||
|
|
Loading…
Reference in New Issue