fome-fw/firmware/config/boards/hellen/alphax-4chan/board.mk

23 lines
665 B
Makefile
Raw Normal View History

2022-02-09 16:57:02 -08:00
# Combine the related files for a specific platform and MCU.
# Target ECU board design
BOARDCPPSRC = $(BOARDS_DIR)/hellen/alphax-4chan/board_configuration.cpp
BOARDINC = $(BOARDS_DIR)/hellen/alphax-4chan
DDEFS += -DEFI_MAIN_RELAY_CONTROL=TRUE
2022-02-09 19:52:46 -08:00
2022-02-09 16:57:02 -08:00
# Add them all together
2022-02-09 20:07:16 -08:00
DDEFS += -DFIRMWARE_ID=\"AlphaX-4chan\" $(LED_COMMUNICATION_BRAIN_PIN)
2022-02-09 16:57:02 -08:00
DDEFS += -DEFI_SOFTWARE_KNOCK=TRUE -DSTM32_ADC_USE_ADC3=TRUE
2022-02-09 19:47:54 -08:00
DDEFS += -DHAL_TRIGGER_USE_PAL=TRUE
2022-02-09 19:46:13 -08:00
2022-02-09 16:57:02 -08:00
# Enable serial pins on expansion header
DDEFS += -DEFI_CONSOLE_TX_BRAIN_PIN=GPIOD_6 -DEFI_CONSOLE_RX_BRAIN_PIN=GPIOD_5 -DTS_PRIMARY_PORT=UARTD2 -DSTM32_UART_USE_USART2=1
2022-02-09 20:07:16 -08:00
include $(BOARDS_DIR)/hellen/hellen-common144.mk
2022-02-09 16:57:02 -08:00