rusefi-full/firmware/gen_config_board.bat

35 lines
952 B
Batchfile
Raw Normal View History

2019-05-30 17:41:54 -07:00
@echo off
2019-05-29 21:39:13 -07:00
rem This batch files reads rusefi_config.txt and produses firmware persistent configuration headers
rem the storage section of rusefi.ini is updated as well
2019-05-30 17:41:54 -07:00
set BOARDNAME=%1
if %BOARDNAME%.==. (
echo Board name parameter expected
exit -1
)
echo BOARDNAME=%BOARDNAME%
java -DSystemOut.name=gen_config_board ^
-cp ../java_tools/ConfigDefinition.jar ^
2019-06-04 09:27:34 -07:00
com.rusefi.board_generator.BoardReader ^
-board %BOARDNAME% ^
-firmware_path . ^
-out tunerstudio ^
-enumInputFile controllers/algo/rusefi_enums.h ^
-enumInputFile controllers/algo/rusefi_hw_enums.h
java -DSystemOut.name=gen_config_board ^
-jar ../java_tools/ConfigDefinition.jar ^
2019-06-01 15:27:34 -07:00
-definition integration\rusefi_config.txt ^
2020-04-11 19:08:04 -07:00
-tool gen_config.bat ^
2019-06-01 15:27:34 -07:00
-ts_destination tunerstudio ^
-firing_order controllers/algo/firing_order.h ^
2019-06-01 15:27:34 -07:00
-ts_output_name rusefi_%BOARDNAME%.ini ^
-prepend tunerstudio/%BOARDNAME%_prefix.txt ^
2020-06-14 09:40:00 -07:00
-prepend config/boards/%BOARDNAME%/prepend.txt
2019-05-29 21:39:13 -07:00