STM32_HSE_BYPASS where we need it (#4338)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
parent
cc3cbdabc0
commit
02ce0423bf
|
@ -39,9 +39,6 @@
|
|||
#undef EFI_CONSOLE_RX_BRAIN_PIN
|
||||
#define EFI_CONSOLE_RX_BRAIN_PIN Gpio::A10
|
||||
|
||||
#undef EFI_USE_OSC
|
||||
#define EFI_USE_OSC TRUE
|
||||
|
||||
#undef EFI_CAN_SUPPORT
|
||||
#define EFI_CAN_SUPPORT TRUE
|
||||
|
||||
|
|
|
@ -39,9 +39,6 @@
|
|||
#undef EFI_CONSOLE_RX_BRAIN_PIN
|
||||
#define EFI_CONSOLE_RX_BRAIN_PIN Gpio::A10
|
||||
|
||||
#undef EFI_USE_OSC
|
||||
#define EFI_USE_OSC TRUE
|
||||
|
||||
#undef EFI_CAN_SUPPORT
|
||||
#define EFI_CAN_SUPPORT TRUE
|
||||
|
||||
|
|
|
@ -11,6 +11,5 @@ DDEFS += -DLED_COMMUNICATION_BRAIN_PIN_MODE=INVERTED_OUTPUT
|
|||
|
||||
# We are running on Hellen-One hardware!
|
||||
DDEFS += -DHW_HELLEN=1
|
||||
DDEFS += -DEFI_USE_OSC=TRUE
|
||||
|
||||
DDEFS += -DTS_NO_SECONDARY=TRUE
|
||||
|
|
|
@ -28,7 +28,6 @@ DDEFS += -DEFI_CAN_SERIAL=TRUE
|
|||
|
||||
DDEFS += -DEFI_CJ125=FALSE -DBOARD_L9779_COUNT=0 -DEFI_HD44780_LCD=FALSE -DEFI_LCD=FALSE
|
||||
|
||||
DDEFS += -DEFI_USE_OSC=TRUE
|
||||
DDEFS += -DFIRMWARE_ID=\"microRusEFI\"
|
||||
DDEFS += -DEFI_SOFTWARE_KNOCK=TRUE -DSTM32_ADC_USE_ADC3=TRUE
|
||||
DDEFS += $(VAR_DEF_ENGINE_TYPE)
|
||||
|
|
|
@ -5,8 +5,11 @@
|
|||
SCRIPT_NAME="compile_nucleo_f767.sh"
|
||||
echo "Entering $SCRIPT_NAME"
|
||||
|
||||
# Nucleo boards use MCO signal from St-Link and NOT oscillator - these need STM32_HSE_BYPASS
|
||||
|
||||
export EXTRA_PARAMS="-DDUMMY -DSTM32F767xx \
|
||||
-DEFI_INJECTOR_PIN3=Gpio::Unassigned \
|
||||
-DSTM32_HSE_BYPASS=TRUE \
|
||||
-DFIRMWARE_ID=\\\"nucleo767\\\" \
|
||||
-DEFI_COMMUNICATION_PIN=Gpio::B7 \
|
||||
-DLED_CRITICAL_ERROR_BRAIN_PIN=Gpio::B14 \
|
||||
|
|
|
@ -8,7 +8,6 @@ export EXTRA_PARAMS="-DDUMMY -DSTM32F767xx \
|
|||
-DEFI_COMMUNICATION_PIN=Gpio::B7 \
|
||||
-DLED_CRITICAL_ERROR_BRAIN_PIN=Gpio::B14 \
|
||||
-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"
|
||||
|
||||
# Do not forget to comment out following line if looking to debug!
|
||||
|
|
|
@ -5,8 +5,11 @@
|
|||
SCRIPT_NAME="compile_nucleo_h743.sh"
|
||||
echo "Entering $SCRIPT_NAME"
|
||||
|
||||
# Nucleo boards use MCO signal from St-Link and NOT oscillator - these need STM32_HSE_BYPASS
|
||||
|
||||
export EXTRA_PARAMS="-DDUMMY \
|
||||
-DEFI_INJECTOR_PIN3=Gpio::Unassigned \
|
||||
-DSTM32_HSE_BYPASS=TRUE \
|
||||
-DFIRMWARE_ID=\\\"nucleoH743\\\" \
|
||||
-DEFI_COMMUNICATION_PIN=Gpio::B7 \
|
||||
-DLED_CRITICAL_ERROR_BRAIN_PIN=Gpio::B14"
|
||||
|
|
|
@ -8,7 +8,6 @@ ifeq ($(PROJECT_CPU),ARCH_STM32F4)
|
|||
IS_STM32F429 = yes
|
||||
endif
|
||||
|
||||
DDEFS += -DEFI_USE_OSC=TRUE
|
||||
# see also openblt/board.mk STATUS_LED
|
||||
DDEFS += -DLED_CRITICAL_ERROR_BRAIN_PIN=Gpio::E3
|
||||
DDEFS += -DFIRMWARE_ID=\"proteus\"
|
||||
|
|
|
@ -54,12 +54,6 @@
|
|||
|
||||
#define STM32_LSEDRV (3U << 3U)
|
||||
|
||||
// Nucleo boards use MCO signal from St-Link and NOT oscillator - these need STM32_HSE_BYPASS
|
||||
// if you do not have Sl-Link and MCO on your board, you need EFI_USE_OSC
|
||||
|
||||
#ifndef EFI_USE_OSC
|
||||
#define STM32_HSE_BYPASS
|
||||
#endif /* EFI_USE_OSC */
|
||||
|
||||
/*
|
||||
* Board voltages.
|
||||
|
|
|
@ -66,13 +66,6 @@
|
|||
#define STM32_HSECLK 8000000U
|
||||
#endif
|
||||
|
||||
// Nucleo boards use MCO signal from St-Link and NOT oscillator - these need STM32_HSE_BYPASS
|
||||
// if you do not have Sl-Link and MCO on your board, you need EFI_USE_OSC
|
||||
|
||||
#ifndef EFI_USE_OSC
|
||||
#define STM32_HSE_BYPASS
|
||||
#endif /* EFI_USE_OSC */
|
||||
|
||||
/*
|
||||
* Board voltages.
|
||||
* Required for performance limits calculation.
|
||||
|
|
Loading…
Reference in New Issue