only:uaefi121
This commit is contained in:
parent
410e8b2491
commit
b5b87d38b7
|
@ -1,7 +1,7 @@
|
|||
# Combine the related files for a specific platform and MCU.
|
||||
|
||||
# Target ECU board design
|
||||
BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp
|
||||
BOARDCPPSRC = $(BOARD_DIR)/board_configuration_uaefi121.cpp
|
||||
|
||||
DDEFS += -DEFI_MAIN_RELAY_CONTROL=TRUE
|
||||
|
||||
|
|
|
@ -112,6 +112,8 @@ static Gpio SBC_OUTPUTS[] = {
|
|||
Gpio::MM100_SPI2_CS, // 50a INJ_7
|
||||
Gpio::MM100_COATED_SPI2_SCK, // 51a INJ_8
|
||||
Gpio::MM100_IGN8, // 87a LS6_HOT fuelpump
|
||||
Gpio::MM100_IGN1, // Coil 1
|
||||
Gpio::MM100_IGN2, // Coil 2
|
||||
|
||||
};
|
||||
|
||||
|
@ -124,7 +126,7 @@ int getBoardMetaOutputsCount() {
|
|||
|
||||
int getBoardMetaLowSideOutputsCount() {
|
||||
if (engineConfiguration->engineType == engine_type_e::GM_SBC) {
|
||||
return getBoardMetaOutputsCount();
|
||||
return getBoardMetaOutputsCount() - 3;
|
||||
}
|
||||
return getBoardMetaOutputsCount() - 1 - 6;
|
||||
}
|
|
@ -93,10 +93,10 @@ void setGmSbc() {
|
|||
#ifdef HW_HELLEN_UAEFI121
|
||||
// coil control plug pin A
|
||||
|
||||
// tan wire with a black trace - "HEI B", plug pin B
|
||||
// tan wire with a black trace - "HEI B", plug pin B (we use yellow)
|
||||
ignOverride->pin = Gpio::MM100_IGN2; // 12a Coil 2
|
||||
// tach plug pin C
|
||||
engineConfiguration->triggerInputPins[0] = Gpio::MM100_IN_D2; // 35a HALL2
|
||||
engineConfiguration->triggerInputPins[0] = Gpio::MM100_IN_D2; // 35a HALL2 red wire
|
||||
engineConfiguration->camInputs[0] = Gpio::Unassigned;
|
||||
engineConfiguration->camInputs[1] = Gpio::Unassigned;
|
||||
engineConfiguration->ignitionPins[1] = Gpio::Unassigned;
|
||||
|
|
Loading…
Reference in New Issue