mirror of https://github.com/rusefi/rusefi.git
calibrations_on_flash.mk
This commit is contained in:
parent
bdc1a62883
commit
b729d85e83
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -30,5 +30,15 @@ DDEFS += -DEFI_EMBED_INI_MSD=TRUE
|
|||
# Shared variables
|
||||
ALLINC += $(BOARDINC)
|
||||
|
||||
#Serial flash support
|
||||
# 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
|
||||
|
||||
#Serial flash driver
|
||||
include $(PROJECT_DIR)/hw_layer/drivers/flash/sst26f_jedec.mk
|
||||
|
||||
|
|
|
@ -99,12 +99,3 @@
|
|||
|
||||
#define RPM_LOW_THRESHOLD 8 // RPM=8 is an empirical lower sensitivity threshold of MAX9926 for 60-2
|
||||
#define NO_RPM_EVENTS_TIMEOUT_SECS 5 // (RPM < 12)
|
||||
|
||||
#ifndef EFI_BOOTLOADER // bootloader needs INT_FLASH and doesn't have MFS
|
||||
/* this board has external QSPI NOR flash */
|
||||
#undef EFI_STORAGE_MFS
|
||||
#define EFI_STORAGE_MFS TRUE
|
||||
|
||||
#undef EFI_STORAGE_INT_FLASH
|
||||
#define EFI_STORAGE_INT_FLASH FALSE
|
||||
#endif // EFI_BOOTLOADER
|
||||
|
|
|
@ -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_ */
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
# see also 'HAL_USE_EFL' in case of internal flash
|
||||
|
||||
DDEFS += -DEFI_STORAGE_INT_FLASH=FLASE -DEFI_STORAGE_MFS=TRUE
|
Loading…
Reference in New Issue