2017-03-24 10:41:36 -07:00
|
|
|
# List of all the board related files.
|
2022-02-06 18:47:13 -08:00
|
|
|
BOARDCPPSRC = $(PROJECT_DIR)/config/boards/f407-discovery/board_extra.cpp
|
2017-03-24 10:41:36 -07:00
|
|
|
|
2017-05-01 12:09:35 -07:00
|
|
|
# MCU defines
|
2017-05-01 12:24:19 -07:00
|
|
|
DDEFS += -DSTM32F407xx
|
2020-12-22 18:54:40 -08:00
|
|
|
|
2022-02-09 17:59:55 -08:00
|
|
|
ifeq ($(DEFAULT_ENGINE_TYPE),)
|
|
|
|
DEFAULT_ENGINE_TYPE = -DDEFAULT_ENGINE_TYPE=DEFAULT_FRANKENSO
|
|
|
|
endif
|
|
|
|
|
2020-12-22 18:54:40 -08:00
|
|
|
# We are running on Frankenso hardware!
|
|
|
|
DDEFS += -DHW_FRANKENSO=1
|
2022-02-09 17:59:55 -08:00
|
|
|
DDEFS += -DDEFAULT_ENGINE_TYPE=$(DEFAULT_ENGINE_TYPE)
|
2022-02-09 16:49:41 -08:00
|
|
|
|
2022-02-06 14:23:07 -08:00
|
|
|
DDEFS += -DSTM32_I2C_USE_I2C3=TRUE
|
2022-02-05 12:57:11 -08:00
|
|
|
|
|
|
|
ifndef IS_RE_BOOTLOADER
|
|
|
|
DDEFS += -DHAL_USE_EEPROM=TRUE
|
|
|
|
endif
|