From 5b53e78cff2d3115254340bfc8863a7b6c95cd5d Mon Sep 17 00:00:00 2001 From: Andrey Date: Sun, 16 Oct 2022 22:42:17 -0400 Subject: [PATCH] Enable ethernet on one or both nucleo boards #4665 --- firmware/config/boards/nucleo_h743/board.mk | 4 ++++ .../config/boards/nucleo_h743/compile_stm32h743_nucleo.sh | 2 ++ 2 files changed, 6 insertions(+) diff --git a/firmware/config/boards/nucleo_h743/board.mk b/firmware/config/boards/nucleo_h743/board.mk index c76a19b839..ba655ba6dc 100644 --- a/firmware/config/boards/nucleo_h743/board.mk +++ b/firmware/config/boards/nucleo_h743/board.mk @@ -5,6 +5,10 @@ DDEFS = -DTS_NO_PRIMARY=0 \ -DEFI_CONSOLE_TX_BRAIN_PIN=Gpio::D8 \ -DEFI_CONSOLE_RX_BRAIN_PIN=Gpio::D9 \ +DDEFS += -DEFI_FILE_LOGGING=FALSE + +LWIP = yes +DDEFS += -DEFI_ETHERNET=TRUE # Shared variables ALLCPPSRC += $(PROJECT_DIR)/config/boards/nucleo_h743/board_configuration.cpp diff --git a/firmware/config/boards/nucleo_h743/compile_stm32h743_nucleo.sh b/firmware/config/boards/nucleo_h743/compile_stm32h743_nucleo.sh index cfc6679dc2..6ece54e31d 100755 --- a/firmware/config/boards/nucleo_h743/compile_stm32h743_nucleo.sh +++ b/firmware/config/boards/nucleo_h743/compile_stm32h743_nucleo.sh @@ -7,6 +7,8 @@ echo "Entering $SCRIPT_NAME" # Nucleo boards use MCO signal from St-Link and NOT oscillator - these need STM32_HSE_BYPASS +export USE_FATFS=no + export EXTRA_PARAMS="-DDUMMY \ -DEFI_INJECTOR_PIN3=Gpio::Unassigned \ -DSTM32_HSE_BYPASS=TRUE \