ini spec version bump to maximum supported by the current stable TunerStudio. removed debug code from comms.ino. updated ini file so that only appropriate options will be shown based on whether the connected Speeduino is using the custom firmware.
This commit is contained in:
parent
bd303bd767
commit
d07d20ffb8
|
@ -10,7 +10,7 @@
|
|||
versionInfo = "S" ;This info is what is displayed to user
|
||||
|
||||
[TunerStudio]
|
||||
iniSpecVersion = 3.46
|
||||
iniSpecVersion = 3.51
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
|
||||
|
@ -282,7 +282,8 @@ page = 4
|
|||
sparkDur = scalar, U08, 7, "ms", 0.1, 0, 0, 25.5, 1 ; Spark duration
|
||||
unused4-8 = scalar, U08, 8, "ms", 0.1, 0.0, 0.0, 25.5, 1
|
||||
bootloaderCaps = scalar, U08, 9, "level", 1, 0, 0, 255, 0
|
||||
resetControl = bits, U08, 10,[0:1], "Disabled", "Prevent When Running", "Prevent Always", "Serial Command"
|
||||
resetControl_custom = bits, U08, 10,[0:1], "Disabled", "Prevent When Running", "Prevent Always", "Serial Command"
|
||||
resetControl_standard = bits, U08, 10,[0:1], "Disabled", "INVALID", "INVALID", "Enabled"
|
||||
resetControlPin = bits, U08, 10,[2:7], "Board Default", "INVALID", "INVALID", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "A8", "A9", "A10", "A11", "A12", "A13", "A14", "A15", "INVALID"
|
||||
SkipCycles = scalar, U08, 11, "cycles", 1, 0, 0, 255, 0
|
||||
|
||||
|
@ -754,7 +755,8 @@ page = 10
|
|||
requiresPowerCycle = stagedInjSizePri
|
||||
requiresPowerCycle = stagedInjSizeSec
|
||||
requiresPowerCycle = stagingEnabled
|
||||
requiresPowerCycle = resetControl
|
||||
requiresPowerCycle = resetControl_custom
|
||||
requiresPowerCycle = resetControl_standard
|
||||
requiresPowerCycle = resetControlPin
|
||||
|
||||
defaultValue = pinLayout, 1
|
||||
|
@ -804,7 +806,8 @@ page = 10
|
|||
defaultValue = realtime_base_address, 336
|
||||
defaultValue = VVTasOnOff, 0
|
||||
defaultValue = stagingEnabled, 0
|
||||
defaultValue = resetControl, 0
|
||||
defaultValue = resetControl_custom, 0
|
||||
defaultValue = resetControl_standard, 0
|
||||
defaultValue = bootloaderCaps, 0
|
||||
; defaultValue = obd_address, 0
|
||||
|
||||
|
@ -856,7 +859,7 @@ menuDialog = main
|
|||
subMenu = airdensity_curve, "IAT Density"
|
||||
subMenu = reset_control, "Reset Control"
|
||||
|
||||
|
||||
|
||||
menu = "&Tuning"
|
||||
subMenu = std_realtime, "Realtime Display"
|
||||
subMenu = accelEnrichments, "Acceleration Enrichment"
|
||||
|
@ -1102,8 +1105,9 @@ menuDialog = main
|
|||
stagedInjSizePri= "Size of the primary injectors. The sum of the Pri and Sec injectors values MUST match the value used in the req_fuel calculation"
|
||||
stagedInjSizeSec= "Size of the secondary injectors. The sum of the Pri and Sec injectors values MUST match the value used in the req_fuel calculation"
|
||||
|
||||
resetControl = "How to control the Arduino's automatic reset feature. NOTE: Some of these settings require modifying your hardware and possibly replacing the Arduino bootloader. See the Wiki for more details.\n\nDisabled: Allow the Arduino to reset when a new serial connection is made.\n\nPrevent When Running: Hold the control pin high while the engine is running.\n\nPrevent Always: Always hold the control pin high.\n\nSerial Command: Normally hold the control pin high, but pull it low when the 'U' serial command is issued and reset upon receiving more data."
|
||||
resetControlPin = "The Arduino pin used to control resets."
|
||||
resetControl_standard = "Whether to enable reset control of the Arduino's automatic reset feature. If this feature is enabled, the selected control pin will be held high at all times. In order to update your Speeduino's firmware, you will first need to open a serial terminal and send a 'U' command so that the Arduino resets when the upload starts. The control pin should be connected to the Arduino's reset pin."
|
||||
resetControl_custom = "How to control the Arduino's automatic reset feature. NOTE: Some of these settings require modifying your hardware and replacing the Arduino bootloader. See the Wiki for more details.\n\nDisabled: Allow the Arduino to reset when a new serial connection is made.\n\nPrevent When Running: Hold the control pin high while the engine is running.\n\nPrevent Always: Always hold the control pin high.\n\nSerial Command: Normally hold the control pin high, but pull it low when the 'U' serial command is issued and reset upon receiving more data."
|
||||
resetControlPin = "The Arduino pin used to control resets."
|
||||
|
||||
[UserDefined]
|
||||
|
||||
|
@ -1811,7 +1815,10 @@ menuDialog = main
|
|||
field = "Enable Second Serial", enable_canbus
|
||||
|
||||
dialog = reset_control, "Reset Control"
|
||||
field = "Control Type", resetControl
|
||||
; Control type options for custom firmware
|
||||
field = "Control Type", resetControl_custom, { bootloaderCaps > 0 }, { bootloaderCaps > 0 }
|
||||
; Control type options for standard / unmodifyable firmware
|
||||
field = "Control Type", resetControl_standard, { bootloaderCaps == 0 }, { bootloaderCaps == 0 }
|
||||
field = "Control Pin", resetControlPin
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
|
|
|
@ -315,8 +315,7 @@ void command()
|
|||
cmdPending = true;
|
||||
|
||||
if (Serial.available() >= 1) {
|
||||
//configPage2.bootloaderCaps = Serial.read();
|
||||
configPage2.bootloaderCaps = 0;
|
||||
configPage2.bootloaderCaps = Serial.read();
|
||||
cmdPending = false;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue