Hellen128 default (#3138)
* Update board_configuration.cpp setSdCardConfigurationOverrides update * Update main.yaml update vBatt input * Update main.yaml fix nameing
This commit is contained in:
parent
d48ed47fb9
commit
0a65839582
|
@ -175,16 +175,16 @@ void setBoardDefaultConfiguration(void) {
|
|||
* @todo Add your board-specific code, if any.
|
||||
*/
|
||||
void setSdCardConfigurationOverrides(void) {
|
||||
engineConfiguration->sdCardSpiDevice = SPI_DEVICE_3;
|
||||
engineConfiguration->sdCardSpiDevice = SPI_DEVICE_2;
|
||||
|
||||
engineConfiguration->spi3mosiPin = GPIOC_12;
|
||||
engineConfiguration->spi3misoPin = GPIOC_11;
|
||||
engineConfiguration->spi3sckPin = GPIOC_10;
|
||||
engineConfiguration->sdCardCsPin = GPIOA_15;
|
||||
// engineConfiguration->spi3mosiPin = GPIOC_12;
|
||||
// engineConfiguration->spi3misoPin = GPIOC_11;
|
||||
// engineConfiguration->spi3sckPin = GPIOC_10;
|
||||
// engineConfiguration->sdCardCsPin = GPIOA_15;
|
||||
|
||||
// engineConfiguration->spi2mosiPin = GPIOB_15;
|
||||
// engineConfiguration->spi2misoPin = GPIOB_14;
|
||||
// engineConfiguration->spi2sckPin = GPIOB_13;
|
||||
// engineConfiguration->sdCardCsPin = GPIOB_12;
|
||||
CONFIG(is_enabled_spi_3) = true;
|
||||
engineConfiguration->spi2mosiPin = GPIOB_15;
|
||||
engineConfiguration->spi2misoPin = GPIOB_14;
|
||||
engineConfiguration->spi2sckPin = GPIOB_13;
|
||||
engineConfiguration->sdCardCsPin = GPIOB_12;
|
||||
CONFIG(is_enabled_spi_2) = true;
|
||||
}
|
||||
|
|
|
@ -5,6 +5,9 @@ pins:
|
|||
|
||||
- pin: A2
|
||||
function: ECU power supply from ignition key
|
||||
class: analog_inputs
|
||||
id: EFI_ADC_5
|
||||
ts_name: Battery Sense
|
||||
type: 12v
|
||||
|
||||
- pin: A3
|
||||
|
|
Loading…
Reference in New Issue