STM32 development entirely on Linux
Summary
The stlink project replaces vendor-specific Windows tools with free compile, flash and debug workflows for STM32 Discovery boards. The board uses an ARM Cortex-M3. The manufacturer did not support Linux natively at the time.
Ideas
- stlink talks to the integrated debug adapter over USB.
- GDB transfers programs and examines the controller.
- A Blink example checks the toolchain and hardware.
Insights
- Open tools free development boards from being tied to vendor IDEs.
- A minimal hardware test separates toolchain errors from application errors.
Recommendations
- Automate build, flash and test in one script.
- Keep a known working Blink build.
References
Links to the original source and the Web Archive open in a new tab.