v12
This commit is contained in:
parent
7e7e6ed740
commit
620088cdc1
|
@ -609,6 +609,8 @@ case BMW_M73_M:
|
|||
return "BMW_M73_M";
|
||||
case BMW_M73_PROTEUS:
|
||||
return "BMW_M73_P";
|
||||
case BMW_M73_MRE:
|
||||
return "BMW_M73_MRE";
|
||||
case MIATA_1996:
|
||||
return "MIATA_1996";
|
||||
case MIATA_NA6_MAP:
|
||||
|
|
|
@ -65,12 +65,12 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
*/
|
||||
|
||||
#include "engine_template.h"
|
||||
#include "bmw_m73.h"
|
||||
#include "custom_engine.h"
|
||||
|
||||
EXTERN_CONFIG;
|
||||
|
||||
static void m73engine(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||
void m73engine(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||
// 13641435991 injector
|
||||
engineConfiguration->injector.flow = 180; // cc/min, who knows if this number is real - no good source of info
|
||||
|
||||
|
@ -186,15 +186,18 @@ GPIOA_6
|
|||
// PWM pin
|
||||
engineConfiguration->etbIo[0].controlPin1 = GPIO_UNASSIGNED;
|
||||
// DIR pin
|
||||
engineConfiguration->etbIo[0].directionPin1 = GPIOC_9;
|
||||
engineConfiguration->etbIo[0].directionPin2 = GPIOC_8;
|
||||
engineConfiguration->etbIo[0].directionPin1 = GPIOC_8;
|
||||
engineConfiguration->etbIo[0].directionPin2 = GPIOC_9;
|
||||
CONFIG(etb_use_two_wires) = true;
|
||||
|
||||
// PWM pin
|
||||
engineConfiguration->etbIo[1].controlPin1 = GPIO_UNASSIGNED;
|
||||
// DIR pin
|
||||
engineConfiguration->etbIo[1].directionPin1 = GPIOB_8;
|
||||
engineConfiguration->etbIo[1].directionPin2 = GPIOB_9;
|
||||
engineConfiguration->etbIo[1].directionPin1 = GPIOB_9;
|
||||
engineConfiguration->etbIo[1].directionPin2 = GPIOB_8;
|
||||
|
||||
CONFIG(tps2Min) = CONFIG(tpsMin);
|
||||
CONFIG(tps2Max) = CONFIG(tpsMax);
|
||||
|
||||
|
||||
engineConfiguration->injectionPins[0] = GPIO_UNASSIGNED;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* @file engine_template.h
|
||||
* @file bmw_m73.h
|
||||
*
|
||||
* @date Nov 1, 2019
|
||||
* @author Andrey Belomutskiy, (c) 2012-2020
|
||||
|
@ -9,6 +9,10 @@
|
|||
|
||||
#include "engine_configuration.h"
|
||||
|
||||
void m73engine(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||
|
||||
void setEngineBMW_M73_Frankenso(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||
void setEngineBMW_M73_Manhattan(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||
void setEngineBMW_M73_Proteus(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||
|
||||
void setEngineBMW_M73_microRusEfi(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* @file bmw_m73_mre.cpp
|
||||
*
|
||||
*
|
||||
* BMW_M73_MRE
|
||||
* set engine_type 104
|
||||
*
|
||||
*/
|
||||
|
||||
#include "bmw_m73.h"
|
||||
|
||||
void setEngineBMW_M73_microRusEfi(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||
|
||||
}
|
|
@ -5,6 +5,7 @@ ENGINES_SRC_CPP = $(PROJECT_DIR)/config/engines/ford_aspire.cpp \
|
|||
$(PROJECT_DIR)/config/engines/custom_engine.cpp \
|
||||
$(PROJECT_DIR)/config/engines/bmw_e34.cpp \
|
||||
$(PROJECT_DIR)/config/engines/bmw_m73.cpp \
|
||||
$(PROJECT_DIR)/config/engines/bmw_m73_mre.cpp \
|
||||
$(PROJECT_DIR)/config/engines/mazda_miata.cpp \
|
||||
$(PROJECT_DIR)/config/engines/mazda_miata_base_maps.cpp \
|
||||
$(PROJECT_DIR)/config/engines/mazda_miata_1_6.cpp \
|
||||
|
|
|
@ -717,6 +717,8 @@ case BMW_M73_F:
|
|||
return "BMW_M73_F";
|
||||
case BMW_M73_M:
|
||||
return "BMW_M73_M";
|
||||
case BMW_M73_MRE:
|
||||
return "BMW_M73_MRE";
|
||||
case BMW_M73_PROTEUS:
|
||||
return "BMW_M73_P";
|
||||
case MRE_BOARD_TEST:
|
||||
|
|
|
@ -1145,6 +1145,7 @@ void resetConfigurationExt(Logging * logger, configuration_callback_t boardCallb
|
|||
case BMW_M73_M:
|
||||
setEngineBMW_M73_Manhattan(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
break;
|
||||
case BMW_M73_MRE:
|
||||
case BMW_M73_PROTEUS:
|
||||
setEngineBMW_M73_Proteus(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
break;
|
||||
|
|
|
@ -195,6 +195,8 @@ typedef enum {
|
|||
|
||||
TEST_33816 = 103,
|
||||
|
||||
BMW_M73_MRE = 104,
|
||||
|
||||
Force_4_bytes_size_engine_type = ENUM_32_BITS,
|
||||
} engine_type_e;
|
||||
|
||||
|
|
|
@ -849,6 +849,6 @@ int getRusEfiVersion(void) {
|
|||
if (initBootloader() != 0)
|
||||
return 123;
|
||||
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
||||
return 201200310;
|
||||
return 201200311;
|
||||
}
|
||||
#endif /* EFI_UNIT_TEST */
|
||||
|
|
Loading…
Reference in New Issue