fome-fw/firmware/integration/LiveData.yaml

32 lines
1.9 KiB
YAML
Raw Normal View History

2022-04-13 14:29:44 -07:00
#
# here we have LiveData configuration file
2022-04-22 19:48:07 -07:00
# key: [NameOfJavaToGenerate.java, folder_where_key.txt_is located, (optional advanced options)]
# Naming convention: top level struct in .txt file should be called key_s
# todo: double-check if manual git add is requited or if (both) generated files are auto-added into git
2022-04-22 19:54:53 -07:00
# at the moment new line would need to be added into StateDictionary.java manually todo: Add code generation of StateDictionary.java
2022-04-22 19:48:07 -07:00
#
# see gen_live_documentation.sh which is the main generation script
# todo: what is sequence of events in terms of 'live_data_e' code generation?
2022-04-13 14:29:44 -07:00
#
Usages:
output_channels: ["TsOutputs.java", "console/binary", "-prepend=integration/rusefi_config.txt" ]
2022-01-04 22:34:48 -08:00
high_pressure_fuel_pump: [ "HighPressureFuelPump.java", "controllers/engine_cycle" ]
injector_model: [ "InjectorModel.java", "controllers/algo/fuel" ]
launch_control_state: [ "LaunchControl.java", "controllers/algo" ]
boost_control: [ "BoostControl.java", "controllers/actuators" ]
ac_control: [ "AcControl.java", "controllers/actuators" ]
fan_control: [ "FanControl.java", "controllers/actuators" ]
fuel_pump_control: [ "FuelPump.java", "controllers/actuators" ]
2022-01-04 22:34:48 -08:00
main_relay: [ "MainRelay.java", "controllers/actuators" ]
2022-01-06 12:20:58 -08:00
#todo: handle ETB pid and Idle pid which point at same pid_state.txt
#pid_state: [ "PidState.java", "util/math" ]
2022-01-04 22:34:48 -08:00
engine_state: [ "EngineState.java", "controllers/algo" ]
tps_accel_state: [ "TpsAccelState.java", "controllers/algo" ]
trigger_central: [ "TriggerCentral.java", "controllers/trigger", "-with_c_defines=true" ]
2022-01-04 22:34:48 -08:00
trigger_state: [ "TriggerState.java", "controllers/trigger" ]
wall_fuel_state: [ "WallFuelState.java", "controllers/algo" ]
idle_state: [ "IdleState.java", "controllers/actuators" ]
ignition_state: [ "IgnitionState.java", "controllers/algo" ]
electronic_throttle: [ "ElectronicThrottle.java", "controllers/actuators" ]