cypress into GHA #1819

This commit is contained in:
rusefi 2020-09-27 06:27:50 -04:00
parent 1d99e908a1
commit 5d3ded340b
3 changed files with 23 additions and 1 deletions

View File

@ -17,7 +17,7 @@ jobs:
include:
# Board configurations
- build-target: cypress
folder: hellen/cypress
folder: hellen
- build-target: frankenso_na6
folder: frankenso

View File

@ -0,0 +1,3 @@
@echo off
bash compile_cypress.sh

View File

@ -0,0 +1,19 @@
#!/bin/bash
echo "Compiling for Cypress FM4 S6E2CxAH"
# TODO: somehow this -DDUMMY is helping us to not mess up the parameters, why?!
# https://github.com/rusefi/rusefi/issues/684
export EXTRA_PARAMS="-DDUMMY -D__USE_CMSIS\
-DEFI_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_CHECKS=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE\
-DDEFAULT_ENGINE_TYPE=MINIMAL_PINS"
export BUILDDIR="build"
export PROJECT_BOARD="hellen/cypress"
export PROJECT_CPU="cypress"
export USE_FATFS="no"
export USE_BOOTLOADER="no"
export DEBUG_LEVEL_OPT="-O2"
cd ../../..
bash ./config/boards/common_make.sh