calibrations_on_flash.mk

This commit is contained in:
rusefi 2024-04-28 11:25:35 -04:00 committed by rusEFI LLC
parent 3da4de56f3
commit 8994d3459c
4 changed files with 9 additions and 8 deletions

View File

@ -21,7 +21,8 @@ BOARDINC = $(CHIBIOS)/os/hal/boards/AT_START_F435/
CONFDIR = $(PROJECT_DIR)/hw_layer/ports/at32/at32f4/cfg
# This board uses ChibiOS MFS driver on internal flash
DDEFS += -DEFI_STORAGE_INT_FLASH=FLASE -DHAL_USE_EFL=TRUE -DEFI_STORAGE_MFS=TRUE
DDEFS += -DHAL_USE_EFL=TRUE
include $(PROJECT_DIR)/hw_layer/ports/stm32/calibrations_on_flash.mk
# This board has chip with dual-bank flash, bank 2 can be flashed in background
DDEFS += -DEFI_FLASH_WRITE_THREAD=TRUE

View File

@ -25,7 +25,8 @@ USE_FATFS = no
CONFDIR = $(PROJECT_DIR)/hw_layer/ports/at32/at32f4/cfg
# This board uses ChibiOS MFS driver on internal flash
DDEFS += -DEFI_STORAGE_INT_FLASH=FLASE -DHAL_USE_EFL=TRUE -DEFI_STORAGE_MFS=TRUE
DDEFS += -DHAL_USE_EFL=TRUE
include $(PROJECT_DIR)/hw_layer/ports/stm32/calibrations_on_flash.mk
# This board has chip with dual-bank flash, bank 2 can be flashed in background
DDEFS += -DEFI_FLASH_WRITE_THREAD=TRUE

View File

@ -27,6 +27,11 @@ DDEFS += -DEFI_EMBED_INI_MSD=TRUE
# Shared variables
ALLINC += $(BOARDINC)
# this board has external QSPI NOR flash
# see also *STM32_WSPI*
DDEFS += -DHAL_USE_WSPI=TRUE
DDEFS += -DSNOR_SHARED_BUS=FALSE
DDEFS += -DWSPI_USE_MUTUAL_EXCLUSION=FALSE
# This board uses ChibiOS MFS driver on internal flash
include $(PROJECT_DIR)/hw_layer/ports/stm32/calibrations_on_flash.mk

View File

@ -13,12 +13,6 @@
/* this file is exist just to include mcuconf.h from THIS directory */
#include "mcuconf.h"
#define HAL_USE_WSPI TRUE
#define SNOR_SHARED_BUS FALSE
#define WSPI_USE_MUTUAL_EXCLUSION FALSE
#include "../../../hw_layer/ports/stm32/stm32f7/cfg/halconf.h"
#endif /* _HALCONF_SUBARUEG33_H_ */