please please please do not be the issue
This commit is contained in:
rusefi 2023-02-27 11:07:00 -05:00
parent ab3a1eae7e
commit 326d8d98a4
15 changed files with 3 additions and 23 deletions

View File

@ -166,8 +166,6 @@ void setBoardDefaultConfiguration() {
engineConfiguration->vvtPins[1] = H144_OUT_PWM8;
engineConfiguration->boardUseTempPullUp = true;
// todo: use board ID condition? below D no SD, D and up with SD?
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->acSwitch = Gpio::Unassigned;
engineConfiguration->fuelPumpPin = H144_OUT_IO12;

View File

@ -174,7 +174,6 @@ void setBoardDefaultConfiguration() {
engineConfiguration->vvtPins[1] = H144_OUT_PWM8;
engineConfiguration->boardUseTempPullUp = true;
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->mainRelayPin = H144_OUT_IO10;
engineConfiguration->fanPin = H144_OUT_IO11;

View File

@ -117,8 +117,6 @@ void setBoardDefaultConfiguration() {
setInjectorPins();
setIgnitionPins();
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->enableSoftwareKnock = true;
engineConfiguration->invertPrimaryTriggerSignal = true;

View File

@ -99,7 +99,6 @@ void setBoardDefaultConfiguration() {
setHondaK();
engineConfiguration->displayLogicLevelsInEngineSniffer = true;
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->globalTriggerAngleOffset = 663;

View File

@ -90,8 +90,6 @@ void setBoardDefaultConfiguration() {
setInjectorPins();
setIgnitionPins();
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->enableSoftwareKnock = true;
engineConfiguration->boostControlPin = H144_LS_6;

View File

@ -99,7 +99,6 @@ void setBoardDefaultConfiguration() {
setIgnitionPins();
engineConfiguration->displayLogicLevelsInEngineSniffer = true;
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->enableSoftwareKnock = true;
engineConfiguration->canNbcType = CAN_BUS_NBC_NONE; // none because handled by Lua!

View File

@ -104,8 +104,6 @@ void setBoardDefaultConfiguration() {
engineConfiguration->globalTriggerAngleOffset = 93;
engineConfiguration->isSdCardEnabled = true;
// todo: should this be a global default not just Hellen121?
engineConfiguration->boostCutPressure = 200;

View File

@ -157,8 +157,6 @@ void setBoardDefaultConfiguration() {
setInjectorPins();
setIgnitionPins();
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->enableSoftwareKnock = true;
engineConfiguration->fuelPumpPin = Gpio::D15;

View File

@ -148,7 +148,6 @@ void setBoardDefaultConfiguration() {
setIgnitionPins();
engineConfiguration->displayLogicLevelsInEngineSniffer = true;
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->enableSoftwareKnock = true;
engineConfiguration->canNbcType = CAN_BUS_GENESIS_COUPE;

View File

@ -91,8 +91,6 @@ void setBoardDefaultConfiguration() {
setInjectorPins();
setIgnitionPins();
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->enableSoftwareKnock = true;
// these stm32 pins do not match hellen_meta, is that because hellenNA6 is not using latest MCU version?

View File

@ -98,8 +98,6 @@ void setBoardDefaultConfiguration() {
setInjectorPins();
setIgnitionPins();
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->enableSoftwareKnock = true;
engineConfiguration->acRelayPin = Gpio::H15;

View File

@ -105,8 +105,6 @@ void setBoardDefaultConfiguration() {
setInjectorPins();
setIgnitionPins();
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->fuelPumpPin = Gpio::G2; // OUT_IO9
engineConfiguration->fanPin = Gpio::D12; // OUT_PWM8
engineConfiguration->mainRelayPin = Gpio::I2; // OUT_LOW3

View File

@ -97,7 +97,6 @@ void setBoardDefaultConfiguration() {
setIgnitionPins();
engineConfiguration->displayLogicLevelsInEngineSniffer = true;
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->enableSoftwareKnock = true;
engineConfiguration->canNbcType = CAN_BUS_NISSAN_VQ;

View File

@ -95,8 +95,6 @@ void setBoardDefaultConfiguration() {
setInjectorPins();
setIgnitionPins();
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->enableSoftwareKnock = true;
engineConfiguration->boostControlPin = H144_LS_6;

View File

@ -214,6 +214,7 @@ void detectHellenBoardType();
#define H_SPI3_CS Gpio::A15
static void setHellenSdCardSpi1() {
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->sdCardSpiDevice = SPI_DEVICE_1;
engineConfiguration->spi1mosiPin = H_SPI1_MOSI;
engineConfiguration->spi1misoPin = H_SPI1_MISO;
@ -223,6 +224,7 @@ static void setHellenSdCardSpi1() {
}
static void setHellenSdCardSpi2() {
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->sdCardSpiDevice = SPI_DEVICE_2;
engineConfiguration->spi2mosiPin = H_SPI2_MOSI;
engineConfiguration->spi2misoPin = H_SPI2_MISO;
@ -232,6 +234,7 @@ static void setHellenSdCardSpi2() {
}
static void setHellenSdCardSpi3() {
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->sdCardSpiDevice = SPI_DEVICE_3;
engineConfiguration->spi3mosiPin = H_SPI3_MOSI;
engineConfiguration->spi3misoPin = H_SPI3_MISO;