How to configure Ubuntu to program STM32
OpenOCD installation The Open On-Chip Debugger (OpenOCD http://openocd.org/) aims to provide debugging, in-system programming and boundary-scan testing for embedded target devices. If you using Ubuntu or any Debian like OS, OpenOCD could be installed by running following command: sudo apt-get install openocd ARM toolchain installation Now we need compiler, linker and assembler (toolchain) for ARM Cortex architecture (https://launchpad.net/gcc-arm-embedded). sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa sudo apt-get update sudo apt-get install gcc-arm-embedded Eclipse First install Eclipse IDE (https://eclipse.org/). After installation run Eclipse Read more