2020-09-12 06:54:40 -07:00
|
|
|
#!/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"
|
|
|
|
|
2020-09-27 02:49:25 -07:00
|
|
|
export BUILDDIR="build"
|
2020-09-12 06:54:40 -07:00
|
|
|
export PROJECT_BOARD="hellen/cypress"
|
|
|
|
export PROJECT_CPU="cypress"
|
|
|
|
export USE_FATFS="no"
|
|
|
|
export USE_BOOTLOADER="no"
|
|
|
|
export DEBUG_LEVEL_OPT="-O2"
|
|
|
|
|
2020-09-28 15:25:15 -07:00
|
|
|
bash ../common_make.sh
|