Enable EFI_EMBED_INI_MSD for EG33 board (#3957)

* Allow per-board EFI_EMBED_INI_MSD enable for F7

* eg33: enable EFI_EMBED_INI_MSD
This commit is contained in:
Andrey G 2022-02-23 20:03:10 +03:00 committed by GitHub
parent df1c6a4b7c
commit 47db520f53
2 changed files with 9 additions and 5 deletions

View File

@ -34,6 +34,9 @@ DDEFS += -DEFI_LOGIC_ANALYZER=FALSE
DDEFS += -DHAL_USE_UART=FALSE DDEFS += -DHAL_USE_UART=FALSE
DDEFS += -DUART_USE_WAIT=FALSE DDEFS += -DUART_USE_WAIT=FALSE
#Mass Storage
DDEFS += -DEFI_EMBED_INI_MSD=TRUE
#Linker options, flash size #Linker options, flash size
USE_OPT += -Wl,--defsym=FLASH_SIZE=1m USE_OPT += -Wl,--defsym=FLASH_SIZE=1m

View File

@ -9,6 +9,12 @@
* @date Aug 29, 2013 * @date Aug 29, 2013
* @author Andrey Belomutskiy, (c) 2012-2020 * @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" #include "../stm32f4ems/efifeatures.h"
@ -56,11 +62,6 @@
#define EFI_USE_COMPRESSED_INI_MSD #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 #undef ENABLE_PERF_TRACE
#define ENABLE_PERF_TRACE TRUE #define ENABLE_PERF_TRACE TRUE