IGNORE_FLASH_CONFIGURATION
This commit is contained in:
parent
d388afff34
commit
99dd0b9450
|
@ -2,7 +2,7 @@
|
|||
|
||||
export PROJECT_BOARD=microrusefi
|
||||
export PROJECT_CPU=ARCH_STM32F4
|
||||
export EXTRA_PARAMS="-DSHORT_BOARD_NAME=mre_f4"
|
||||
export EXTRA_PARAMS="-DSHORT_BOARD_NAME=mre_f4 -DIGNORE_FLASH_CONFIGURATION=TRUE"
|
||||
|
||||
# export DEBUG_LEVEL_OPT="-O0 -ggdb -g3"
|
||||
|
||||
|
|
|
@ -183,11 +183,15 @@ void runRusEfi(void) {
|
|||
initPinRepository();
|
||||
|
||||
#if EFI_INTERNAL_FLASH
|
||||
#if IGNORE_FLASH_CONFIGURATION
|
||||
resetConfigurationExt(logger, DEFAULT_ENGINE_TYPE PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
#else
|
||||
/**
|
||||
* First thing is reading configuration from flash memory.
|
||||
* In order to have complete flexibility configuration has to go before anything else.
|
||||
*/
|
||||
readConfiguration(&sharedLogger);
|
||||
#endif // IGNORE_FLASH_CONFIGURATION
|
||||
#endif /* EFI_INTERNAL_FLASH */
|
||||
|
||||
#if HW_CHECK_ALWAYS_STIMULATE
|
||||
|
|
Loading…
Reference in New Issue