2023-01-01 09:42:17 -08:00
|
|
|
HALCONFDIR = $(BOARD_DIR)
|
|
|
|
|
|
|
|
# List of all the board related files.
|
|
|
|
BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp
|
|
|
|
|
2023-01-03 14:29:53 -08:00
|
|
|
# This is S105 board
|
|
|
|
DDEFS += -DSHORT_BOARD_NAME=s105
|
|
|
|
|
|
|
|
# This board has no LSE and HSE oscillators
|
|
|
|
DDEFS += -DSTM32_HSE_ENABLED=FALSE
|
|
|
|
DDEFS += -DENABLE_AUTO_DETECT_HSE=FALSE
|
|
|
|
|
|
|
|
# This board has 512K STM32F407
|
|
|
|
DDEFS += -DMIN_FLASH_SIZE=512
|
|
|
|
|
2023-01-01 09:42:17 -08:00
|
|
|
#This board has no LED
|
|
|
|
DDEFS += -DLED_CRITICAL_ERROR_BRAIN_PIN=Gpio::Unassigned
|
2023-01-03 14:29:53 -08:00
|
|
|
# and no LCD
|
|
|
|
DDEFS += -DEFI_HD44780_LCD=FALSE
|
|
|
|
|
|
|
|
# No Lua support as we are limited in RAM and ROM
|
|
|
|
DDEFS += -DEFI_LUA=FALSE
|
2023-01-01 09:42:17 -08:00
|
|
|
|
|
|
|
#This board has no USB wired out
|
|
|
|
DDEFS += -DSTM32_USB_USE_OTG1=FALSE
|
|
|
|
DDEFS += -DSTM32_USB_USE_OTG2=FALSE
|
|
|
|
|
|
|
|
# This board has no storage
|
|
|
|
DDEFS += -DEFI_FILE_LOGGING=FALSE
|
|
|
|
USE_FATFS = no
|
|
|
|
|
2023-04-25 16:03:39 -07:00
|
|
|
# see EFI_CONSOLE_TX_PORT for default PA9/PA10
|
|
|
|
# debug console
|
|
|
|
DDEFS += -DTS_PRIMARY_UxART_PORT=SD1
|
|
|
|
DDEFS += -DEFI_CONSOLE_TX_BRAIN_PIN=Gpio::PA9 -DEFI_CONSOLE_RX_BRAIN_PIN=Gpio::PA10
|
|
|
|
|
2023-01-01 09:42:17 -08:00
|
|
|
DDEFS += -DFIRMWARE_ID=\"s105\"
|
|
|
|
DDEFS += -DDEFAULT_ENGINE_TYPE=MINIMAL_PINS
|
|
|
|
|
|
|
|
# Required include directories
|
|
|
|
# Shared variables
|
|
|
|
# Add board's directory first in include dir list so files in board directory will be included instead of default
|
|
|
|
ALLINC += $(BOARDINC)
|