diff --git a/firmware/config/boards/frankenso_na6/board.mk b/firmware/config/boards/frankenso_na6/board.mk index 0231a49277..f4473c4140 100644 --- a/firmware/config/boards/frankenso_na6/board.mk +++ b/firmware/config/boards/frankenso_na6/board.mk @@ -1,3 +1,16 @@ +# funny thing: we reuse board_configuration.cpp from f407-discovery +BOARDCPPSRC = $(BOARD_DIR)/../f407-discovery/board_configuration.cpp +ifeq ($(VAR_DEF_ENGINE_TYPE),) + VAR_DEF_ENGINE_TYPE = -DDEFAULT_ENGINE_TYPE=engine_type_e::DEFAULT_FRANKENSO +endif + +DDEFS += -DFIRMWARE_ID=\"frankenso_na6\" SHORT_BOARD_NAME=frankenso_na6 -DDEFS += -DSTATIC_BOARD_ID=STATIC_BOARD_ID_FRANKENSO_NA6 \ No newline at end of file +DDEFS += -DSTATIC_BOARD_ID=STATIC_BOARD_ID_FRANKENSO_NA6 + +DDEFS += -DRAM_UNUSED_SIZE=200 + +# TS_SECONDARY_UxART_PORT +DDEFS += -DSTM32_SERIAL_USE_USART3=TRUE +DDEFS += -DTS_SECONDARY_UxART_PORT=SD3 -DEFI_TS_SECONDARY_IS_SERIAL=TRUE diff --git a/firmware/config/boards/frankenso_na6/compile_frankenso_na6.sh b/firmware/config/boards/frankenso_na6/compile_frankenso_na6.sh index 5936df7f8a..a58606450f 100644 --- a/firmware/config/boards/frankenso_na6/compile_frankenso_na6.sh +++ b/firmware/config/boards/frankenso_na6/compile_frankenso_na6.sh @@ -9,4 +9,4 @@ FW_ID_ENV=frankensoNA6 # while humans want to use second cam input asap https://rusefi.com/forum/viewtopic.php?f=4&t=2343 # -bash ../common_make.sh f407-discovery ARCH_STM32F4 +bash ../common_make.sh frankenso_na6 ARCH_STM32F4