rusefi/firmware/gen_live_documentation.sh

47 lines
1.9 KiB
Bash
Raw Normal View History

#!/bin/bash
2020-06-18 09:41:14 -07:00
rm gen_live_documentation.log
2021-11-23 12:02:03 -08:00
bash gen_live_documentation_one_file.sh boost_control BoostControl.java controllers/actuators
[ $? -eq 0 ] || { echo "ERROR generating"; exit 1; }
2021-10-16 17:43:44 -07:00
bash gen_live_documentation_one_file.sh ac_control AcControl.java controllers/actuators
[ $? -eq 0 ] || { echo "ERROR generating"; exit 1; }
2020-06-18 09:41:14 -07:00
bash gen_live_documentation_one_file.sh fan_control FanControl.java controllers/actuators
[ $? -eq 0 ] || { echo "ERROR generating"; exit 1; }
bash gen_live_documentation_one_file.sh fuel_pump FuelPump.java controllers/actuators
[ $? -eq 0 ] || { echo "ERROR generating"; exit 1; }
bash gen_live_documentation_one_file.sh main_relay MainRelay.java controllers/actuators
[ $? -eq 0 ] || { echo "ERROR generating"; exit 1; }
2021-10-16 17:43:44 -07:00
bash gen_live_documentation_one_file.sh pid_state PidState.java util/math
[ $? -eq 0 ] || { echo "ERROR generating"; exit 1; }
2020-06-18 09:41:14 -07:00
2021-10-16 17:43:44 -07:00
bash gen_live_documentation_one_file.sh engine_state EngineState.java controllers/algo
[ $? -eq 0 ] || { echo "ERROR generating"; exit 1; }
2020-06-18 09:41:14 -07:00
bash gen_live_documentation_one_file.sh tps_accel_state TpsAccelState.java controllers/algo
[ $? -eq 0 ] || { echo "ERROR generating"; exit 1; }
2021-10-16 17:43:44 -07:00
bash gen_live_documentation_one_file.sh trigger_central TriggerCentral.java controllers/trigger
[ $? -eq 0 ] || { echo "ERROR generating"; exit 1; }
2020-06-18 09:41:14 -07:00
2021-10-16 17:43:44 -07:00
bash gen_live_documentation_one_file.sh trigger_state TriggerState.java controllers/trigger
[ $? -eq 0 ] || { echo "ERROR generating"; exit 1; }
2021-10-16 17:43:44 -07:00
bash gen_live_documentation_one_file.sh wall_fuel_state WallFuelState.java controllers/algo
[ $? -eq 0 ] || { echo "ERROR generating"; exit 1; }
2020-06-18 09:41:14 -07:00
2021-10-16 20:55:29 -07:00
bash gen_live_documentation_one_file.sh idle_state IdleState.java controllers/actuators
[ $? -eq 0 ] || { echo "ERROR generating"; exit 1; }
2021-10-23 17:18:09 -07:00
java -DSystemOut.name=logs/gen_live_documentation \
2020-06-18 09:41:14 -07:00
-cp ../java_tools/ConfigDefinition.jar \
com.rusefi.ldmp.UsagesReader integration/LiveData.yaml
2021-10-16 17:43:44 -07:00
[ $? -eq 0 ] || { echo "ERROR generating"; exit 1; }
bash gen_output_channels.sh