Any way to program an STM32 with no proprietary software?
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?
Yes definitely. I’ve done it with Mbed back in the day. I’m sure Embassy and Probe-rs support it. Here’s a template I found in a couple of seconds:
github.com/justinlhudson/embassy-stm32-starter
GitHub - justinlhudson/embassy-stm32-starter: This repository is a learning project for STM32 microcontrollers and Rust. It demonstrates real-time embedded system capabilities using the Embassy async framework, with features like automatic MCU configuration, hardware abstraction, and single-command board switching.