Proteus legacy vs. non-legacy F7 (#2657)

* proteus f7 is not necessarily legacy

* script

* don't need that any more

* yaml and script

* rename
This commit is contained in:
Matthew Kennedy 2021-05-08 15:44:19 -07:00 committed by GitHub
parent e18ba01fe5
commit d4beefa8f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 6 deletions

View File

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

View File

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

View File

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