diff --git a/firmware/compile.bat b/firmware/compile.bat index 49bcf1c7e6..d9d9ea2b6e 100644 --- a/firmware/compile.bat +++ b/firmware/compile.bat @@ -11,8 +11,13 @@ rem magic once needed call update_version.bat +rem WHY??? do we have to sometimes create this folder manually?! is this about '-r' flag with make? +mkdir .dep + + echo Starting compilation rem the important piece (pass external args if needed) + make %1 %2 %3 rem cd build diff --git a/firmware/controllers/algo/engine_configuration_generated_structures.h b/firmware/controllers/algo/engine_configuration_generated_structures.h index a4069246af..cff57b9c48 100644 --- a/firmware/controllers/algo/engine_configuration_generated_structures.h +++ b/firmware/controllers/algo/engine_configuration_generated_structures.h @@ -1,4 +1,4 @@ -// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Apr 11 23:16:46 EDT 2019 +// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Fri Apr 12 18:24:15 EDT 2019 // begin #ifndef ENGINE_CONFIGURATION_GENERATED_H_ #define ENGINE_CONFIGURATION_GENERATED_H_ @@ -1167,6 +1167,7 @@ typedef struct { int rpmHardLimit; /** * This setting controls which fuel quantity control algorithm is used. + * See also useTPSAdvanceTable * set algorithm X * offset 420 */ @@ -1550,6 +1551,7 @@ typedef struct { offset 1476 bit 18 */ bool useAdvanceCorrectionsForCranking : 1; /** + * This flag allows to use TPS for ignition lookup while in Speed Density Fuel Mode offset 1476 bit 19 */ bool useTPSAdvanceTable : 1; /** @@ -2648,4 +2650,4 @@ typedef struct { #endif // end -// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Apr 11 23:16:46 EDT 2019 +// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Fri Apr 12 18:24:15 EDT 2019 diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 3a10ed56b0..900958e784 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -348,7 +348,7 @@ int sensorSnifferRpmThreshold;+Disable sensor sniffer above this rpm;"RPM", custom engine_load_mode_e 4 bits, U32, @OFFSET@, [0:1], @@engine_load_mode_e_enum@@ -engine_load_mode_e fuelAlgorithm;+This setting controls which fuel quantity control algorithm is used.\nset algorithm X +engine_load_mode_e fuelAlgorithm;+This setting controls which fuel quantity control algorithm is used.\nSee also useTPSAdvanceTable\nset algorithm X custom injection_mode_e 4 bits, U32, @OFFSET@, [0:1], "Simultaneous", "Sequential", "Batch", "Single Point" @@ -729,7 +729,7 @@ custom idle_mode_e 4 bits, U32, @OFFSET@, [0:0], "Automatic", "Manual" bit useFixedBaroCorrFromMap bit useSeparateAdvanceForCranking bit useAdvanceCorrectionsForCranking -bit useTPSAdvanceTable +bit useTPSAdvanceTable;+This flag allows to use TPS for ignition lookup while in Speed Density Fuel Mode bit unused_1484_bit_20 bit unused_1484_bit_21 diff --git a/firmware/tunerstudio/rusefi.ini b/firmware/tunerstudio/rusefi.ini index b054f2862d..505ac2d349 100644 --- a/firmware/tunerstudio/rusefi.ini +++ b/firmware/tunerstudio/rusefi.ini @@ -68,7 +68,7 @@ enable2ndByteCanID = false ; see PAGE_0_SIZE in C source code ; CONFIG_DEFINITION_START -; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Apr 11 23:16:46 EDT 2019 +; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Fri Apr 12 18:24:15 EDT 2019 pageSize = 20000 page = 1 @@ -931,7 +931,7 @@ page = 1 knockBandCustom = "We calculate knock band based of cylinderBore\n Use this to override - kHz knock band override" cylinderBore = "Cylinder diameter, in mm." sensorSnifferRpmThreshold = "Disable sensor sniffer above this rpm" - fuelAlgorithm = "This setting controls which fuel quantity control algorithm is used.\nset algorithm X" + fuelAlgorithm = "This setting controls which fuel quantity control algorithm is used.\nSee also useTPSAdvanceTable\nset algorithm X" injectionMode = "'batched' means two injectors are wired together\nset injection_mode X\nSee also twoWireBatchInjection" extraInjectionOffset = "this is about deciding when the injector starts it's squirt\nSee also injectionPhase map\ntodo: do we need even need this since we have the map anyway?" crankingTimingAngle = "Timing advance while engine cranking\nset cranking_timing_angle X" @@ -960,6 +960,7 @@ page = 1 twoWireBatchInjection = "This is needed if batched injection and individual injector wiring\nenable two_wire_batch_injection" useOnlyRisingEdgeForTrigger = "VR sensors are only precise on rising front\nenable trigger_only_front" twoWireBatchIgnition = "This is needed if batched igniton (waster spark) and individual coil wiring" + useTPSAdvanceTable = "This flag allows to use TPS for ignition lookup while in Speed Density Fuel Mode" idlePidRpmUpperLimit = "Relative to the target idle RPM" ignMathCalculateAtIndex = "At what trigger index should some ignition-related math be executed? This is a performance trick to reduce load on synchronization trigger callback." mapAveragingSchedulingAtIndex = "At what trigger index should some MAP-related math be executed? This is a performance trick to reduce load on synchronization trigger callback."