From 3f3095e95600f52d2fdaf030b8ac9514d79c010c Mon Sep 17 00:00:00 2001 From: Davide Mor <davide.mor@skywarder.eu> Date: Thu, 24 Aug 2023 16:59:14 +0200 Subject: [PATCH] [gemini-gs] Added missing ethernet pin configurations --- .../stm32f767zi_gemini_gs/interfaces-impl/bsp.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/miosix/arch/cortexM7_stm32f7/stm32f767zi_gemini_gs/interfaces-impl/bsp.cpp b/miosix/arch/cortexM7_stm32f7/stm32f767zi_gemini_gs/interfaces-impl/bsp.cpp index 6be585e3..4cf937d9 100644 --- a/miosix/arch/cortexM7_stm32f7/stm32f767zi_gemini_gs/interfaces-impl/bsp.cpp +++ b/miosix/arch/cortexM7_stm32f7/stm32f767zi_gemini_gs/interfaces-impl/bsp.cpp @@ -275,6 +275,12 @@ void IRQbspInit() { radio2::dio1::mode(Mode::INPUT); radio2::dio3::mode(Mode::INPUT); + ethernet::cs::mode(Mode::OUTPUT); + ethernet::cs::high(); + ethernet::nrst::mode(Mode::OUTPUT); + ethernet::nrst::high(); + ethernet::intr::mode(Mode::INPUT); + DefaultConsole::instance().IRQset(intrusive_ref_ptr<Device>(new STM32Serial( defaultSerial, defaultSerialSpeed, STM32Serial::NOFLOWCTRL))); } -- GitLab