Monthly Archives: July 2014
What would general Ackbar say if he saw you using a firmware code directly in an user application? It’s a trap, indeed! Just compare the device specific details of this and this main functions. The former depends on the firmware … Continue reading →
The use of C++ language typically increases memory footprint (compared to C). Given the fact embedded systems usually have limited computing/memory resources, this is a very bad news! Luckily, we can use various optimizations to reduce space size or improve … Continue reading →
In this tutorial I describe how to build your own GNU ARM cross-toolchain from scratch. I use the latest source available: GCC 4.9.1 4.9.2; embedded C libraries: newlib 2.1 and size optimized newlib-nano 2.1; binutils 2.24 2.25; GDB 7.7 I also … Continue reading →
In this tutorial I demonstrate that object-oriented programming can be used with embedded system using open source tools and the C++ language. Furthermore, I demonstrate the use of the STL library with C++11 features. Sneak peak, here, here and here.
In this tutorial I describe how to build and deploy the FreeRTOS embedded operating system on STM32F4 Discovery board under 10 seconds. So why would you use operating system on such a small embedded system in the first place? Typically, … Continue reading →
In this tutorial I describe how to configure STM32F4 in-circuit debugging environment using open source tools like GDB or Eclipse. This tutorial is based on the Template Project with Generic Makefile.
In this tutorial I provide a template project based on the Hello world! project with a generic Makefile that is easily-customizable. This reduces the overhead to create the project environment, because you may change, add or remove source files without … Continue reading →