21 lines
531 B
Bash
Executable File
21 lines
531 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "This batch files reads rusefi_enums.h and produses auto_generated_enums.* files"
|
|
|
|
rm gen_enum_to_string.log
|
|
|
|
java -DSystemOut.name=gen_enum_to_string \
|
|
-jar ../java_tools/enum2string.jar \
|
|
-outputPath controllers/algo \
|
|
-enumInputFile controllers/algo/rusefi_enums.h \
|
|
-enumInputFile controllers/algo/rusefi_hw_enums.h \
|
|
|
|
pwd
|
|
cd config/boards/kinetis/config
|
|
bash kinetis_gen_enum_to_string.sh
|
|
cd ../../../..
|
|
|
|
cd config/boards/hellen/cypress/config
|
|
bash hellen_cypress_gen_enum_to_string.sh
|
|
cd ../../../../..
|