2022-01-10 13:14:39 -08:00
|
|
|
HALCONFDIR = $(BOARD_DIR)
|
2022-01-04 17:03:41 -08:00
|
|
|
|
2022-01-10 13:14:39 -08:00
|
|
|
# List of all the board related files.
|
|
|
|
BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp
|
|
|
|
|
|
|
|
# Required include directories
|
|
|
|
# STM32F429 has FSMC with SDRAM support
|
2022-02-26 18:49:02 -08:00
|
|
|
DDEFS += -DFIRMWARE_ID=\"stm32f429\"
|
2022-01-10 13:14:39 -08:00
|
|
|
IS_STM32F429 = yes
|
|
|
|
EFI_HAS_EXT_SDRAM = yes
|
|
|
|
|
|
|
|
#LED
|
2022-04-28 14:32:39 -07:00
|
|
|
DDEFS += -DLED_CRITICAL_ERROR_BRAIN_PIN=Gpio::G14
|
2022-01-10 13:14:39 -08:00
|
|
|
|
|
|
|
DDEFS += -DSTM32_FSMC_USE_FSMC1=TRUE -DSTM32_SDRAM_USE_SDRAM2=TRUE
|
|
|
|
|
2022-02-04 18:50:21 -08:00
|
|
|
DDEFS += -DSTM32_USB_USE_OTG1=FALSE
|
|
|
|
DDEFS += -DSTM32_USB_USE_OTG2=TRUE
|
|
|
|
DDEFS += -DHAL_USE_SDRAM=TRUE
|
|
|
|
DDEFS += -DHAL_USE_FSMC=TRUE
|
2023-11-07 12:47:24 -08:00
|
|
|
DDEFS += -DSTATIC_BOARD_ID=STATIC_BOARD_ID_F429_DISCOVERY
|
2022-02-04 18:50:21 -08:00
|
|
|
|
2023-11-07 12:47:24 -08:00
|
|
|
SHORT_BOARD_NAME = f429-discovery
|
2022-04-18 12:45:29 -07:00
|
|
|
|
2022-01-10 13:14:39 -08:00
|
|
|
# Shared variables
|
|
|
|
ALLINC += $(BOARDINC)
|