RED FATAL/CRITICAL LED is a bit dim when it should be OFF
fix https://github.com/rusefi/hw_microRusEfi/issues/157
This commit is contained in:
parent
eae24e82d1
commit
a955e96b62
|
@ -6,7 +6,7 @@ set PROJECT_BOARD=
|
|||
set PROJECT_CPU=
|
||||
set USE_BOOTLOADER=
|
||||
set DEFAULT_ENGINE_TYPE=
|
||||
set EFI_FATAL_ERROR_PIN=
|
||||
set LED_CRITICAL_ERROR_BRAIN_PIN=
|
||||
set BUILDDIR=
|
||||
set DEBUG_LEVEL_OPT=
|
||||
set USE_FATFS=
|
||||
|
|
|
@ -7,7 +7,7 @@ set PROJECT_BOARD=microrusefi
|
|||
set PROJECT_CPU=ARCH_STM32F7
|
||||
|
||||
set DEFAULT_ENGINE_TYPE = -DDEFAULT_ENGINE_TYPE=BMW_M73_F
|
||||
set EFI_FATAL_ERROR_PIN = -DEFI_FATAL_ERROR_PIN=GPIOB_14
|
||||
set LED_CRITICAL_ERROR_BRAIN_PIN = -DLED_CRITICAL_ERROR_BRAIN_PIN=GPIOB_14
|
||||
|
||||
set EXTRA_PARAMS=-DDUMMY ^
|
||||
-DEFI_COMMUNICATION_PIN=GPIOB_7
|
||||
|
|
|
@ -25,8 +25,8 @@ ifeq ($(DEFAULT_ENGINE_TYPE),)
|
|||
DEFAULT_ENGINE_TYPE = -DDEFAULT_ENGINE_TYPE=MICRO_RUS_EFI
|
||||
endif
|
||||
|
||||
ifeq ($(EFI_FATAL_ERROR_PIN),)
|
||||
EFI_FATAL_ERROR_PIN = -DEFI_FATAL_ERROR_PIN=GPIOE_3
|
||||
ifeq ($(LED_CRITICAL_ERROR_BRAIN_PIN),)
|
||||
LED_CRITICAL_ERROR_BRAIN_PIN = -DLED_CRITICAL_ERROR_BRAIN_PIN=GPIOE_3
|
||||
endif
|
||||
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ set EXTRA_PARAMS=-DDUMMY -DSTM32F746xx ^
|
|||
-DEFI_INJECTOR_PIN3=GPIO_UNASSIGNED ^
|
||||
-DEFI_COMMUNICATION_PIN=GPIOB_7 ^
|
||||
-DFIRMWARE_ID=\"nucleo746\" ^
|
||||
-DEFI_FATAL_ERROR_PIN=GPIOB_14 ^
|
||||
-DLED_CRITICAL_ERROR_BRAIN_PIN=GPIOB_14 ^
|
||||
-DEFI_TOOTH_LOGGER=FALSE ^
|
||||
-DRAM_UNUSED_SIZE=10 ^
|
||||
-DSTATUS_LOGGING_BUFFER_SIZE=1400 ^
|
||||
|
|
|
@ -13,7 +13,7 @@ set EXTRA_PARAMS=-DDUMMY -DSTM32F767xx ^
|
|||
-DFIRMWARE_ID=\"nucleo767\" ^
|
||||
-DEFI_COMMUNICATION_PIN=GPIOB_7 ^
|
||||
-DSTATUS_LOGGING_BUFFER_SIZE=1400 ^
|
||||
-DEFI_FATAL_ERROR_PIN=GPIOB_14 ^
|
||||
-DLED_CRITICAL_ERROR_BRAIN_PIN=GPIOB_14 ^
|
||||
-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
|
||||
set DEBUG_LEVEL_OPT="-O2"
|
||||
|
|
|
@ -9,7 +9,7 @@ set EXTRA_PARAMS=-DDUMMY -DSTM32F767xx ^
|
|||
-DEFI_INJECTOR_PIN3=GPIO_UNASSIGNED ^
|
||||
-DFIRMWARE_ID=\"board767\" ^
|
||||
-DEFI_COMMUNICATION_PIN=GPIOB_7 ^
|
||||
-DEFI_FATAL_ERROR_PIN=GPIOB_14 ^
|
||||
-DLED_CRITICAL_ERROR_BRAIN_PIN=GPIOB_14 ^
|
||||
-DEFI_ENABLE_ASSERTS=FALSE ^
|
||||
-DEFI_USE_OSC=TRUE ^
|
||||
-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
|
||||
|
|
|
@ -22,7 +22,7 @@ else
|
|||
endif
|
||||
|
||||
# Override DEFAULT_ENGINE_TYPE
|
||||
DDEFS += $(MCU_DEFS) -DEFI_USE_OSC=TRUE -DEFI_FATAL_ERROR_PIN=GPIOE_3 -DFIRMWARE_ID=\"proteus\" -DDEFAULT_ENGINE_TYPE=PROTEUS -DSTM32_ADC_USE_ADC3=TRUE -DEFI_INCLUDE_ENGINE_PRESETS=FALSE -DEFI_ICU_INPUTS=FALSE -DHAL_TRIGGER_USE_PAL=TRUE -DEFI_VEHICLE_SPEED=FALSE -DEFI_LOGIC_ANALYZER=FALSE
|
||||
DDEFS += $(MCU_DEFS) -DEFI_USE_OSC=TRUE -DLED_CRITICAL_ERROR_BRAIN_PIN=GPIOE_3 -DFIRMWARE_ID=\"proteus\" -DDEFAULT_ENGINE_TYPE=PROTEUS -DSTM32_ADC_USE_ADC3=TRUE -DEFI_INCLUDE_ENGINE_PRESETS=FALSE -DEFI_ICU_INPUTS=FALSE -DHAL_TRIGGER_USE_PAL=TRUE -DEFI_VEHICLE_SPEED=FALSE -DEFI_LOGIC_ANALYZER=FALSE
|
||||
|
||||
# Proteus <=v0.2 needs ADC hack - vbatt is on ADC3
|
||||
ifeq ($(PROTEUS_LEGACY),TRUE)
|
||||
|
|
|
@ -25,4 +25,4 @@ ifeq ($(DEFAULT_ENGINE_TYPE),)
|
|||
endif
|
||||
|
||||
# Add them all together
|
||||
DDEFS += $(MCU_DEFS) -DEFI_USE_OSC=TRUE -DEFI_FATAL_ERROR_PIN=GPIOE_3 -DFIRMWARE_ID=\"skeleton\" $(DEFAULT_ENGINE_TYPE)
|
||||
DDEFS += $(MCU_DEFS) -DEFI_USE_OSC=TRUE -DLED_CRITICAL_ERROR_BRAIN_PIN=GPIOE_3 -DFIRMWARE_ID=\"skeleton\" $(DEFAULT_ENGINE_TYPE)
|
||||
|
|
Loading…
Reference in New Issue