Skip to content
Menu
Klein Embedded
  • About
Klein Embedded

Category: Tutorial

April 27, 2022August 28, 2022

C++ and STM32CubeMX code generation

I spend most of my time writing C code for STM32 microcontrollers. I have recently considered writing more code in C++, mainly for easier implementation of various design patterns and especially for using abstract classes for dependency injection when writing testable modules/classes. However, when using STM32CubeMX to generate hardware initialization code, there is no option…

Read More
March 29, 2022September 1, 2022

Unit testing in STM32CubeIDE with GoogleTest

Unit testing has become an essential part of developing high-quality, reliable and maintainable software, but is not as commonplace in the firmware industry as it ought to be. If you are tired of being slowed down by the “build-flash-debug” style of development, waiting for hardware or having to share hardware with several other coworkers, then off-target unit testing and test-driven development is for you!

Read More

Subscribe to the newsletter

Get notified by email when a new blog post is published.

Check your inbox or spam folder to confirm your subscription.

Recent Posts

  • STM32 without CubeIDE (Part 4): CMake, FPU and STM32 libraries
  • Adding right-click context menu items in Windows 10
  • CI/CD with Jenkins and Docker
  • STM32 without CubeIDE (Part 3): The C Standard Library and printf()
  • Understanding the (Embedded) Linux boot process

Recent Comments

  1. Kristian Klein-Wengel on Developing and publishing a full-fledged Python package
  2. url on Developing and publishing a full-fledged Python package
  3. url on Developing and publishing a full-fledged Python package
  4. Fernando on STM32 without CubeIDE (Part 4): CMake, FPU and STM32 libraries
  5. john on STM32 without CubeIDE (Part 4): CMake, FPU and STM32 libraries

Archives

  • October 2025
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021

Categories

  • C++
  • DevOps
  • DSP
  • Electronics
  • Embedded C
  • Embedded Linux
  • Firmware
  • Project
  • Python
  • Software Design
  • Testing
  • Tutorial
  • Uncategorized
©2026 Klein Embedded