C++ Game on STM32F4

Recently I spoke about cross platform C++ development and provided an example project to help folks get started. At the other end of the scale, I introduce a C++ game for STM32F4 target. Specifically, I demonstrate how to write a simple game for the STM32F429I-DISC1 board. Most of the same principles apply when targeting embedded […]

Read More

CMake and GNU Multiple Precision Arithmetic Library on ARM Cortex M4

For some recent prototyping work, I needed access to an arbitrary precision arithmetic library that would run on ARM. Specifically, I was using an STM32F4 Discovery Board (STM32F429I-DISC1) and wanted to try out the GNU MP Bignum Library on ARM Cortex M4. The following steps and simple project I put together shows how to cross […]

Read More

Cross platform builds, thy name is CMake

When it comes to building cross platform C++ applications, I have had pretty good experience with CMake. Below shows the general steps  in building your CMake structured app, once you have CMakeLists.txt defined. mkdir build cd build cmake ../ make or nmake What may change are options passed to CMake  such as -DBOOST_ROOT=”/usr/include/boost” or -DCMAKE_BUILD_TYPE=Debug […]

Read More