SD card for MRE
This commit is contained in:
parent
1f73fa208d
commit
dff7bbd4e0
|
@ -199,6 +199,13 @@ void setBoardConfigurationOverrides(void) {
|
|||
// GPIOE_8: "35 - GP Out 1"
|
||||
engineConfiguration->fuelPumpPin = GPIOE_8;
|
||||
|
||||
engineConfiguration->sdCardSpiDevice = SPI_DEVICE_3;
|
||||
engineConfiguration->spi3mosiPin = GPIOC_12;
|
||||
engineConfiguration->spi3misoPin = GPIOC_11;
|
||||
engineConfiguration->spi3sckPin = GPIOC_10;
|
||||
engineConfiguration->sdCardCsPin = GPIOB_9;
|
||||
// engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
|
||||
// TLE8888 high current low side: VVT2 IN9 / OUT5
|
||||
// GPIOE_10: "3 - Lowside 2"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#define ts_show_gps false
|
||||
#define ts_show_etb_pins false
|
||||
#define ts_show_analog_divider false
|
||||
#define ts_show_spi false
|
||||
#define ts_show_sd_card false
|
||||
#define ts_show_spi true
|
||||
#define ts_show_sd_card true
|
||||
#define ts_show_can_pins false
|
||||
#define ts_show_tunerstudio_port false
|
||||
|
|
|
@ -609,6 +609,11 @@ typedef enum __attribute__ ((__packed__)) {
|
|||
_150KHz
|
||||
} spi_speed_e;
|
||||
|
||||
|
||||
/**
|
||||
* See spi3mosiPin
|
||||
* See spi2MisoMode
|
||||
*/
|
||||
typedef enum __attribute__ ((__packed__)) {
|
||||
SPI_NONE = 0,
|
||||
SPI_DEVICE_1 = 1,
|
||||
|
|
Loading…
Reference in New Issue