Thank you Jean! You are right, I forgot to disable CONFIG_STM32_USART, in my tests I was doing it.
BR, Alan On Tue, Jan 20, 2026 at 1:21 PM Jean Thomas <[email protected]> wrote: > Hi Alan, > > > So, even following these steps you found the issue? > Yes I followed the tutorial very carefully, albeit on a slightly different > STM32F4 board. > > > Hmm, probably you forgot this step: > > > > Device Drivers ---> > > [ ] Serial Driver Support ---- (disable serial driver) > I followed this step, still had the issue. stm32_serial.c is compiled when > CONFIG_STM32_USART=y. Maybe that the key difference with your > stm32f4discovery your were using in the tutorial? > > CONFIG_STM32_USART=n fixes the issue... but what about applications where > you use semihosting for your console because you run out of UARTs (and for > which you'd like CONFIG_STM32_USART=y, CONFIG_STM32_SERIALDRIVER=y, etc.)? > This is a use case I frequently have. > > > Could you please submit it as a PR in our github? > Will do! > > Thanks, > Jean
