steps towards fixing PAL inputs
This commit is contained in:
parent
d261c0f3e4
commit
2b49fc31ea
|
@ -24,7 +24,7 @@ jobs:
|
|||
- build-target: frankenso-pal
|
||||
efi-cpu: ARCH_STM32F4
|
||||
efi-board: st_stm32f4
|
||||
extra-params: -DHAL_TRIGGER_USE_PAL=TRUE -DHAL_USE_ICU=FALSE
|
||||
target-extra-params: -DHAL_TRIGGER_USE_PAL=TRUE -DHAL_USE_ICU=FALSE
|
||||
|
||||
- build-target: mre-f4
|
||||
efi-cpu: ARCH_STM32F4
|
||||
|
@ -49,16 +49,16 @@ jobs:
|
|||
- build-target: kinetis
|
||||
efi-cpu: kinetis
|
||||
efi-board: kinetis
|
||||
extra-extra-params: -DCPU_MKE16F512VLH16 -DCPU_MKE16F512VLH16_cm4 -D__USE_CMSI -DDEFAULT_ENGINE_TYPE=MINIMAL_PINS
|
||||
target-extra-params: -DCPU_MKE16F512VLH16 -DCPU_MKE16F512VLH16_cm4 -D__USE_CMSI -DDEFAULT_ENGINE_TYPE=MINIMAL_PINS
|
||||
extra-options: USE_FATFS=no USE_BOOTLOADER=no
|
||||
|
||||
# Debug vs. release configuration
|
||||
- build-type: debug
|
||||
extra-params: -DDUMMY
|
||||
type-extra-params: -DDUMMY
|
||||
build-debug-level-opt: -O0 -ggdb -g3
|
||||
|
||||
- build-type: release
|
||||
extra-params: -DEFI_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_TRACE=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE
|
||||
type-extra-params: -DEFI_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_TRACE=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE
|
||||
build-debug-level-opt: -O2 -ggdb -g3
|
||||
|
||||
exclude:
|
||||
|
@ -85,7 +85,7 @@ jobs:
|
|||
# Build the firmware!
|
||||
- name: Build Firmware
|
||||
working-directory: ./firmware/
|
||||
run: make -j4 PROJECT_BOARD=${{matrix.efi-board}} PROJECT_CPU=${{matrix.efi-cpu}} EXTRA_PARAMS="${{matrix.extra-params}} ${{matrix.extra-extra-params}}" DEBUG_LEVEL_OPT='${{matrix.build-debug-level-opt}}' ${{matrix.extra-options}}
|
||||
run: make -j4 PROJECT_BOARD=${{matrix.efi-board}} PROJECT_CPU=${{matrix.efi-cpu}} EXTRA_PARAMS="${{matrix.type-extra-params}} ${{matrix.target-extra-params}}" DEBUG_LEVEL_OPT='${{matrix.build-debug-level-opt}}' ${{matrix.extra-options}}
|
||||
|
||||
# The next two steps upload the bin and elf as build artifacts
|
||||
- name: Upload elf
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
cd ../../..
|
||||
|
||||
set EXTRA_PARAMS=-DDUMMY ^
|
||||
-DHAL_TRIGGER_USE_PAL=TRUE ^
|
||||
-DEFI_VEHICLE_SPEED=FALSE ^
|
||||
-DHAL_USE_ICU=FALSE ^
|
||||
-DEFI_LOGIC_ANALYZER=FALSE ^
|
||||
-DHAL_USE_ICU=FALSE ^
|
||||
-DDEFAULT_ENGINE_TYPE=MIATA_NA6_VAF ^
|
||||
-DFIRMWARE_ID=\"frankensoNA6\"
|
||||
|
||||
call config/boards/common_make.bat
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include "fl_stack.h"
|
||||
|
||||
#if EFI_ICU_INPUTS
|
||||
#if EFI_ICU_INPUTS && HAL_USE_ICU
|
||||
|
||||
#include "mpu_util.h"
|
||||
#include "eficonsole.h"
|
||||
|
|
Loading…
Reference in New Issue