Category Archives: STM32F4
Embedded software testing can be complicated, because (unit) test harness is often unavailable on a native system. Consequently software is tested on the x86 system due to convenience. However, the difference between the test- and the target system opens a … Continue reading →
UPDATE: Due to Gitlab/Gitlab-CI changes, the script below does not work anymore. I’ll update it in the following months. In the meanwhile, use Gitlab Omnibus package on my Ubuntu 14.04 virtual image with ARM toolchine. The Omnibus package includes both, … Continue reading →
In this tutorial I update my previous post on configuring in-circuit debugger for STM32F4 using the following open source tools: Eclipse Luna (4.4.1); GNU ARM Eclipse Plug-ins; GCC ARM Embedded Toolchain; My project wizard.
Villains sometimes misbehave and cause troubles. Luckily, Batman and Robin are constantly on the move. They monitor villains’ behaviour and act, if necessary. Our code for embedded systems can misbehave, too. Even though it builds without errors and passes testing. … Continue reading →
Ok … Ok … OK! Here’s the deal … I prepared a VirtualBox image (2.5 GB!), so you can test drive the whole thing with open source tools. It features: Ubuntu 14.04 LTS virtual environment; GNU ARM Toolchain; Project Wizard … Continue reading →
I know about a project wizard that can create a C/C++11 project template for STM32F407 device and GCC toolchain in a snap of a finger. Furthermore, he delivers breathtaking magic by supporting mbed SDK including mbed-RTOS, FreeRTOS and SafeRTOS! No … Continue reading →
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.