hellen64 scripts and pinout #2565

This commit is contained in:
rusefillc 2021-04-18 22:03:43 -04:00
parent df572573cd
commit 8c0cff1b1b
6 changed files with 18 additions and 13 deletions

View File

@ -12,7 +12,7 @@ jobs:
matrix: matrix:
# What boards should we build for? In the 'include' section below, # What boards should we build for? In the 'include' section below,
# set up what each of these boards needs to build. # set up what each of these boards needs to build.
build-target: [hellen72, 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_h7, stm32f767_nucleo, stm32h743_nucleo, subaru_eg33_f7] build-target: [hellen72, hellen64_miataNA6_94, 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_h7, stm32f767_nucleo, stm32h743_nucleo, subaru_eg33_f7]
include: include:
# Board configurations # Board configurations
@ -20,6 +20,11 @@ jobs:
folder: hellen/hellen72 folder: hellen/hellen72
ini-file: rusefi_hellen72.ini ini-file: rusefi_hellen72.ini
# Board configurations
- build-target: hellen64_miataNA6_94
folder: hellen/hellen64_miataNA6_94
ini-file: rusefi_hellenNA6.ini
# Board configurations # Board configurations
- build-target: cypress - build-target: cypress
folder: hellen folder: hellen

View File

@ -1,2 +1,2 @@
@echo off @echo off
bash.exe compile_hellen72.sh bash.exe compile_hellenNA6.sh

View File

@ -30,7 +30,7 @@
/* /*
* Board identifier. * Board identifier.
*/ */
#define BOARD_NAME "Hellen72" #define BOARD_NAME "HellenNA6"
#define EFI_USB_AF 10U #define EFI_USB_AF 10U
#define EFI_USB_SERIAL_DM GPIOA_11 #define EFI_USB_SERIAL_DM GPIOA_11

View File

@ -1,12 +1,12 @@
# Combine the related files for a specific platform and MCU. # Combine the related files for a specific platform and MCU.
# Target ECU board design # Target ECU board design
BOARDCPPSRC = $(BOARDS_DIR)/hellen/hellen72/board_configuration.cpp BOARDCPPSRC = $(BOARDS_DIR)/hellen/hellen64_miataNA6_94/board_configuration.cpp
BOARDINC = $(BOARDS_DIR)/hellen/hellen72 BOARDINC = $(BOARDS_DIR)/hellen/hellen64_miataNA6_94
# Set this if you want a default engine type other than normal Hellen72 # Set this if you want a default engine type other than normal hellen64_miataNA6_94
ifeq ($(DEFAULT_ENGINE_TYPE),) ifeq ($(DEFAULT_ENGINE_TYPE),)
DEFAULT_ENGINE_TYPE = -DDEFAULT_ENGINE_TYPE=HELLEN_NB2 DEFAULT_ENGINE_TYPE = -DDEFAULT_ENGINE_TYPE=HELLEN_NA6
endif endif
ifeq ($(LED_CRITICAL_ERROR_BRAIN_PIN),) ifeq ($(LED_CRITICAL_ERROR_BRAIN_PIN),)
@ -28,7 +28,7 @@ DDEFS += -DLED_COMMUNICATION_BRAIN_PIN_MODE=INVERTED_OUTPUT
DDEFS += -DTS_NO_PRIMARY -DTS_NO_SECONDARY DDEFS += -DTS_NO_PRIMARY -DTS_NO_SECONDARY
# Add them all together # Add them all together
DDEFS += -DEFI_USE_OSC=TRUE -DFIRMWARE_ID=\"hellen72\" $(DEFAULT_ENGINE_TYPE) $(LED_CRITICAL_ERROR_BRAIN_PIN) $(LED_COMMUNICATION_BRAIN_PIN) DDEFS += -DEFI_USE_OSC=TRUE -DFIRMWARE_ID=\"hellenNA6\" $(DEFAULT_ENGINE_TYPE) $(LED_CRITICAL_ERROR_BRAIN_PIN) $(LED_COMMUNICATION_BRAIN_PIN)
# -DEFI_SOFTWARE_KNOCK=TRUE -DSTM32_ADC_USE_ADC3=TRUE # -DEFI_SOFTWARE_KNOCK=TRUE -DSTM32_ADC_USE_ADC3=TRUE
DDEFS += -DEFI_ICU_INPUTS=FALSE -DHAL_TRIGGER_USE_PAL=TRUE -DHAL_VSS_USE_PAL=TRUE DDEFS += -DEFI_ICU_INPUTS=FALSE -DHAL_TRIGGER_USE_PAL=TRUE -DHAL_VSS_USE_PAL=TRUE
# todo: is it broken? # todo: is it broken?

View File

@ -1,10 +1,10 @@
/** /**
* @file boards/hellen/hellen72/board_configuration.cpp * @file boards/hellen/hellen64_miataNA6_94/board_configuration.cpp
* *
* *
* @brief Configuration defaults for the Hellen72 board * @brief Configuration defaults for the hellen64_miataNA6_94 board
* *
* See https://rusefi.com/s/hellen72 * See https://rusefi.com/s/hellenNA6
* *
* @author andreika <prometheus.pcb@gmail.com> * @author andreika <prometheus.pcb@gmail.com>
* @author Andrey Belomutskiy, (c) 2012-2020 * @author Andrey Belomutskiy, (c) 2012-2020

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
export PROJECT_BOARD=hellen/hellen72 export PROJECT_BOARD=hellen/hellen64_miataNA6_94
export PROJECT_CPU=ARCH_STM32F4 export PROJECT_CPU=ARCH_STM32F4
export EXTRA_PARAMS="-DSHORT_BOARD_NAME=hellen72" export EXTRA_PARAMS="-DSHORT_BOARD_NAME=hellenNA6"
cd .. cd ..
bash ../common_make.sh bash ../common_make.sh