Tag Archives: Embedded Systems

STM32F4 – Unit Testing with CppUTest or GoogleTest [Part I.]

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

Posted in Embedded Systems, STM32F4 | Tagged , , , , , , , | 9 Comments

STM32F4 – Deploy Git MGMT System in under 10 Minutes

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

Posted in Embedded Systems, STM32F4 | Tagged , , , , , , , , | Leave a comment

STM32F4 – In-circuit Debugging [Revisited]

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.

Posted in Embedded Systems, STM32F4 | Tagged , , , , | 7 Comments

STM32F4 – On Hunting Bugs with a Profiler

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

Posted in Embedded Systems, STM32F4 | Tagged , , , | 2 Comments

STM32F4 – Looking for a Virtual Image with ARM Toolchain?

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

Posted in Embedded Systems, STM32F4 | Tagged , , , , , , , , | 2 Comments

STM32F4 – Behold the Project Wizard!

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

Posted in Embedded Systems, STM32F4 | Tagged , , , , , , , , , , | 1 Comment

STM32F4 – mbed Your Code: Zero Switching Costs When Changing ARM Platforms

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

Posted in Embedded Systems, STM32F4 | Tagged , , , , , | 2 Comments