This commit is contained in:
rusEfi 2019-08-31 18:36:44 -04:00
parent 89a2cc22fc
commit 3851b37be6
5 changed files with 14 additions and 3 deletions

View File

@ -5,7 +5,7 @@ set LDSCRIPT = config/boards/NUCLEO_F767/STM32F76xxI.ld
set PROJECT_BOARD=microrusefi set PROJECT_BOARD=microrusefi
set PROJECT_CPU=ARCH_STM32F7 set PROJECT_CPU=ARCH_STM32F7
set EXTRA_PARAMS=-DDUMMY -DDEFAULT_ENGINE_TYPE=MICRO_RUS_EFI set EXTRA_PARAMS=-DDUMMY -DDEFAULT_ENGINE_TYPE=MICRO_RUS_EFI
call config/boards/common_make.bat call config/boards/common_make.bat

View File

@ -287,7 +287,7 @@ void setEtbTestConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
/** /**
* remember that some H-bridges require 5v control lines, not just 3v logic outputs we have on stm32 * remember that some H-bridges require 5v control lines, not just 3v logic outputs we have on stm32
*/ */
CONFIGB(etb1.directionPin1) = GPIOC_7; CONFIGB(etb1.directionPin1) = GPIOC_7; // Frankenso high-side in order to get 5v control
CONFIGB(etb1.directionPin2) = GPIOC_9; CONFIGB(etb1.directionPin2) = GPIOC_9;
CONFIGB(etb1.controlPin1) = GPIOE_14; CONFIGB(etb1.controlPin1) = GPIOE_14;

View File

@ -484,7 +484,7 @@ void setMazdaMiata2003EngineConfigurationNaFuelRail(DECLARE_CONFIG_PARAMETER_SIG
/** /**
* red car setting with default 1991/1995 miata harness * red car setting with default 1991/1995 miata harness
* board #70 - closer to default miata harness * board #70 - closer to default miata NA6 harness
* *
*/ */
void setMazdaMiata2003EngineConfigurationBoardTest(DECLARE_CONFIG_PARAMETER_SIGNATURE) { void setMazdaMiata2003EngineConfigurationBoardTest(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
@ -497,3 +497,10 @@ void setMazdaMiata2003EngineConfigurationBoardTest(DECLARE_CONFIG_PARAMETER_SIGN
engineConfiguration->mafAdcChannel = EFI_ADC_4; // PA4 - W47 top <>W47 engineConfiguration->mafAdcChannel = EFI_ADC_4; // PA4 - W47 top <>W47
} }
/**
* Pretty OEM 2003 Miata with ETB
*/
void setMiataNB2_MRE(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
}

View File

@ -19,4 +19,6 @@ void setMazdaMiata2003EngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
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(DECLARE_CONFIG_PARAMETER_SIGNATURE);
#endif /* CONFIG_ENGINES_MAZDA_MIATA_VVT_H_ */ #endif /* CONFIG_ENGINES_MAZDA_MIATA_VVT_H_ */

View File

@ -1060,6 +1060,8 @@ void resetConfigurationExt(Logging * logger, configuration_callback_t boardCallb
setIssue898(PASS_CONFIG_PARAMETER_SIGNATURE); setIssue898(PASS_CONFIG_PARAMETER_SIGNATURE);
break; break;
case MRE_MIATA_NB2: case MRE_MIATA_NB2:
setMiataNB2_MRE(PASS_CONFIG_PARAMETER_SIGNATURE);
break;
case MINIMAL_PINS: case MINIMAL_PINS:
// all basic settings are already set in prepareVoidConfiguration(), no need to set anything here // all basic settings are already set in prepareVoidConfiguration(), no need to set anything here
break; break;