Tag Archives: Software Development

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 , , , , , , , | 7 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 – 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

STM32F4 – Code Optimization

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

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

STM32F4 – 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

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

STM32F4 – Hello World!

In this tutorial I describe how to build and deploy a simple “Hello World!” application on the popular ARM-based STM32F4 Discovery board using open source tools (sneak peak, here).

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