Browsing All posts tagged under »arm-none-eabi«

libopencm3 on STM32 Nucleo board

April 19, 2015


This article is part of a series about developing for┬áSTM32 micro-controllers on Linux. A few days ago I talked about libopencm3, an open source library to access Cortex-M functionalities and peripherals of many micro-controllers, especially STM32 variants. I wanted to use this library to develop on a Nucleo board that I have in my hand, […]

STM32-P152 development with Eclipse on Linux

February 23, 2014


In this post I show how to use Eclipse to create a simple "blink" program, flash it on a STM32-P152 board and attach to it with a debugger. This has been executed with the help of Eclipse plugins, GCC ARM Embedded toolchain, OpenOCD, C232HM FTDI JTAG cable. This approach can be adapted to many Cortex-M targets and many JTAG adapters.

Debugging the STM32-P152 board with GDB

September 15, 2013


This post shows how to debug a program running on the Olimex STM32-P152. The setup consists of free software such as GCC, GDB and OpenOCD, and FTDI USB cables.

Flashing the STM32-P152 board with OpenOCD

August 14, 2013


This post shows how to write the embedded flash of the Olimex STM32-P152 board with a custom program, using free software and FTDI USB cables.

Using CodeSourcery bare metal toolchain for Cortex-M3

September 3, 2011


Using the CodeSourcery arm-none-eabi toolchain to compile a minimal "Hello World" example for Stellaris lm3s6965 microcontroller. The microcontroller is emulated through QEMU and the output is written to a serial port.

Using Newlib in ARM bare metal programs

December 16, 2010


Implementing a minimal standard C library for embedded ARM target using Newlib and the CodeSourcery toolchain, and emulating the execution with QEMU.