Browsing All posts tagged under »linker script«

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.

ARM926 interrupts in QEMU

April 15, 2012


In this post I prepared what I think is the simplest example on how to manage interrupts for the widespread ARM926 core. From this example one can expand the complexity of the interrupt management at will. I’m going to test the functionality with QEMU, emulating the Versatile Platform Baseboard. I based this example on my […]