diff --git a/firmware/config/boards/subaru_eg33/board.mk b/firmware/config/boards/subaru_eg33/board.mk index ddc52b4ad2..c6947aeeaa 100644 --- a/firmware/config/boards/subaru_eg33/board.mk +++ b/firmware/config/boards/subaru_eg33/board.mk @@ -34,6 +34,9 @@ DDEFS += -DEFI_LOGIC_ANALYZER=FALSE DDEFS += -DHAL_USE_UART=FALSE DDEFS += -DUART_USE_WAIT=FALSE +#Mass Storage +DDEFS += -DEFI_EMBED_INI_MSD=TRUE + #Linker options, flash size USE_OPT += -Wl,--defsym=FLASH_SIZE=1m diff --git a/firmware/config/stm32f7ems/efifeatures.h b/firmware/config/stm32f7ems/efifeatures.h index cfeefaf1d8..2b49dd9888 100644 --- a/firmware/config/stm32f7ems/efifeatures.h +++ b/firmware/config/stm32f7ems/efifeatures.h @@ -9,6 +9,12 @@ * @date Aug 29, 2013 * @author Andrey Belomutskiy, (c) 2012-2020 */ + +// Disable ini ramdisk as a mitigation of https://github.com/rusefi/rusefi/issues/3775 +// See STM32F7.ld for more info +#ifndef EFI_EMBED_INI_MSD +#define EFI_EMBED_INI_MSD FALSE +#endif #include "../stm32f4ems/efifeatures.h" @@ -56,11 +62,6 @@ #define EFI_USE_COMPRESSED_INI_MSD -// Disable ini ramdisk as a mitigation of https://github.com/rusefi/rusefi/issues/3775 -// See STM32F7.ld for more info -#undef EFI_EMBED_INI_MSD -#define EFI_EMBED_INI_MSD FALSE - #undef ENABLE_PERF_TRACE #define ENABLE_PERF_TRACE TRUE