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: ARM toolchain installation Now we need compiler, linker and assembler (toolchain) for ARM Cortex Read more…

USB accelerometer sensor, tilt sensor

Nowadays everyone has accelerometer sensor in its own smartphone. It’s there for several reasons. First of all it’s used for detection of screen orientation relative to the gravity field. This is the sensor which gives your phone information when the screen should be switched from landscape mode to portrait. Beside this Read more…