mirror of https://github.com/FOME-Tech/fome-fw.git
I2C EEPROM support #3860
This commit is contained in:
parent
7364524f25
commit
b66687c971
|
@ -302,6 +302,9 @@ void setIssue898() {
|
||||||
}
|
}
|
||||||
#endif /* EFI_UNIT_TEST */
|
#endif /* EFI_UNIT_TEST */
|
||||||
|
|
||||||
|
void setEepromTestConfiguration() {
|
||||||
|
}
|
||||||
|
|
||||||
// F407 discovery
|
// F407 discovery
|
||||||
void setL9779TestConfiguration() {
|
void setL9779TestConfiguration() {
|
||||||
// enable_spi 3
|
// enable_spi 3
|
||||||
|
|
|
@ -17,6 +17,8 @@ void setEtbTestConfiguration();
|
||||||
void setTle8888TestConfiguration();
|
void setTle8888TestConfiguration();
|
||||||
void setL9779TestConfiguration();
|
void setL9779TestConfiguration();
|
||||||
|
|
||||||
|
void setEepromTestConfiguration();
|
||||||
|
|
||||||
void setIssue898();
|
void setIssue898();
|
||||||
void setTestQuadCam();
|
void setTestQuadCam();
|
||||||
|
|
||||||
|
|
|
@ -353,7 +353,7 @@ case TOYOTA_JZS147:
|
||||||
return "TOYOTA_JZS147";
|
return "TOYOTA_JZS147";
|
||||||
case UNUSED39:
|
case UNUSED39:
|
||||||
return "UNUSED39";
|
return "UNUSED39";
|
||||||
case UNUSED61:
|
case EEPROM_BENCH_ENGINE:
|
||||||
return "UNUSED61";
|
return "UNUSED61";
|
||||||
case UNUSED_48:
|
case UNUSED_48:
|
||||||
return "UNUSED_48";
|
return "UNUSED_48";
|
||||||
|
|
|
@ -845,7 +845,6 @@ void resetConfigurationExt(configuration_callback_t boardCallback, engine_type_e
|
||||||
* And override them with engine-specific defaults
|
* And override them with engine-specific defaults
|
||||||
*/
|
*/
|
||||||
switch (engineType) {
|
switch (engineType) {
|
||||||
case UNUSED61:
|
|
||||||
case HELLEN72_ETB:
|
case HELLEN72_ETB:
|
||||||
case MINIMAL_PINS:
|
case MINIMAL_PINS:
|
||||||
// all basic settings are already set in prepareVoidConfiguration(), no need to set anything here
|
// all basic settings are already set in prepareVoidConfiguration(), no need to set anything here
|
||||||
|
@ -1038,6 +1037,9 @@ void resetConfigurationExt(configuration_callback_t boardCallback, engine_type_e
|
||||||
case L9779_BENCH_ENGINE:
|
case L9779_BENCH_ENGINE:
|
||||||
setL9779TestConfiguration();
|
setL9779TestConfiguration();
|
||||||
break;
|
break;
|
||||||
|
case EEPROM_BENCH_ENGINE:
|
||||||
|
setEepromTestConfiguration();
|
||||||
|
break;
|
||||||
case TLE8888_BENCH_ENGINE:
|
case TLE8888_BENCH_ENGINE:
|
||||||
setTle8888TestConfiguration();
|
setTle8888TestConfiguration();
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -160,7 +160,7 @@ typedef enum {
|
||||||
|
|
||||||
L9779_BENCH_ENGINE = 60,
|
L9779_BENCH_ENGINE = 60,
|
||||||
|
|
||||||
UNUSED61 = 61,
|
EEPROM_BENCH_ENGINE = 61,
|
||||||
|
|
||||||
VW_B6 = 62,
|
VW_B6 = 62,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue