Merge branch 'master' of https://github.com/rusefi/rusefi
This commit is contained in:
commit
7ce992d24a
|
@ -14,9 +14,22 @@
|
||||||
void setMazdaMiataNbInjectorLag(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setMazdaMiataNbInjectorLag(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
void setMazdaMiataNbTpsTps(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setMazdaMiataNbTpsTps(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Primary rusEfi test mule https://rusefi.com/forum/viewtopic.php?f=3&t=1095
|
||||||
|
* MAZDA_MIATA_2003
|
||||||
|
* set engine_type 47
|
||||||
|
*/
|
||||||
void setMazdaMiata2003EngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setMazdaMiata2003EngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
/**
|
||||||
|
* race car - NA body and fuel system with NB2 engine
|
||||||
|
*/
|
||||||
void setMazdaMiata2003EngineConfigurationNaFuelRail(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setMazdaMiata2003EngineConfigurationNaFuelRail(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
void setMazdaMiata2003EngineConfigurationBoardTest(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setMazdaMiata2003EngineConfigurationBoardTest(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
void setMiataNB2_MRE_ETB(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setMiataNB2_MRE_ETB(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* OEM mechanical throttle body
|
||||||
|
* set engine_type 11
|
||||||
|
*/
|
||||||
void setMiataNB2_MRE_MTB(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setMiataNB2_MRE_MTB(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
|
|
@ -687,6 +687,10 @@ static void setCj125HeaterPin(const char *pinName) {
|
||||||
setIndividualPin(pinName, &engineConfiguration->wboHeaterPin, "cj125 heater");
|
setIndividualPin(pinName, &engineConfiguration->wboHeaterPin, "cj125 heater");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void setTriggerSyncPin(const char *pinName) {
|
||||||
|
setIndividualPin(pinName, &engineConfiguration->debugTriggerSync, "trigger sync");
|
||||||
|
}
|
||||||
|
|
||||||
static void setStarterRelayPin(const char *pinName) {
|
static void setStarterRelayPin(const char *pinName) {
|
||||||
setIndividualPin(pinName, &engineConfiguration->starterRelayDisablePin, "starter disable relay");
|
setIndividualPin(pinName, &engineConfiguration->starterRelayDisablePin, "starter disable relay");
|
||||||
}
|
}
|
||||||
|
@ -1441,6 +1445,7 @@ void initSettings(void) {
|
||||||
addConsoleActionS("set_starter_relay_pin", setStarterRelayPin);
|
addConsoleActionS("set_starter_relay_pin", setStarterRelayPin);
|
||||||
addConsoleActionS("set_cj125_cs_pin", setCj125CsPin);
|
addConsoleActionS("set_cj125_cs_pin", setCj125CsPin);
|
||||||
addConsoleActionS("set_cj125_heater_pin", setCj125HeaterPin);
|
addConsoleActionS("set_cj125_heater_pin", setCj125HeaterPin);
|
||||||
|
addConsoleActionS("set_trigger_sync_pin", setTriggerSyncPin);
|
||||||
|
|
||||||
addConsoleActionS("set_can_rx_pin", setCanRxPin);
|
addConsoleActionS("set_can_rx_pin", setCanRxPin);
|
||||||
addConsoleActionS("set_can_tx_pin", setCanTxPin);
|
addConsoleActionS("set_can_tx_pin", setCanTxPin);
|
||||||
|
|
|
@ -42,6 +42,11 @@ WaveChart waveChart;
|
||||||
|
|
||||||
trigger_central_s::trigger_central_s() : hwEventCounters() {
|
trigger_central_s::trigger_central_s() : hwEventCounters() {
|
||||||
|
|
||||||
|
static_assert(TRIGGER_TYPE_60_2 == TT_TOOTHED_WHEEL_60_2, "One we will have one source of this magic constant");
|
||||||
|
static_assert(TRIGGER_TYPE_36_1 == TT_TOOTHED_WHEEL_36_1, "One we will have one source of this magic constant");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TriggerCentral::TriggerCentral() : trigger_central_s() {
|
TriggerCentral::TriggerCentral() : trigger_central_s() {
|
||||||
|
|
|
@ -73,6 +73,9 @@ struct_no_prefix engine_configuration_s
|
||||||
|
|
||||||
#define ETB_BIAS_CURVE_LENGTH 8
|
#define ETB_BIAS_CURVE_LENGTH 8
|
||||||
|
|
||||||
|
#define TRIGGER_TYPE_60_2 8
|
||||||
|
#define TRIGGER_TYPE_36_1 9
|
||||||
|
|
||||||
#define MAP_ANGLE_SIZE 8
|
#define MAP_ANGLE_SIZE 8
|
||||||
#define MAP_WINDOW_SIZE 8
|
#define MAP_WINDOW_SIZE 8
|
||||||
|
|
||||||
|
|
|
@ -1569,7 +1569,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
|
||||||
field = "VVT display inverted", vvtDisplayInverted
|
field = "VVT display inverted", vvtDisplayInverted
|
||||||
field = "print verbose sync details to console",verboseTriggerSynchDetails
|
field = "print verbose sync details to console",verboseTriggerSynchDetails
|
||||||
field = "Do not print messages in case of sync error", silentTriggerError
|
field = "Do not print messages in case of sync error", silentTriggerError
|
||||||
field = "Enable noise filtering", useNoiselessTriggerDecoder, {trigger_type == 8 || trigger_type == 9}
|
field = "Enable noise filtering", useNoiselessTriggerDecoder, {trigger_type == @@TRIGGER_TYPE_60_2@@ || trigger_type == @@TRIGGER_TYPE_36_1@@}
|
||||||
dialog = triggerConfiguration
|
dialog = triggerConfiguration
|
||||||
panel = triggerConfiguration_settings, North
|
panel = triggerConfiguration_settings, North
|
||||||
panel = triggerConfiguration_IO, South
|
panel = triggerConfiguration_IO, South
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.rusefi.config.generated;
|
package com.rusefi.config.generated;
|
||||||
|
|
||||||
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Fri Apr 10 17:27:25 EDT 2020
|
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Sat Apr 11 01:15:22 EDT 2020
|
||||||
|
|
||||||
// by class com.rusefi.output.FileJavaFieldsConsumer
|
// by class com.rusefi.output.FileJavaFieldsConsumer
|
||||||
import com.rusefi.config.*;
|
import com.rusefi.config.*;
|
||||||
|
@ -1292,6 +1292,8 @@ public class Fields {
|
||||||
public static final int trigger_todoRemoveMeOneDay0_offset_hex = 210;
|
public static final int trigger_todoRemoveMeOneDay0_offset_hex = 210;
|
||||||
public static final int trigger_todoRemoveMeOneDay1_offset = 528;
|
public static final int trigger_todoRemoveMeOneDay1_offset = 528;
|
||||||
public static final int trigger_todoRemoveMeOneDay1_offset_hex = 210;
|
public static final int trigger_todoRemoveMeOneDay1_offset_hex = 210;
|
||||||
|
public static final int TRIGGER_TYPE_36_1 = 9;
|
||||||
|
public static final int TRIGGER_TYPE_60_2 = 8;
|
||||||
public static final int trigger_type_offset = 524;
|
public static final int trigger_type_offset = 524;
|
||||||
public static final int trigger_unusedBit_4_10_offset = 528;
|
public static final int trigger_unusedBit_4_10_offset = 528;
|
||||||
public static final int trigger_unusedBit_4_10_offset_hex = 210;
|
public static final int trigger_unusedBit_4_10_offset_hex = 210;
|
||||||
|
|
|
@ -49,7 +49,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
|
||||||
* @see EngineSnifferPanel
|
* @see EngineSnifferPanel
|
||||||
*/
|
*/
|
||||||
public class Launcher {
|
public class Launcher {
|
||||||
public static final int CONSOLE_VERSION = 20200410;
|
public static final int CONSOLE_VERSION = 20200411;
|
||||||
public static final String INI_FILE_PATH = System.getProperty("ini_file_path", "..");
|
public static final String INI_FILE_PATH = System.getProperty("ini_file_path", "..");
|
||||||
public static final String INPUT_FILES_PATH = System.getProperty("input_files_path", "..");
|
public static final String INPUT_FILES_PATH = System.getProperty("input_files_path", "..");
|
||||||
public static final String TOOLS_PATH = System.getProperty("tools_path", ".");
|
public static final String TOOLS_PATH = System.getProperty("tools_path", ".");
|
||||||
|
|
|
@ -19,9 +19,8 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
|
||||||
* 2/4/15
|
* 2/4/15
|
||||||
*/
|
*/
|
||||||
public class FirmwareFlasher {
|
public class FirmwareFlasher {
|
||||||
// Even on Windows openOCD insists on "/" for path separator
|
public static final String IMAGE_FILE = INPUT_FILES_PATH + "/" + "rusefi.bin";
|
||||||
public static final String IMAGE_FILE = INPUT_FILES_PATH + File.separator + "rusefi.bin";
|
public static final String IMAGE_NO_ASSERTS_FILE = INPUT_FILES_PATH + "/" + "rusefi_no_asserts.bin";
|
||||||
public static final String IMAGE_NO_ASSERTS_FILE = INPUT_FILES_PATH + File.separator + "rusefi_no_asserts.bin";
|
|
||||||
/**
|
/**
|
||||||
* SWD ST-LINK/V2 mode
|
* SWD ST-LINK/V2 mode
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue