2022-05-24 18:34:45 -07:00
|
|
|
#|--------------------------------------------------------------------------------------|
|
|
|
|
#| Collect project files |
|
|
|
|
#|--------------------------------------------------------------------------------------|
|
|
|
|
# Collect all application files in the current directory and its subdirectories, but
|
|
|
|
# exclude flash-layout.c as this one is directly included in a source file, when used.
|
|
|
|
PROJ_FILES += $(filter-out $(OPENBLT_BOARD_DIR)/flash_layout.c, $(call rwildcard, $(OPENBLT_BOARD_DIR), *.c *.h *.s))
|
|
|
|
|
|
|
|
#|--------------------------------------------------------------------------------------|
|
|
|
|
#| Options for toolchain binaries |
|
|
|
|
#|--------------------------------------------------------------------------------------|
|
|
|
|
BRDFLAGS = -DSTM32F429xx
|
|
|
|
|
|
|
|
#|--------------------------------------------------------------------------------------|
|
|
|
|
#| Specify library files |
|
|
|
|
#|--------------------------------------------------------------------------------------|
|
|
|
|
LIBS =
|
|
|
|
|
|
|
|
BRDFLAGS += -DHSE_VALUE=8000000
|
|
|
|
|
|
|
|
BRDFLAGS += -DSTATUS_LED_PORT=GPIOE -DSTATUS_LED_PIN=GPIO_PIN_3
|
|
|
|
|
|
|
|
# Frequency of the external crystal oscillator
|
|
|
|
BRDFLAGS += -DBOOT_CPU_XTAL_SPEED_KHZ=8000
|
|
|
|
BRDFLAGS += -DBOOT_CPU_SYSTEM_SPEED_KHZ=168000
|
|
|
|
# Select the desired UART peripheral as a zero based index.
|
|
|
|
BRDFLAGS += -DBOOT_COM_RS232_CHANNEL_INDEX=2
|
|
|
|
# \brief Select the desired CAN peripheral as a zero based index.
|
2023-05-20 17:52:59 -07:00
|
|
|
BRDFLAGS += -DBOOT_COM_CAN_CHANNEL_INDEX=1
|
|
|
|
|
2023-05-20 17:53:30 -07:00
|
|
|
// see also BOOT_COM_USB_BACKDOOR_EXTENSION_MS
|
2023-05-20 18:03:43 -07:00
|
|
|
BRDFLAGS += -DBOOT_COM_USB_ENABLE=1 -DBOOT_COM_USB_TX_MAX_DATA=63 -DBOOT_COM_USB_RX_MAX_DATA=63
|