mirror of https://github.com/rusefi/rusefi-1.git
Honda K
This commit is contained in:
parent
bfc4ed4df6
commit
1f5e1c2ca5
|
@ -205,9 +205,11 @@ void setBoardDefaultConfiguration(void) {
|
|||
engineConfiguration->crankingInjectionMode = IM_SIMULTANEOUS;
|
||||
engineConfiguration->injectionMode = IM_SIMULTANEOUS;
|
||||
|
||||
CONFIG(mainRelayPin) = GPIOB_9;// "Lowside 13" # pin 10/black35
|
||||
CONFIG(fanPin) = GPIOE_1;// "Lowside 15" # pin 12/black35
|
||||
CONFIG(fuelPumpPin) = GPIOE_2;// "Lowside 16" # pin 23/black35
|
||||
#if HW_PROTEUS & EFI_PROD_CODE
|
||||
CONFIG(mainRelayPin) = PROTEUS_LS_13;
|
||||
CONFIG(fanPin) = PROTEUS_LS_15;
|
||||
CONFIG(fuelPumpPin) = PROTEUS_LS_16;
|
||||
#endif // HW_PROTEUS
|
||||
|
||||
// If we're running as hardware CI, borrow a few extra pins for that
|
||||
#ifdef HARDWARE_CI
|
||||
|
|
|
@ -28,6 +28,14 @@
|
|||
#define PROTEUS_LS_11 GPIOB_7
|
||||
#define PROTEUS_LS_12 GPIOB_8
|
||||
|
||||
// pin 10/black35
|
||||
#define PROTEUS_LS_13 GPIOB_9
|
||||
#define PROTEUS_LS_14 GPIOE_0
|
||||
// pin 12/black35
|
||||
#define PROTEUS_LS_15 GPIOE_1
|
||||
// pin 23/black35
|
||||
#define PROTEUS_LS_16 GPIOE_2
|
||||
|
||||
// pin 2/black35
|
||||
#define PROTEUS_HS_1 GPIOD_4
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#if HW_PROTEUS & EFI_PROD_CODE
|
||||
#include "proteus_meta.h"
|
||||
#endif
|
||||
#endif // HW_PROTEUS
|
||||
|
||||
/**
|
||||
* PROTEUS_HONDA_ELEMENT_2003
|
||||
|
@ -27,7 +27,19 @@ void setProteusHondaElement2003(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
engineConfiguration->triggerInputPins[0] = PROTEUS_DIGITAL_2;
|
||||
engineConfiguration->camInputs[0] = PROTEUS_DIGITAL_4;
|
||||
engineConfiguration->camInputs[1 * CAMS_PER_BANK] = PROTEUS_DIGITAL_1;
|
||||
#endif
|
||||
|
||||
engineConfiguration->injectionPins[0] = PROTEUS_LS_8;
|
||||
engineConfiguration->injectionPins[1] = PROTEUS_LS_7;
|
||||
engineConfiguration->injectionPins[2] = PROTEUS_LS_6;
|
||||
engineConfiguration->injectionPins[3] = PROTEUS_LS_5;
|
||||
|
||||
engineConfiguration->malfunctionIndicatorPin = PROTEUS_LS_10;
|
||||
|
||||
CONFIG(mainRelayPin) = PROTEUS_LS_9;
|
||||
CONFIG(fuelPumpPin) = PROTEUS_LS_11;
|
||||
// CONFIG(fanPin) = PROTEUS_LS_15;
|
||||
|
||||
#endif // HW_PROTEUS
|
||||
}
|
||||
|
||||
void setProteusHondaOBD2A(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||
|
|
Loading…
Reference in New Issue