mirror of https://github.com/rusefi/rusefi-1.git
added secondary can config
This commit is contained in:
parent
bba404ac41
commit
4e3637641b
|
@ -16,6 +16,7 @@
|
|||
#define ts_show_tunerstudio_port false
|
||||
#define ts_show_main_relay false
|
||||
#define ts_show_main_relay_microRusEFI_message true
|
||||
#define ts_show_can2 false
|
||||
|
||||
#define show_test_presets false
|
||||
#define show_Frankenso_presets false
|
||||
|
|
|
@ -10,3 +10,4 @@
|
|||
#define ts_show_sd_card false
|
||||
#define ts_show_can_pins false
|
||||
#define ts_show_tunerstudio_port false
|
||||
#define ts_show_can2 false
|
|
@ -666,7 +666,7 @@ custom adc_channel_mode_e 4 bits, U32, @OFFSET@, [0:1], "Off", "Slow", "Fas
|
|||
pin_input_mode_e throttlePedalUpPinMode;
|
||||
uint8_t fsio_visible acIdleExtraOffset;+Additional idle PID offset while A/C is active;"Percent", 1, 0, 0, 255, 0
|
||||
|
||||
int unusedAt712;;"units", 1, 0, -20, 100, 0
|
||||
int can2SleepPeriodMs;CANbus thread period, ms;"ms", 1, 0, 0, 1000.0, 2
|
||||
int unusedAt716;;"units", 1, 0, -20, 100, 0
|
||||
int unusedAt720;;"units", 1, 0, -20, 100, 0
|
||||
int unusedAt724;;"units", 1, 0, -20, 100, 0
|
||||
|
@ -829,12 +829,12 @@ custom maf_sensor_type_e 4 bits, S32, @OFFSET@, [0:1], @@maf_sensor_type_e_enum@
|
|||
bit showHumanReadableWarning
|
||||
bit stftIgnoreErrorMagnitude;+If enabled, adjust at a constant rate instead of a rate proportional to the current lambda error. This mode may be easier to tune, and more tolerant of sensor noise. Use of this mode is required if you have a narrowband O2 sensor.;
|
||||
bit dcMotorIdleValve;+Used on some German vehicles around late 90s: cable-operated throttle and DC motor idle air valve.\nSet the primary TPS to the cable-operated throttle's sensor\nSet the secondary TPS to the mini ETB's position sensor(s).
|
||||
bit unusedBit_251_12
|
||||
bit unusedBit_251_13
|
||||
bit unusedBit_251_14
|
||||
bit unusedBit_251_15
|
||||
bit unusedBit_251_16
|
||||
bit unusedBit_251_17
|
||||
brain_pin_e can2TxPin;set_can2_tx_pin X
|
||||
brain_pin_e can2RxPin;set_can2_rx_pin X
|
||||
bit enableVerboseCan2Tx;+CAN broadcast using custom rusEFI protocol\nenable can_broadcast/disable can_broadcast
|
||||
can_nbc_e can2NbcType;set can_mode X
|
||||
bit can2ReadEnabled;enable can_read/disable can_read
|
||||
bit can2WriteEnabled;enable can_write/disable can_write
|
||||
bit unusedBit_251_18
|
||||
bit unusedBit_251_19
|
||||
bit unusedBit_251_20
|
||||
|
@ -1102,7 +1102,12 @@ int16_t tps2Max;Full throttle#2. tpsMax value as 10 bit ADC value. Not Voltage!\
|
|||
custom can_baudrate_e 1 bits, U08, @OFFSET@, [0:1], @@can_baudrate_e_enum@@
|
||||
can_baudrate_e canBaudRate; set can_baudrate
|
||||
|
||||
uint32_t[5] unused_former_warmup_target_afr;;"units", 1, 0, -20, 100, 0
|
||||
uint32_t verboseCan2BaseAddress;;"", 1, 0, 0, 536870911, 0
|
||||
can_baudrate_e can2BaudRate; set can2_baudrate
|
||||
bit unusedBit_251_30
|
||||
bit unusedBit_251_31
|
||||
bit unusedBit_251_32
|
||||
int[31] unused_former_warmup_target_afr;;"units", 1, 0, -20, 100, 0
|
||||
|
||||
float boostCutPressure;kPa value at which we need to cut fuel and spark, 0 if not enabled;"kPa", 1, 0, 0, 500, 0
|
||||
|
||||
|
@ -1676,6 +1681,7 @@ end_struct
|
|||
#define ts_show_tunerstudio_port true
|
||||
#define ts_show_trigger_comparator false
|
||||
#define ts_show_auxserial_pins true
|
||||
#define ts_show_can2 true
|
||||
|
||||
#define show_test_presets true
|
||||
#define show_Frankenso_presets true
|
||||
|
|
|
@ -2541,6 +2541,17 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
|
|||
field = "RX pin", canRxPin @@if_ts_show_can_pins
|
||||
field = "TX pin", canTxPin @@if_ts_show_can_pins
|
||||
|
||||
dialog = canBus2, "Secondary CAN Bus"
|
||||
field = "Can Read Enabled", can2ReadEnabled
|
||||
field = "Can Write Enabled", can2WriteEnabled
|
||||
field = "Can Nbc Type", can2NbcType
|
||||
field = "Can Baud Rate", can2BaudRate
|
||||
field = "Enable rusEFI CAN broadcast", enableVerboseCan2Tx
|
||||
field = "rusEfi CAN data base address", verboseCan2BaseAddress
|
||||
field = "Can Sleep Period", can2SleepPeriodMs
|
||||
field = "RX pin", can2RxPin @@if_ts_show_can_pins
|
||||
field = "TX pin", can2TxPin @@if_ts_show_can_pins
|
||||
|
||||
dialog = auxSerial, "AUX Serial"
|
||||
field = "RX pin", auxSerialRxPin @@if_ts_show_auxserial_pins
|
||||
field = "TX pin", auxSerialTxPin @@if_ts_show_auxserial_pins
|
||||
|
@ -2581,6 +2592,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
|
|||
field = "ADC vRef voltage", adcVcc
|
||||
panel = tsPort @@if_ts_show_tunerstudio_port
|
||||
panel = canBus
|
||||
panel = canBus2 @@if_ts_show_can2
|
||||
panel = auxSerial
|
||||
panel = sdCard @@if_ts_show_sd_card
|
||||
panel = gpsReceiver @@if_ts_show_gps
|
||||
|
|
Loading…
Reference in New Issue