This commit is contained in:
parent
dc04fba5d0
commit
9e179d6a25
|
@ -4,8 +4,8 @@
|
||||||
BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp
|
BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp
|
||||||
DDEFS += -DEFI_MAIN_RELAY_CONTROL=TRUE
|
DDEFS += -DEFI_MAIN_RELAY_CONTROL=TRUE
|
||||||
|
|
||||||
# This board has trigger scope hardware!
|
# Turn off stuff proteus doesn't have/need
|
||||||
DDEFS += -DTRIGGER_SCOPE
|
DDEFS += -DEFI_MAX_31855=FALSE -DBOARD_L9779_COUNT=0 -DBOARD_TLE8888_COUNT=0
|
||||||
|
|
||||||
# Add them all together
|
# Add them all together
|
||||||
DDEFS += -DFIRMWARE_ID=\"AlphaX-4chan\"
|
DDEFS += -DFIRMWARE_ID=\"AlphaX-4chan\"
|
||||||
|
@ -18,12 +18,15 @@ DDEFS += -DDISABLE_PIN_STATE_VALIDATION=TRUE
|
||||||
|
|
||||||
include $(BOARDS_DIR)/hellen/hellen-common144.mk
|
include $(BOARDS_DIR)/hellen/hellen-common144.mk
|
||||||
|
|
||||||
DDEFS += $(PRIMARY_COMMUNICATION_PORT_USART2)
|
|
||||||
|
|
||||||
ifeq ($(PROJECT_CPU),ARCH_STM32F7)
|
ifeq ($(PROJECT_CPU),ARCH_STM32F7)
|
||||||
DDEFS += -DSHORT_BOARD_NAME=alphax-4chan-f7
|
DDEFS += -DSHORT_BOARD_NAME=alphax-4chan-f7
|
||||||
|
# TODO: why do I strugle to fit into flash? compare with Proteus
|
||||||
|
DDEFS += -DCH_DBG_ENABLE_ASSERTS=FALSE
|
||||||
else ifeq ($(PROJECT_CPU),ARCH_STM32F4)
|
else ifeq ($(PROJECT_CPU),ARCH_STM32F4)
|
||||||
DDEFS += -DSHORT_BOARD_NAME=alphax-4chan
|
DDEFS += -DSHORT_BOARD_NAME=alphax-4chan
|
||||||
|
# This board has trigger scope hardware!
|
||||||
|
DDEFS += -DTRIGGER_SCOPE
|
||||||
|
DDEFS += $(PRIMARY_COMMUNICATION_PORT_USART2)
|
||||||
else
|
else
|
||||||
$(error Unsupported PROJECT_CPU [$(PROJECT_CPU)])
|
$(error Unsupported PROJECT_CPU [$(PROJECT_CPU)])
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue