mirror of https://github.com/rusefi/rusefi.git
CAN side of automated testing #4630
This commit is contained in:
parent
a4173613c3
commit
b60ec5caad
|
@ -166,3 +166,16 @@ void boardPrepareForStop() {
|
|||
// Wake on the CAN RX pin
|
||||
palEnableLineEvent(PAL_LINE(GPIOD, 0), PAL_EVENT_MODE_RISING_EDGE);
|
||||
}
|
||||
|
||||
static Gpio OUTPUTS[] = {
|
||||
H144_LS_1,
|
||||
H144_LS_2,
|
||||
};
|
||||
|
||||
int getBoardMetaOutputsCount() {
|
||||
return efi::size(OUTPUTS);
|
||||
}
|
||||
|
||||
Gpio* getBoardMetaOutputs() {
|
||||
return OUTPUTS;
|
||||
}
|
||||
|
|
|
@ -167,8 +167,7 @@ void setBoardConfigOverrides() {
|
|||
engineConfiguration->clt.config.bias_resistor = 4700;
|
||||
engineConfiguration->iat.config.bias_resistor = 4700;
|
||||
|
||||
engineConfiguration->canTxPin = Gpio::D1;
|
||||
engineConfiguration->canRxPin = Gpio::D0;
|
||||
setHellenCan();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -218,3 +217,18 @@ void boardPrepareForStop() {
|
|||
// Wake on the CAN RX pin
|
||||
palEnableLineEvent(PAL_LINE(GPIOD, 0), PAL_EVENT_MODE_RISING_EDGE);
|
||||
}
|
||||
|
||||
static Gpio OUTPUTS[] = {
|
||||
H144_LS_1,
|
||||
H144_LS_2,
|
||||
H144_LS_3,
|
||||
H144_LS_4,
|
||||
};
|
||||
|
||||
int getBoardMetaOutputsCount() {
|
||||
return efi::size(OUTPUTS);
|
||||
}
|
||||
|
||||
Gpio* getBoardMetaOutputs() {
|
||||
return OUTPUTS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue