diff --git a/.github/workflows/build-firmware.yaml b/.github/workflows/build-firmware.yaml index f441c6f482..9b4567801b 100644 --- a/.github/workflows/build-firmware.yaml +++ b/.github/workflows/build-firmware.yaml @@ -15,7 +15,7 @@ jobs: # # see also gen_config where we have a similar list for all boards! # - build-target: [hellen72, hellenNA6, hellen128, hellen121vag, hellen121nissan, cypress, frankenso_na6, kinetis, mre_f4, mre_f4_recovery, mre_f4_hardware_QC_special_build, mre_f7, prometheus_405, prometheus_469, proteus_f4, proteus_f4_hardware_QC_special_build, proteus_f7, proteus_f7_hardware_QC_special_build, proteus_h7, stm32f767_nucleo, stm32h743_nucleo, subaru_eg33_f7] + build-target: [hellen72, hellenNA6, hellen128, hellen121vag, hellen121nissan, cypress, frankenso_na6, kinetis, mre_f4, mre_f4_recovery, mre_f4_hardware_QC_special_build, mre_f7, prometheus_405, prometheus_469, proteus_f4, proteus_f4_hardware_QC_special_build, proteus_f7, proteus_f7_hardware_QC_special_build, proteus_h7, proteus_legacy, stm32f767_nucleo, stm32h743_nucleo, subaru_eg33_f7] include: # Board configurations @@ -96,6 +96,10 @@ jobs: folder: proteus ini-file: rusefi_proteus_h7.ini + - build-target: proteus_legacy + folder: proteus + ini-file: rusefi_proteus_f7.ini + - build-target: stm32f767_nucleo folder: nucleo_f767 ini-file: no diff --git a/firmware/config/boards/proteus/board.mk b/firmware/config/boards/proteus/board.mk index 1cce4af128..54bedbdbaa 100644 --- a/firmware/config/boards/proteus/board.mk +++ b/firmware/config/boards/proteus/board.mk @@ -4,11 +4,6 @@ BOARDCPPSRC = $(PROJECT_DIR)/config/boards/proteus/board_configuration.cpp \ BOARDINC = $(PROJECT_DIR)/config/boards/proteus -# Target processor details -ifeq ($(PROJECT_CPU),ARCH_STM32F7) - PROTEUS_LEGACY = TRUE -endif - ifeq ($(PROJECT_CPU),ARCH_STM32F4) IS_STM32F429 = yes endif diff --git a/firmware/config/boards/proteus/compile_proteus_legacy.sh b/firmware/config/boards/proteus/compile_proteus_legacy.sh new file mode 100644 index 0000000000..8ac79ddeea --- /dev/null +++ b/firmware/config/boards/proteus/compile_proteus_legacy.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# Use this script for Proteus v0.1/0.2 (boards where vbat was on ADC3) + +export PROJECT_BOARD=proteus +export PROJECT_CPU=ARCH_STM32F7 +export EXTRA_PARAMS=-DSHORT_BOARD_NAME=proteus_legacy +export PROTEUS_LEGACY=TRUE + +bash ../common_make.sh