Browsing All posts tagged under »gnu«

Migrated from Debian 32bit to 64bit through dual boot

May 16, 2016

1

The desktop where I do most of my stuff is a Debian testing 32bit. Recently Google Chrome team declared the end of support of 32bit Linux distributions, and I decided to take the occasion to migrate towards a 64bit Debian. I read some guides around, some old, some with big warnings and disclaimers, some interesting. Ultimately I […]

Inline assembly in GCC [linux-insides]

May 2, 2016

0

The news site lwn just posted a guide on GCC inline assembly. The guide is written in plain colloquial language and is a great complement to GCC documentation on the matter, which is more of a reference of the various functionalities. I found that the extended form of inline assembly is a powerful way to use the machine special […]

libopencm3 for the license-sensitive Cortex-M developer

April 12, 2015

1

I was thinking of starting a new open source project that should run on STM32 boards, and I realized that it would need a lot of low level code that accesses many different peripherals. One of the first libraries that comes to mind, and I bet it’s the same for many Cortex-M developers, is ARM CMSIS. ARM […]

Eric S. Raymond: Time, Clock, and Calendar Programming In C

October 9, 2014

0

esr (of The Cathedral & the Bazaar fame) has just written a comprehensive guide on the many functions, structures and styles for dealing with time in C, mostly for UNIX, Linux and POSIX operating systems. It’s especially direct in marking obsolete functionalities, stuff that shouldn’t be used, pitfalls and recommendations. I’m sure he struggled with these APIs […]

Free Eclipse ARM GCC OpenOCD Toolchain for Windows | Ångstroms And Algorithms

February 13, 2014

0

This new blog called Ångstroms And Algorithms has a complete tutorial on developing and debugging for ARM microcontrollers on Windows. In particular he’s using a STM32-E407 board, an ARM-USB-TINY-H JTAG adapter, ARM GCC toolchain and Eclipse. The tutorial is divided in 4 parts: Free Eclipse ARM GCC OpenOCD Toolchain for Windows Introduction ARM GCC Eclipse IDE GDB / OpenOCD Debugger Personally I am not […]

Analyzing C source files dependencies in a program

November 24, 2013

12

This post shows an approach to draw graphs representing the dependency of C source files and modules throughout a complete program. The implementation of this method uses the functionalities of GNU ld to create a cross reference table, then NetworkX to create a graph and Graphviz to visualize it. The approach is applied to a simple example and a real embedded application (U-Boot).

Compile Linux kernel 3.2 for ARM and emulate with QEMU

March 31, 2012

133

This is a tutorial to: 1. Get Linux kernel 3.2 source code 3. Configure and compile for Versatile Express ARM Cortex-A9 platform 4. Prepare and create a ramdisk using initramfs schema 5. Emulate kernel boot and ramdisk execution using QEMU