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 \
|
-DSystemOut.name=gen_config_hellen_cypress \
|
||||||
$COMMON_GEN_CONFIG \
|
$COMMON_GEN_CONFIG \
|
||||||
-cache hellen_cypress \
|
-cache hellen_cypress \
|
||||||
-cache_zip_file tunerstudio/generated/cache.zip \
|
|
||||||
-ts_destination tunerstudio \
|
|
||||||
-tool hellen_cypress_gen_config.bat \
|
-tool hellen_cypress_gen_config.bat \
|
||||||
-with_c_defines false \
|
-with_c_defines false \
|
||||||
-initialize_to_zero false \
|
-initialize_to_zero false \
|
||||||
|
|
|
@ -21,8 +21,6 @@ java \
|
||||||
-DSystemOut.name=gen_config_kinetis \
|
-DSystemOut.name=gen_config_kinetis \
|
||||||
$COMMON_GEN_CONFIG \
|
$COMMON_GEN_CONFIG \
|
||||||
-cache kinetis \
|
-cache kinetis \
|
||||||
-cache_zip_file tunerstudio/generated/cache.zip \
|
|
||||||
-ts_destination tunerstudio \
|
|
||||||
-tool kinetis_gen_config.bat \
|
-tool kinetis_gen_config.bat \
|
||||||
-with_c_defines false \
|
-with_c_defines false \
|
||||||
-initialize_to_zero false \
|
-initialize_to_zero false \
|
||||||
|
|
|
@ -21,8 +21,6 @@ java \
|
||||||
-DSystemOut.name=gen_config_subaru_eg33 \
|
-DSystemOut.name=gen_config_subaru_eg33 \
|
||||||
$COMMON_GEN_CONFIG \
|
$COMMON_GEN_CONFIG \
|
||||||
-cache ${SHORT_BOARDNAME} \
|
-cache ${SHORT_BOARDNAME} \
|
||||||
-cache_zip_file tunerstudio/generated/cache.zip \
|
|
||||||
-ts_destination tunerstudio \
|
|
||||||
-tool ${BOARD_DIR}/config/gen_config.sh \
|
-tool ${BOARD_DIR}/config/gen_config.sh \
|
||||||
-with_c_defines false \
|
-with_c_defines false \
|
||||||
-initialize_to_zero false \
|
-initialize_to_zero false \
|
||||||
|
|
|
@ -50,11 +50,9 @@ java -DSystemOut.name=gen_config_board \
|
||||||
$COMMON_GEN_CONFIG \
|
$COMMON_GEN_CONFIG \
|
||||||
-romraider integration \
|
-romraider integration \
|
||||||
-tool gen_config.sh \
|
-tool gen_config.sh \
|
||||||
-ts_destination tunerstudio \
|
|
||||||
-board ${BOARDNAME} \
|
-board ${BOARDNAME} \
|
||||||
-ts_output_name generated/${INI} \
|
-ts_output_name generated/${INI} \
|
||||||
-cache ${SHORT_BOARDNAME} \
|
-cache ${SHORT_BOARDNAME} \
|
||||||
-cache_zip_file tunerstudio/generated/cache.zip \
|
|
||||||
-with_c_defines $SOMETHINGSOMETHING \
|
-with_c_defines $SOMETHINGSOMETHING \
|
||||||
-initialize_to_zero $SOMETHINGSOMETHING \
|
-initialize_to_zero $SOMETHINGSOMETHING \
|
||||||
-signature tunerstudio/generated/signature_${SHORT_BOARDNAME}.txt \
|
-signature tunerstudio/generated/signature_${SHORT_BOARDNAME}.txt \
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
COMMON_GEN_CONFIG="-jar ../java_tools/ConfigDefinition.jar \
|
COMMON_GEN_CONFIG="-jar ../java_tools/ConfigDefinition.jar \
|
||||||
-enumInputFile controllers/algo/rusefi_enums.h \
|
-enumInputFile controllers/algo/rusefi_enums.h \
|
||||||
|
-cache_zip_file tunerstudio/generated/cache.zip \
|
||||||
|
-ts_destination tunerstudio \
|
||||||
-firing_order controllers/algo/firing_order.h \
|
-firing_order controllers/algo/firing_order.h \
|
||||||
-definition integration/rusefi_config.txt"
|
-definition integration/rusefi_config.txt"
|
||||||
|
|
Loading…
Reference in New Issue