I am new to STM32 and I think I need the STM32 Cube IDE to program this thing. I got a Nucleo board so I don’t think I need STLink.
HAL library is apparently BSD-3-clause so I got no issue with that, but I’d prefer to not run the Cube IDE.
Is there any open source toolchain to replace what Cube does?


Yeah, we played around with Embassy+Probe-rs for an STM32 board at $DAYJOB once and it was fairly straightforward. With the guidance of a colleague who had already done it before, it took 15 minutes to write a small program and flash it.