26 lines
678 B
Makefile
26 lines
678 B
Makefile
# List of all the board related files.
|
|
BOARDCPPSRC = $(PROJECT_DIR)/config/boards/atlas/board_configuration.cpp
|
|
|
|
BOARDINC = $(PROJECT_DIR)/config/boards/atlas
|
|
|
|
#DDEFS += -DLED_CRITICAL_ERROR_BRAIN_PIN=GPIOE_3
|
|
DDEFS += -DFIRMWARE_ID=\"atlas\" -DDEFAULT_ENGINE_TYPE=MINIMAL_PINS
|
|
|
|
# This stuff doesn't work on H7 yet
|
|
# DDEFS += -DSTM32_ADC_USE_ADC3=TRUE
|
|
# DEFS += -DEFI_SOFTWARE_KNOCK=TRUE
|
|
|
|
# disable hardware serial ports on H7
|
|
# DDEFS += -DTS_NO_PRIMARY -DTS_NO_SECONDARY
|
|
|
|
# We are running on Atlas hardware!
|
|
DDEFS += -DHW_ATLAS=1
|
|
|
|
# Atlas needs networking library
|
|
LWIP = yes
|
|
DDEFS += -DEFI_ETHERNET=TRUE
|
|
|
|
# Shared variables
|
|
ALLCPPSRC += $(BOARDCPPSRC)
|
|
ALLINC += $(BOARDINC)
|