huh? let's self-identify as frankenso_na6?

This commit is contained in:
rusefillc 2024-01-03 11:30:32 -05:00 committed by rusefillc
parent 232814d02d
commit 5d783cb49d
2 changed files with 15 additions and 2 deletions

View File

@ -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 SHORT_BOARD_NAME=frankenso_na6
DDEFS += -DSTATIC_BOARD_ID=STATIC_BOARD_ID_FRANKENSO_NA6 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

View File

@ -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 # 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