diff --git a/src/modm/board/nucleo_f103rb/board.hpp b/src/modm/board/nucleo_f103rb/board.hpp index cd001eb8bc..787be72758 100644 --- a/src/modm/board/nucleo_f103rb/board.hpp +++ b/src/modm/board/nucleo_f103rb/board.hpp @@ -120,6 +120,9 @@ initialize() stlink::Uart::initialize(); Button::setInput(); + + // Enable PB4 as GPIO + AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE; } /// @}