atlas build stub (#3065)

* add atlas configs

* script

* prepend

* s

* stubs

* apparently board.mk can't set cpu

* s
This commit is contained in:
Matthew Kennedy 2021-07-25 22:04:58 -07:00 committed by GitHub
parent 4042013edb
commit ec4ffa6c3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 42 additions and 2 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, proteus_legacy, 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, atlas]
include:
# Board configurations
@ -115,6 +115,10 @@ jobs:
folder: subaru_eg33
ini-file: rusefi_subaru_eg33_f7.ini
- build-target: atlas
folder: atlas
ini-file: rusefi_atlas.ini
steps:
- uses: actions/checkout@v1
with:

View File

@ -0,0 +1,21 @@
# List of all the board related files.
BOARDCPPSRC = $(PROJECT_DIR)/config/boards/atlas/board_configuration.cpp
BOARDINC = $(PROJECT_DIR)/config/boards/atlas
#DDEFS += -DLED_CRITICAL_ERROR_BRAIN_PIN=GPIOE_3
DDEFS += -DFIRMWARE_ID=\"atlas\" -DDEFAULT_ENGINE_TYPE=MINIMAL_PINS
# This stuff doesn't work on H7 yet
# DDEFS += -DSTM32_ADC_USE_ADC3=TRUE
# DEFS += -DEFI_SOFTWARE_KNOCK=TRUE
# disable hardware serial ports on H7
DDEFS += -DTS_NO_PRIMARY -DTS_NO_SECONDARY
# We are running on Proteus hardware!
DDEFS += -DHW_ATLAS=1
# Shared variables
ALLCPPSRC += $(BOARDCPPSRC)
ALLINC += $(BOARDINC)

View File

@ -0,0 +1,10 @@
#include "pch.h"
void setPinConfigurationOverrides(void) {
}
void setSerialConfigurationOverrides(void) {
}
void setSdCardConfigurationOverrides(void) {
}

View File

@ -0,0 +1,5 @@
#!/bin/bash
export PROJECT_BOARD=atlas
export PROJECT_CPU = ARCH_STM32H7
bash ../common_make.sh

View File

View File

@ -16,7 +16,7 @@ bash gen_config_default.sh
# firmware\tunerstudio\generated and firmware\controllers\generated folders
# maybe one day we will automate but not yet
#
for BOARD in "f429-discovery f429-discovery" "hellen/hellen128 hellen128 rusefi_hellen128mercedes.ini" "hellen/hellen121vag hellen121vag" "hellen/hellen121nissan hellen121nissan" "hellen/hellen72 hellen72" "hellen/hellen64_miataNA6_94 hellenNA6" "microrusefi mre_f7" "microrusefi mre_f4" "frankenso frankenso_na6" "prometheus prometheus_469" "prometheus prometheus_405" "proteus proteus_f7" "proteus proteus_f4"; do
for BOARD in "f429-discovery f429-discovery" "hellen/hellen128 hellen128 rusefi_hellen128mercedes.ini" "hellen/hellen121vag hellen121vag" "hellen/hellen121nissan hellen121nissan" "hellen/hellen72 hellen72" "hellen/hellen64_miataNA6_94 hellenNA6" "microrusefi mre_f7" "microrusefi mre_f4" "frankenso frankenso_na6" "prometheus prometheus_469" "prometheus prometheus_405" "proteus proteus_f7" "proteus proteus_f4" "atlas atlas"; do
BOARD_NAME=$(echo "$BOARD" | cut -d " " -f 1)
BOARD_SHORT_NAME=$(echo "$BOARD" | cut -d " " -f 2)
INI=$(echo "$BOARD" | cut -d " " -f 3)